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

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

Issue 2784733002: DevTools: prepare tests for Persistence2.0 release (Closed)
Patch Set: address comments + three special tests Created 3 years, 8 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 <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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698