diff options
Diffstat (limited to 'components/script/dom/webidls/Crypto.webidl')
-rw-r--r-- | components/script/dom/webidls/Crypto.webidl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/Crypto.webidl b/components/script/dom/webidls/Crypto.webidl index 094b427996b..8a92d425d89 100644 --- a/components/script/dom/webidls/Crypto.webidl +++ b/components/script/dom/webidls/Crypto.webidl @@ -7,13 +7,13 @@ * */ -[NoInterfaceObject, Exposed=(Window,Worker)] -interface GlobalCrypto { +[Exposed=(Window,Worker)] +interface mixin GlobalCrypto { readonly attribute Crypto crypto; }; -Window implements GlobalCrypto; -WorkerGlobalScope implements GlobalCrypto; +Window includes GlobalCrypto; +WorkerGlobalScope includes GlobalCrypto; [Exposed=(Window,Worker)] interface Crypto { |