Index: LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html |
diff --git a/LayoutTests/inspector/sources/debugger/script-formatter-console.html b/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html |
similarity index 93% |
rename from LayoutTests/inspector/sources/debugger/script-formatter-console.html |
rename to LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html |
index 210df613dc4cc24a98f6a4ba3b16f499f57d1a3d..6bf417cc55a2c982f86ffd1f9db68386104109a5 100644 |
--- a/LayoutTests/inspector/sources/debugger/script-formatter-console.html |
+++ b/LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html |
@@ -11,6 +11,15 @@ function f1() |
console.error("Test message."); |
} |
+function onload() |
+{ |
+ if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.showWebInspector(); |
+ } |
+ runTest(); |
+} |
+ |
var test = function() |
{ |
var panel = WebInspector.inspectorView.showPanel("sources"); |
@@ -67,7 +76,7 @@ var test = function() |
</head> |
-<body onload="runTest()"> |
+<body onload="onload()"> |
<p>Tests that the script formatting changes console line numbers. |
</p> |