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

Unified Diff: LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.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-breakpoints-1.html
diff --git a/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html b/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html
similarity index 90%
rename from LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html
rename to LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html
index 185e720edd925c854a7c710b072616f149ec6440..b2a73d373fa1eb6cdf50384fff61ca4ae0683bd9 100644
--- a/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html
+++ b/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html
@@ -2,7 +2,7 @@
<head>
<script src="../../../http/tests/inspector/inspector-test.js"></script>
<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script src="resources/unformatted.js"></script>
+<script src="../../../inspector/sources/debugger/resources/unformatted.js"></script>
<script>
@@ -13,6 +13,15 @@ function f1()
return 0;
}
+function onload()
+{
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.showWebInspector();
+ }
+ runTest();
+}
+
var test = function()
{
WebInspector.breakpointManager._storage._breakpoints = {};
@@ -66,7 +75,7 @@ var test = function()
}
</script>
</head>
-<body onload="runTest()">
+<body onload="onload()">
<p>Tests the script formatting is working fine with breakpoints.
</p>
</body>

Powered by Google App Engine
This is Rietveld 408576698