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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html

Issue 2747123008: [DevTools] Separate old Application tab code (Closed)
Patch Set: [DevTools] Separate old Application tab code Created 3 years, 9 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
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/console-test.js"></script> 4 <script src="../../../http/tests/inspector/console-test.js"></script>
5 <script src="../../../http/tests/inspector/debugger-test.js"></script> 5 <script src="../../../http/tests/inspector/debugger-test.js"></script>
6 <script src="../../../http/tests/inspector/network-test.js"></script> 6 <script src="../../../http/tests/inspector/network-test.js"></script>
7 <script src="../../../http/tests/inspector/resources-test.js"></script> 7 <script src="../../../http/tests/inspector/resources-test.js"></script>
8 <script> 8 <script>
9 function addErrorToConsole() 9 function addErrorToConsole()
10 { 10 {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 function testShowResource(next) 54 function testShowResource(next)
55 { 55 {
56 UI.viewManager.showView("network"); 56 UI.viewManager.showView("network");
57 InspectorTest.addSniffer(SourceFrame.SourceFrame.prototype, "show", didShowSourceFrame); 57 InspectorTest.addSniffer(SourceFrame.SourceFrame.prototype, "show", didShowSourceFrame);
58 58
59 InspectorTest.resourceTreeModel.forAllResources(visit); 59 InspectorTest.resourceTreeModel.forAllResources(visit);
60 function visit(resource) 60 function visit(resource)
61 { 61 {
62 if (resource.url.indexOf("debugger-test.js") !== -1) { 62 if (resource.url.indexOf("debugger-test.js") !== -1) {
63 UI.panels.resources.showResource(resource, 1); 63 UI.panels.resources._sidebar.showResource(resource, 1);
64 return true; 64 return true;
65 } 65 }
66 } 66 }
67 67
68 function didShowSourceFrame() 68 function didShowSourceFrame()
69 { 69 {
70 next(); 70 next();
71 } 71 }
72 } 72 }
73 ]); 73 ]);
74 }; 74 };
75 75
76 </script> 76 </script>
77 77
78 </head> 78 </head>
79 79
80 <body onload="runTest()"> 80 <body onload="runTest()">
81 <p>Tests that it's possible to set breakpoint in source frame, and that 81 <p>Tests that it's possible to set breakpoint in source frame, and that
82 source frame displays breakpoints and console errors. 82 source frame displays breakpoints and console errors.
83 </p> 83 </p>
84 84
85 </body> 85 </body>
86 </html> 86 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698