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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/sourcemap-bindings-multiple-frames.html

Issue 2738033002: DevTools: add more tests to fixate bindings behavior (Closed)
Patch Set: rebaseline Created 3 years, 9 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 <head> 1 <head>
2 <script src="../inspector-test.js"></script> 2 <script src="../inspector-test.js"></script>
3 <script src="./bindings-test.js"></script> 3 <script src="./bindings-test.js"></script>
4 4
5 <script> 5 <script>
6 6
7 async function test() 7 async function test()
8 { 8 {
9 InspectorTest.markStep('initialWorkspace'); 9 InspectorTest.markStep('initialWorkspace');
10 InspectorTest.dumpWorkspace(); 10 var snapshot = InspectorTest.dumpWorkspace();
11 11
12 InspectorTest.markStep('createIframesAndWaitForSourceMaps'); 12 InspectorTest.markStep('createIframesAndWaitForSourceMaps');
13 await Promise.all([ 13 await Promise.all([
14 InspectorTest.attachFrame('frame1', './resources/sourcemap-frame.html', '_test_create-iframe1.js'), 14 InspectorTest.attachFrame('frame1', './resources/sourcemap-frame.html', '_test_create-iframe1.js'),
15 InspectorTest.attachFrame('frame2', './resources/sourcemap-frame.html', '_test_create-iframe2.js'), 15 InspectorTest.attachFrame('frame2', './resources/sourcemap-frame.html', '_test_create-iframe2.js'),
16 InspectorTest.waitForSourceMap('sourcemap-script.js.map'), 16 InspectorTest.waitForSourceMap('sourcemap-script.js.map'),
17 InspectorTest.waitForSourceMap('sourcemap-style.css.map') 17 InspectorTest.waitForSourceMap('sourcemap-style.css.map')
18 ]); 18 ]);
19 InspectorTest.dumpWorkspace(); 19 snapshot = InspectorTest.dumpWorkspace(snapshot);
20 20
21 InspectorTest.markStep('detachFrame1'); 21 InspectorTest.markStep('detachFrame1');
22 await InspectorTest.detachFrame('frame1', '_test_detachFrame1.js'); 22 await InspectorTest.detachFrame('frame1', '_test_detachFrame1.js');
23 InspectorTest.dumpWorkspace(); 23 snapshot = InspectorTest.dumpWorkspace(snapshot);
24 24
25 InspectorTest.markStep('detachFrame2'); 25 InspectorTest.markStep('detachFrame2');
26 await InspectorTest.detachFrame('frame2', '_test_detachFrame2.js'); 26 await InspectorTest.detachFrame('frame2', '_test_detachFrame2.js');
27 InspectorTest.dumpWorkspace(); 27 snapshot = InspectorTest.dumpWorkspace(snapshot);
28 28
29 InspectorTest.completeTest(); 29 InspectorTest.completeTest();
30 } 30 }
31 31
32 </script> 32 </script>
33 </head> 33 </head>
34 <body onload="runTest()"> 34 <body onload="runTest()">
35 <p> 35 <p>
36 Verify that SourceMap bindings are generating UISourceCodes properly. 36 Verify that SourceMap bindings are generating UISourceCodes properly.
37 </p> 37 </p>
38 </body> 38 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698