<script> | |
var d5 = "fail"; | |
</script> | |
<script type="text/javascript" src="data:text/javascript,d5%20%3D%20'five\u0027s'%3B"></script> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
if (d5 == "five's") { | |
document.write("PASS"); | |
} else { | |
document.write("FAIL: d5 was: " + d5 + " should have been : five's"); | |
} | |
</script> |