<html>
<script>
if (window.testRunner) {
    testRunner.waitUntilDone();
    testRunner.dumpAsText();
}

function runTest() {
    var w = window.open('resources/close-window-frame.html');
}
</script>
<body onload="runTest();">
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=22630">bug 22630<a/>:
Assertion failure in XMLHttpRequest::contextDestroyed.
<p>SUCCESS! Did not assert!</p>
</body>
</html>
