blob: a5663374258227410ddf7f28ed58d283bbc38083 [file] [log] [blame]
<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.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
window.frames[0].XMLHttpRequest;
</script>
</body>