blob: 9a92674b5b773a16006599c4ab9bee8f5e34792b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script type="text/javascript">
description("Reload after WebSocket creation should not cause a crash.");
window.jsTestIsAsync = true;
document.iframeFinished = function()
{
testPassed("Test finished.");
finishJSTest();
};
var iframeElement = document.createElement("iframe");
iframeElement.src = "resources/worker-reload-iframe.html";
document.body.appendChild(iframeElement);
testPassed("Inserted <iframe>.");
</script>
</body>
</html>