12 lines
356 B
HTML
12 lines
356 B
HTML
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
</script>
|
|
Test that inline scripts inserted by a script don't block on stylesheet loads:
|
|
<script>
|
|
var didRun = false;
|
|
document.write('<link rel=stylesheet href="data:text/css,span{color:green;}"><script>didRun = true;<' + '/script>');
|
|
document.write(didRun ? "PASS" : "FAIL");
|
|
</script>
|
|
</span>
|