Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 1b41cc5725
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.681 kB
<body onload="test()">
function test()
var win ="");
var doc = win.document;
var text = "<html><body><sc" + "ript src='data:text/javascript,'></scr" + "ipt></body></html>";
<p>This test verifies that document.writing into a newly-opened empty
window does not cause crashes or assertion failures, even if it
triggers subresource loads. If you have popup blocking enabled you can
click the button below to test. The test only works in Safari, because
it depends on behavior with resource identifiers, which are provided
by the app.</p>
<button onclick="test()">Crash</button>
Jump to Line
Something went wrong with that request. Please try again.