<!DOCTYPE html>
<html>
<body>
<p>Tests createContextualFragment does not execute scripts immediately. You should see PASS below:</p>
<div id="test"></div>
<script>
var range = document.createRange();
var node = document.getElementById("test");
var count = 0;
range.selectNodeContents(node);
range.createContextualFragment("<script> count++; </script" + ">");
node.textContent = !count ? 'PASS' : 'FAIL - expected no execution but executed ' + count + ' times';

if (window.testRunner)
    testRunner.dumpAsText();

</script>
</body>
</html>
