Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / window-early-properties-xhr.html
blobf74872b1f5c1a479e0e44cdada044c2fc2e0edc3
1 <body>
2 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=21752">bug 21752</a>:
3 Referencing XHR constructor for a not yet loaded frame permanently breaks it.</p>
4 <p>Should say SUCCESS:</p>
5 <div id=result></div>
6 <iframe src="resources/window-early-properties-xhr-frame.html"></iframe>
7 <script>
8 if (window.testRunner) {
9 testRunner.dumpAsText();
10 testRunner.waitUntilDone();
12 window.frames[0].XMLHttpRequest;
13 </script>
14 </body>