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

Side by Side Diff: LayoutTests/inspector/debugger/dynamic-scripts.html

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../http/tests/inspector/inspector-test.js"></script> 4 <script src="../../http/tests/inspector/inspector-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> 6 <script>
7 function appendDynamicScriptElement(src, content) 7 function appendDynamicScriptElement(src, content)
8 { 8 {
9 var scriptElement = document.createElement("script"); 9 var scriptElement = document.createElement("script");
10 if (src) 10 if (src)
(...skipping 29 matching lines...) Expand all
40 InspectorTest.startDebuggerTest(step2); 40 InspectorTest.startDebuggerTest(step2);
41 } 41 }
42 42
43 function step2() 43 function step2()
44 { 44 {
45 InspectorTest.runAfterPendingDispatches(step3); 45 InspectorTest.runAfterPendingDispatches(step3);
46 } 46 }
47 47
48 function step3() 48 function step3()
49 { 49 {
50 var panel = WebInspector.showPanel("scripts"); 50 var panel = WebInspector.showPanel("sources");
51 var uiSourceCodes = WebInspector.workspace.uiSourceCodesForProjectType(W ebInspector.projectTypes.Network); 51 var uiSourceCodes = WebInspector.workspace.uiSourceCodesForProjectType(W ebInspector.projectTypes.Network);
52 var urls = uiSourceCodes.map(function(uiSourceCode) { return uiSourceCod e.name(); }); 52 var urls = uiSourceCodes.map(function(uiSourceCode) { return uiSourceCod e.name(); });
53 urls.sort(); 53 urls.sort();
54 54
55 var whiteList = ["debugger-test.js", "dynamic-script.js", "dynamic-scrip ts.html", "evalSourceURL.js", "inspector-test.js", "scriptElementContentSourceUR L.js"]; 55 var whiteList = ["debugger-test.js", "dynamic-script.js", "dynamic-scrip ts.html", "evalSourceURL.js", "inspector-test.js", "scriptElementContentSourceUR L.js"];
56 function filter(url) 56 function filter(url)
57 { 57 {
58 for (var i = 0; i < whiteList.length; ++i) { 58 for (var i = 0; i < whiteList.length; ++i) {
59 if (url === whiteList[i]) 59 if (url === whiteList[i])
60 return true; 60 return true;
(...skipping 15 matching lines...) Expand all
76 InspectorTest.completeDebuggerTest(); 76 InspectorTest.completeDebuggerTest();
77 } 77 }
78 } 78 }
79 </script> 79 </script>
80 </head> 80 </head>
81 <body onload="runTest()"> 81 <body onload="runTest()">
82 <p>Tests that scripts for dynamically added script elements are shown in sources panel if loaded with inspector open.</p> 82 <p>Tests that scripts for dynamically added script elements are shown in sources panel if loaded with inspector open.</p>
83 <a href="https://bugs.webkit.org/show_bug.cgi?id=99324">Bug 99324</a> 83 <a href="https://bugs.webkit.org/show_bug.cgi?id=99324">Bug 99324</a>
84 </body> 84 </body>
85 </html> 85 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698