Index: Source/modules/crypto/WorkerContextCrypto.idl |
diff --git a/Source/modules/crypto/DOMWindowCrypto.idl b/Source/modules/crypto/WorkerContextCrypto.idl |
similarity index 92% |
copy from Source/modules/crypto/DOMWindowCrypto.idl |
copy to Source/modules/crypto/WorkerContextCrypto.idl |
index 021eeaf8f12f0dc796d8b619744171523a3a031e..75ecdce48fc669c01ab42ae6e85f96b253b0baec 100644 |
--- a/Source/modules/crypto/DOMWindowCrypto.idl |
+++ b/Source/modules/crypto/WorkerContextCrypto.idl |
@@ -23,7 +23,7 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-partial interface DOMWindow { |
- readonly attribute Crypto crypto; |
+partial interface WorkerContext { |
+ [EnabledAtRuntime=Crypto] readonly attribute RandomSource crypto; |
}; |