mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Migrate to IDL mixin syntax
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user