| Index: LayoutTests/http/tests/xsl/xslt-transform-with-javascript-disabled.html
|
| diff --git a/LayoutTests/http/tests/xsl/xslt-transform-with-javascript-disabled.html b/LayoutTests/http/tests/xsl/xslt-transform-with-javascript-disabled.html
|
| index e2edbeca6791b9b1b1ca09c78ac4e2c69729117c..cb90582b3908336ea3988f814e38762fc37b577e 100644
|
| --- a/LayoutTests/http/tests/xsl/xslt-transform-with-javascript-disabled.html
|
| +++ b/LayoutTests/http/tests/xsl/xslt-transform-with-javascript-disabled.html
|
| @@ -4,24 +4,20 @@
|
| if (window.testRunner) {
|
| testRunner.dumpAsText();
|
| testRunner.dumpChildFramesAsText();
|
| - testRunner.waitUntilDone();
|
| - testRunner.setCanOpenWindows();
|
| - testRunner.setCloseRemainingWindowsWhenComplete(true);
|
| testRunner.overridePreference("WebKitJavaScriptEnabled", false);
|
| }
|
|
|
| -function transferResult(sourceWindow) {
|
| - document.body.innerHTML = sourceWindow.document.body.innerHTML;
|
| - testRunner.notifyDone();
|
| -}
|
| -
|
| -function runTest() {
|
| - var win = window.open("resources/xslt-transform-with-javascript-disabled-mainframe.html");
|
| - win.onload = function() { transferResult(win) };
|
| +function shouldNotBeExecuted()
|
| +{
|
| + var divElement = document.createElement("div");
|
| + divElement.innerHTML = "This text should not present";
|
| + document.body.appendChild(divElement);
|
| }
|
|
|
| </script>
|
| </head>
|
| -<body onLoad="runTest();">
|
| +
|
| +<body onLoad="shouldNotBeExecuted();">
|
| + <iframe src="resources/xslt-transform-with-javascript-disabled.xml"/>
|
| </body>
|
| </html>
|
|
|