|
<body>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
var ifrm = document.createElement("iframe");
|
|
ifrm.srcdoc = "PASS";
|
|
ifrm.src = "data:text/html,<script>alert(/FAIL/);<\/script>";
|
|
document.body.appendChild(ifrm);
|
|
</script>
|
|
This test passes if it doesn't alert FAIL.
|