OLD | NEW |
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 |
11 function test() | 11 function test() |
12 { | 12 { |
| 13 InspectorTest.initializeTestMapping(); |
13 InspectorTest.overrideNetworkModificationTime({ | 14 InspectorTest.overrideNetworkModificationTime({ |
14 "http://127.0.0.1:8000/inspector/persistence/resources/s.css": null | 15 "http://127.0.0.1:8000/inspector/persistence/resources/s.css": null |
15 }); | 16 }); |
16 | 17 |
17 Promise.all([ | 18 Promise.all([ |
18 getResourceContent("s.css"), | 19 getResourceContent("s.css"), |
19 getResourceContent("s.scss") | 20 getResourceContent("s.scss") |
20 ]).then(onResourceContents); | 21 ]).then(onResourceContents); |
21 | 22 |
22 function onResourceContents(contents) | 23 function onResourceContents(contents) |
(...skipping 30 matching lines...) Expand all Loading... |
53 uiSourceCode.requestContent().then(content => fulfill(content)); | 54 uiSourceCode.requestContent().then(content => fulfill(content)); |
54 } | 55 } |
55 } | 56 } |
56 } | 57 } |
57 </script> | 58 </script> |
58 </head> | 59 </head> |
59 <body onload="runTest()"> | 60 <body onload="runTest()"> |
60 <p>Verify that sourcemap sources are mapped with non-exact match.</p> | 61 <p>Verify that sourcemap sources are mapped with non-exact match.</p> |
61 </body> | 62 </body> |
62 </html> | 63 </html> |
OLD | NEW |