haikuwebkit/LayoutTests/fast/dom/Window/window-early-properties-xhr...

15 lines
442 B
HTML

<body>
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=21752">bug 21752</a>:
Referencing XHR constructor for a not yet loaded frame permanently breaks it.</p>
<p>Should say SUCCESS:</p>
<div id=result></div>
<iframe src="resources/window-early-properties-xhr-frame.html"></iframe>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.frames[0].XMLHttpRequest;
</script>
</body>