[Bug 25390] Use [Exposed] in IDL

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25390

--- Comment #10 from Anne <annevk@annevk.nl> ---
Here is an updated version of comment 0 to make this easier for the WG:

[NoInterfaceObject]
interface GlobalCrypto {
  readonly attribute Crypto crypto;
};
Window implements GlobalCrypto;
WorkerGlobalScope implements GlobalCrypto;

[Exposed=(Window,Worker)]
interface Crypto {
  readonly attribute SubtleCrypto subtle;
  ArrayBufferView getRandomValues(ArrayBufferView array);
};

[Exposed=(Window,Worker)]
interface SubtleCrypto {
  ...
};

[Exposed=(Window,Worker)]
interface CryptoKey {
  ...
};

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 14 October 2014 12:12:51 UTC