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

Side by Side Diff: LayoutTests/inspector/sources/debugger/network-uisourcecode-provider.html

Issue 661923005: DevTools: [Workspace] fix removing stylesheet-related uiSourceCodes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/network-uisourcecode-provider-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 src="../../../http/tests/inspector/workspace-test.js"></script> 5 <script src="../../../http/tests/inspector/workspace-test.js"></script>
6 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 var mockContentsMap = {}; 9 var mockContentsMap = {};
10 var lastResourceId = 0; 10 var lastResourceId = 0;
11 11
12 var mockStyleSheetHeader = { 12 var mockStyleSheetHeader = {
13 styleSheetId: "1", 13 styleSheetId: "1",
14 sourceURL: "foo.css", 14 sourceURL: "http://example.com/foo.css",
vsevik 2014/10/17 13:42:55 Please test for both sourceURLs
lushnikov 2014/10/17 17:29:42 Done.
15 sourceMapURL: "", 15 sourceMapURL: "",
16 origin: "regular", 16 origin: "regular",
17 title: "", 17 title: "",
18 disabled: false 18 disabled: false
19 }; 19 };
20 20
21 NetworkAgent.getResponseBody = function(requestId, callback) 21 NetworkAgent.getResponseBody = function(requestId, callback)
22 { 22 {
23 callback(undefined, mockContentsMap[requestId], false); 23 callback(undefined, mockContentsMap[requestId], false);
24 } 24 }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 159 }
160 } 160 }
161 ]); 161 ]);
162 }; 162 };
163 </script> 163 </script>
164 </head> 164 </head>
165 <body onload="runTest()"> 165 <body onload="runTest()">
166 <p>Tests NetworkUISourceCodeProvider class.</p> 166 <p>Tests NetworkUISourceCodeProvider class.</p>
167 </body> 167 </body>
168 </html> 168 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/network-uisourcecode-provider-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698