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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-sourcemap.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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="../isolated-filesystem-test.js"></script> 4 <script src="../isolated-filesystem-test.js"></script>
5 <script src="../debugger-test.js"></script> 5 <script src="../debugger-test.js"></script>
6 <script src="./persistence-test.js"></script> 6 <script src="./persistence-test.js"></script>
7 <script src="./automapping-test.js"></script> 7 <script src="./automapping-test.js"></script>
8 <link href="./resources/s.css" rel="stylesheet"> 8 <link href="./resources/s.css" rel="stylesheet">
9 <script> 9 <script>
10 10
(...skipping 19 matching lines...) Expand all
30 "src/s.scss": { 30 "src/s.scss": {
31 content: contents[1], 31 content: contents[1],
32 time: new Date("December 1, 1989") 32 time: new Date("December 1, 1989")
33 } 33 }
34 }); 34 });
35 fs.reportCreated(onFileSystemCreated); 35 fs.reportCreated(onFileSystemCreated);
36 } 36 }
37 37
38 function onFileSystemCreated() 38 function onFileSystemCreated()
39 { 39 {
40 var automappingTest = new InspectorTest.AutomappingTest(WebInspector.wor kspace); 40 var automappingTest = new InspectorTest.AutomappingTest(Workspace.worksp ace);
41 automappingTest.waitUntilMappingIsStabilized(InspectorTest.completeTest. bind(InspectorTest)); 41 automappingTest.waitUntilMappingIsStabilized(InspectorTest.completeTest. bind(InspectorTest));
42 } 42 }
43 43
44 function getResourceContent(name) 44 function getResourceContent(name)
45 { 45 {
46 var fulfill; 46 var fulfill;
47 var promise = new Promise(x => fulfill = x); 47 var promise = new Promise(x => fulfill = x);
48 InspectorTest.waitForScriptSource(name, onSource); 48 InspectorTest.waitForScriptSource(name, onSource);
49 return promise; 49 return promise;
50 50
51 function onSource(uiSourceCode) 51 function onSource(uiSourceCode)
52 { 52 {
53 uiSourceCode.requestContent().then(content => fulfill(content)); 53 uiSourceCode.requestContent().then(content => fulfill(content));
54 } 54 }
55 } 55 }
56 } 56 }
57 </script> 57 </script>
58 </head> 58 </head>
59 <body onload="runTest()"> 59 <body onload="runTest()">
60 <p>Verify that sourcemap sources are mapped with non-exact match.</p> 60 <p>Verify that sourcemap sources are mapped with non-exact match.</p>
61 </body> 61 </body>
62 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698