12 lines
317 B
HTML
12 lines
317 B
HTML
<script src="data:text/javascript," id="target"></script>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
document.getElementById("target").src;
|
|
</script>
|
|
<p>
|
|
This tests that accessing the <tt>src</tt> attribute of a <tt>script</tt> element does not
|
|
cause an assertion to fail.
|
|
</p>
|