4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.dumpChildFramesAsText();
7 testRunner
.overridePreference("WebKitJavaScriptEnabled", false);
10 function shouldNotBeExecuted()
12 var divElement
= document
.createElement("div");
13 divElement
.innerHTML
= "This text should not present";
14 document
.body
.appendChild(divElement
);
20 <body onLoad=
"shouldNotBeExecuted();">
21 <iframe src=
"resources/xslt-transform-with-javascript-disabled.xml"/>