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 <script src="./resources/sourcemap-name-clash/out.js"></script> | 8 <script src="./resources/sourcemap-name-clash/out.js"></script> |
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/sourcemap-name-cl
ash/out.js": null | 15 "http://127.0.0.1:8000/inspector/persistence/resources/sourcemap-name-cl
ash/out.js": null |
15 }); | 16 }); |
16 | 17 |
17 Promise.all([ | 18 Promise.all([ |
18 getResourceContent("out.js"), | 19 getResourceContent("out.js"), |
19 getResourceContent("out.js? [sm]") | 20 getResourceContent("out.js? [sm]") |
20 ]).then(onResourceContents); | 21 ]).then(onResourceContents); |
21 | 22 |
22 function onResourceContents(contents) | 23 function onResourceContents(contents) |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 event when sourcemap compiled url ma
tches with one of the | 61 <p>Verify that sourcemap sources are mapped event when sourcemap compiled url ma
tches with one of the |
61 source urls.</p> | 62 source urls.</p> |
62 </body> | 63 </body> |
63 </html> | 64 </html> |
OLD | NEW |