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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-reload-breakpoints-with-source-maps.html

Issue 1153923005: DevTools: shard inspector/debugger tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/debugger-reload-breakpoints-with-source-maps.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-reload-breakpoints-with-source-maps.html b/LayoutTests/inspector/sources/debugger/debugger-reload-breakpoints-with-source-maps.html
deleted file mode 100644
index 32a9d0b6a6004acc54388b9f731066efe873e05c..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/sources/debugger/debugger-reload-breakpoints-with-source-maps.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<html>
-<head>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script src="../../../http/tests/inspector/resources/compiled.js"></script>
-<script>
-
-var test = function()
-{
- InspectorTest.startDebuggerTest(step1);
-
- function step1()
- {
- InspectorTest.showScriptSource("source1.js", step2);
- }
-
- function step2(sourceFrame)
- {
- InspectorTest.addSniffer(WebInspector.BreakpointManager.TargetBreakpoint.prototype, "_addResolvedLocation", didSetBreakpointInDebugger, true);
-
- InspectorTest.setBreakpoint(sourceFrame, 14, "", true);
- InspectorTest.setBreakpoint(sourceFrame, 15, "", true);
-
- var counter = 2;
-
- function didSetBreakpointInDebugger()
- {
- counter--;
- if (!counter) {
- //Both breakpoints are resolved before reload
- InspectorTest.dumpBreakpointSidebarPane("Breakpoints before reload:");
- InspectorTest.addSniffer(WebInspector.CompilerScriptMapping.prototype, "_sourceMapLoaded", onSourceMapLoaded);
- InspectorTest.reloadPage();
- }
- }
- }
-
- function onSourceMapLoaded()
- {
- InspectorTest.dumpBreakpointSidebarPane("Breakpoints after reload:");
- InspectorTest.completeDebuggerTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
- Tests "reload" from within inspector window while on pause.
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698