| <script src="../resources/js-test-pre.js"></script> |
| description("Test that window.crypto wrapper protects all dependencies, so it can always be used to create crypto.subtle."); |
| anotherWindowCrypto = frames[0].crypto; |
| shouldBeDefined(anotherWindowCrypto); |
| document.body.removeChild(document.getElementsByTagName("iframe")[0]); |
| setTimeout(continueTest, 10); |
| setTimeout(finishTest, 10); |
| shouldBeDefined(anotherWindowCrypto.webkitSubtle); |
| window.onload = startTest; |
| <iframe src="about:blank"></iframe> |
| <script src="../resources/js-test-post.js"></script> |