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

Side by Side Diff: LayoutTests/inspector/sources/debugger/debugger-breakpoints-not-activated-on-reload.html

Issue 350153004: DevTools: Activate breakpoints in breakpointManager (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script> 5 <script>
6 6
7 function testFunction() 7 function testFunction()
8 { 8 {
9 return 0; 9 return 0;
10 } 10 }
(...skipping 14 matching lines...) Expand all
25 { 25 {
26 InspectorTest.addResult("Main resource was shown."); 26 InspectorTest.addResult("Main resource was shown.");
27 InspectorTest.setBreakpoint(sourceFrame, 8, "", true); 27 InspectorTest.setBreakpoint(sourceFrame, 8, "", true);
28 WebInspector.panels.sources._toggleBreakpointsButton.element.click(); 28 WebInspector.panels.sources._toggleBreakpointsButton.element.click();
29 InspectorTest.reloadPage(step3); 29 InspectorTest.reloadPage(step3);
30 } 30 }
31 31
32 function step3() 32 function step3()
33 { 33 {
34 InspectorTest.addResult("Main resource was shown."); 34 InspectorTest.addResult("Main resource was shown.");
35 if (!WebInspector.debuggerModel.breakpointsActive()) 35 if (!WebInspector.breakpointManager.breakpointsActive())
36 InspectorTest.addResult("Breakpoints are deactivated."); 36 InspectorTest.addResult("Breakpoints are deactivated.");
37 else 37 else
38 InspectorTest.addResult("Error: breakpoints are activated."); 38 InspectorTest.addResult("Error: breakpoints are activated.");
39 InspectorTest.completeDebuggerTest(); 39 InspectorTest.completeDebuggerTest();
40 } 40 }
41 }; 41 };
42 42
43 </script> 43 </script>
44 </head> 44 </head>
45 45
46 <body onload="runTest()"> 46 <body onload="runTest()">
47 <p> 47 <p>
48 Tests that breakpoints are not activated on page reload.<a href="https://bugs.we bkit.org/show_bug.cgi?id=41461">Bug 41461</a> 48 Tests that breakpoints are not activated on page reload.<a href="https://bugs.we bkit.org/show_bug.cgi?id=41461">Bug 41461</a>
49 </p> 49 </p>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698