blob: f74872b1f5c1a479e0e44cdada044c2fc2e0edc3 [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.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
window.frames[0].XMLHttpRequest;
</script>
</body>