4 <p>Tests createContextualFragment does not execute scripts immediately. You should see PASS below:
</p>
7 var range
= document
.createRange();
8 var node
= document
.getElementById("test");
10 range
.selectNodeContents(node
);
11 range
.createContextualFragment("<script> count++; </script" + ">");
12 node
.textContent
= !count
? 'PASS' : 'FAIL - expected no execution but executed ' + count
+ ' times';
14 if (window
.testRunner
)
15 testRunner
.dumpAsText();