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

Unified Diff: LayoutTests/inspector-enabled/sources/debugger/linkifier.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/linkifier.html
diff --git a/LayoutTests/inspector/sources/debugger/linkifier.html b/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
similarity index 94%
rename from LayoutTests/inspector/sources/debugger/linkifier.html
rename to LayoutTests/inspector-enabled/sources/debugger/linkifier.html
index 1209cfde451fb1962d7a5484f643a2f0e20600df..ab6811ece23026638db0ea1d7d7631566eb58dd8 100644
--- a/LayoutTests/inspector/sources/debugger/linkifier.html
+++ b/LayoutTests/inspector-enabled/sources/debugger/linkifier.html
@@ -11,6 +11,15 @@ function dummyScript()
console.log("dummy string");
}
+function onload()
+{
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.showWebInspector();
+ }
+ runTest();
+}
+
function test()
{
InspectorTest.startDebuggerTest(waitForScripts);
@@ -80,7 +89,7 @@ function test()
</script>
</head>
-<body onload="runTest()">
+<body onload="onload()">
<p>
Tests that Linkifier works correctly.
<p>

Powered by Google App Engine
This is Rietveld 408576698