Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html

Issue 267393003: DevTools: Load document (html) content from disk cache in page agent enabling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698