4 <p>Tests createContextualFragment does not mark scripts elements it parsed as already started. You should see PASS below:
</p>
7 var range
= document
.createRange();
8 var node
= document
.getElementById("test");
10 range
.selectNodeContents(node
);
11 node
.appendChild(range
.createContextualFragment("<script> count++; </script" + ">"));
12 node
.textContent
= count
== 1 ? 'PASS' : 'FAIL - expected one execution but executed ' + count
+ ' times';
14 if (window
.testRunner
)
15 testRunner
.dumpAsText();