Last active
August 29, 2017 13:54
-
-
Save tobie/999f7d5bcc3a7767f75945ad683162bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[NoInterfaceObject, Exposed=(Window,Worker)] // seems redundant | |
interface GlobalCrypto { | |
[Throws] readonly attribute Crypto crypto; | |
}; | |
Window implements GlobalCrypto; | |
WorkerGlobalScope implements GlobalCrypto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mixin GlobalCrypto { | |
[Throws] readonly attribute Crypto crypto; | |
}; | |
Window includes GlobalCrypto; // syntax isn't agreed upon yet | |
WorkerGlobalScope includes GlobalCrypto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
partial Window { | |
[Throws] readonly attribute Crypto crypto; | |
}; | |
partial WorkerGlobalScope { | |
[Throws] readonly attribute Crypto crypto; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment