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

Unified Diff: LayoutTests/inspector/debugger/long-resume-vs-reload.html

Issue 60203007: DevTools: Fix disabling all pauses on reload. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/debugger/long-resume-vs-reload.html
diff --git a/LayoutTests/inspector/debugger/long-resume-vs-reload.html b/LayoutTests/inspector/debugger/long-resume-vs-reload.html
deleted file mode 100644
index b05b9d865317fe609a26b455e2572b4936fd5378..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/debugger/long-resume-vs-reload.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/debugger-test.js"></script>
-
-<script>
-
-debugger;
-
-function testFunction()
-{
- debugger;
-}
-
-
-function test()
-{
- // Key constant of the test. Make it false and the test will timeout.
- var skipAllBreakpointsUntilReload = true;
-
-
- InspectorTest.startDebuggerTest(step1);
- InspectorTest.addResult("Paused 0.");
-
- function step1()
- {
- InspectorTest.showScriptSource("long-resume-vs-reload.html", didShowScriptSource);
- }
-
- function didShowScriptSource(sourceFrame)
- {
- InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
- }
-
- function didPause(callFrames)
- {
- DebuggerAgent.setSkipAllPauses(true, skipAllBreakpointsUntilReload);
- InspectorTest.reloadPage();
- InspectorTest.waitUntilResumed(didResume);
- }
-
- function didResume()
- {
- InspectorTest.waitUntilPaused(didPause2);
- }
-
- function didPause2(callFrames)
- {
- InspectorTest.completeDebuggerTest();
- }
-};
-
-</script>
-
-</head>
-
-<body onload="runTest()">
-<p>Tests that 'skip all pauses' mode blocks breakpoint and gets cancelled right at page reload,
-so we catch any early breakpoints.
-</p>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698