Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / security / cross-origin-shared-worker-allowed.html
bloba92ca52cdb370a3387fadfac00f0406dfc97e3db
1 <html>
2 <head>
3 <script>
4 var frames = 2;
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText();
8 testRunner.waitUntilDone();
11 function decrement() {
12 --frames;
13 if (!frames && window.testRunner)
14 testRunner.notifyDone();
17 window.onmessage = decrement;
18 </script>
19 </head>
20 <body>
21 <p>This iframe should not return any errors:</p>
22 <iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-shared-worker.html"></iframe>
23 <p>This iframe should not return any errors:</p>
24 <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-shared-worker.html"></iframe>
25 </body>
26 </html>