File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -806,15 +806,15 @@ <h2>Crypto interface</h2>
806806 cryptographically strong pseudo-random number generator seeded with truly random values.
807807 </p>
808808 <pre class=idl>
809- partial interface mixin WindowOrWorkerGlobalScope {
809+ partial interface mixin UniversalGlobalScope {
810810 [SameObject] readonly attribute Crypto crypto;
811811};
812812
813813[Exposed=*]
814814interface Crypto {
815- [SecureContext] readonly attribute SubtleCrypto subtle;
815+ [Exposed=(Window,Worker), SecureContext] readonly attribute SubtleCrypto subtle;
816816 ArrayBufferView getRandomValues(ArrayBufferView array);
817- [SecureContext] DOMString randomUUID();
817+ [Exposed=(Window,Worker), SecureContext] DOMString randomUUID();
818818};
819819 </pre>
820820
You can’t perform that action at this time.
0 commit comments