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

Unified Diff: LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html

Issue 338253007: Revert "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/sources/debugger/script-formatter-breakpoints-4.html
diff --git a/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html b/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html
similarity index 89%
rename from LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html
rename to LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html
index ef67d5633a42f0d1b4a29ca07658a4b1fbee7c9d..f013d5746e720651e0101735b51497edd2dc650f 100644
--- a/LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html
+++ b/LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.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="../../../inspector/sources/debugger/resources/unformatted4.js"></script>
+<script src="resources/unformatted4.js"></script>
<script>
@@ -13,15 +13,6 @@ function f1()
return 0;
}
-function onload()
-{
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.showWebInspector();
- }
- runTest();
-}
-
var test = function()
{
WebInspector.breakpointManager._storage._breakpoints = {};
@@ -51,7 +42,7 @@ var test = function()
{
InspectorTest.addResult("Removing breakpoint.");
var formattedSourceFrame = panel.visibleView;
- InspectorTest.removeBreakpoint(formattedSourceFrame, 19);
+ InspectorTest.removeBreakpoint(formattedSourceFrame, 16);
InspectorTest.addResult("Unformatting.");
scriptFormatter._discardFormattedUISourceCodeScript(panel.visibleView.uiSourceCode());
var breakpoints = WebInspector.breakpointManager._storage._setting.get();
@@ -64,7 +55,7 @@ var test = function()
}
</script>
</head>
-<body onload="onload()">
+<body onload="runTest()">
<p>Tests the script formatting is working fine with breakpoints.
</p>
</body>

Powered by Google App Engine
This is Rietveld 408576698