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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-move-breakpoints-on-reload.html

Issue 2551233002: DevTools: show filesystem file by default (Closed)
Patch Set: nit Created 4 years 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src='../inspector-test.js'></script> 3 <script src='../inspector-test.js'></script>
4 <script src='../debugger-test.js'></script> 4 <script src='../debugger-test.js'></script>
5 <script src='../isolated-filesystem-test.js'></script> 5 <script src='../isolated-filesystem-test.js'></script>
6 <script src='./persistence-test.js'></script> 6 <script src='./persistence-test.js'></script>
7 <script> 7 <script>
8 8
9 function addFooJS() { 9 function addFooJS() {
10 var script = document.createElement('script'); 10 var script = document.createElement('script');
(...skipping 12 matching lines...) Expand all
23 { 23 {
24 fs.reportCreated(next); 24 fs.reportCreated(next);
25 }, 25 },
26 26
27 function addNetworkFooJS(next) 27 function addNetworkFooJS(next)
28 { 28 {
29 InspectorTest.evaluateInPage('addFooJS()'); 29 InspectorTest.evaluateInPage('addFooJS()');
30 InspectorTest.waitForBinding('foo.js').then(next); 30 InspectorTest.waitForBinding('foo.js').then(next);
31 }, 31 },
32 32
33 function setBreakpointInNetworkUISourceCode(next) 33 function setBreakpointInFileSystemUISourceCode(next)
34 { 34 {
35 InspectorTest.waitForUISourceCode('foo.js', Workspace.projectTypes.N etwork) 35 InspectorTest.waitForUISourceCode('foo.js', Workspace.projectTypes.F ileSystem)
36 .then(sourceCode => InspectorTest.showUISourceCodePromise(source Code)) 36 .then(sourceCode => InspectorTest.showUISourceCodePromise(source Code))
37 .then(onSourceFrame); 37 .then(onSourceFrame);
38 38
39 function onSourceFrame(sourceFrame) 39 function onSourceFrame(sourceFrame)
40 { 40 {
41 InspectorTest.setBreakpoint(sourceFrame, 0, '', true); 41 InspectorTest.setBreakpoint(sourceFrame, 0, '', true);
42 InspectorTest.waitBreakpointSidebarPane(true).then(dumpBreakpoin tSidebarPane).then(next); 42 InspectorTest.waitBreakpointSidebarPane(true).then(dumpBreakpoin tSidebarPane).then(next);
43 } 43 }
44 }, 44 },
45 45
(...skipping 18 matching lines...) Expand all
64 InspectorTest.addResult(" " + uiLocation.uiSourceCode.url() +":" + uiLocation.lineNumber); 64 InspectorTest.addResult(" " + uiLocation.uiSourceCode.url() +":" + uiLocation.lineNumber);
65 } 65 }
66 } 66 }
67 }; 67 };
68 </script> 68 </script>
69 </head> 69 </head>
70 <body onload='runTest()'> 70 <body onload='runTest()'>
71 <p>Verify that breakpoints are moved appropriately in case of page reload.</p> 71 <p>Verify that breakpoints are moved appropriately in case of page reload.</p>
72 </body> 72 </body>
73 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698