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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html

Issue 2731403009: DevTools: add tests to fixate sourcemap 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="./bindings-test.js"></script> 4 <script src="./bindings-test.js"></script>
5 5
6 <script> 6 <script>
7 7
8 async function test() 8 async function test()
9 { 9 {
10 InspectorTest.markStep('dumpInitialWorkspace'); 10 InspectorTest.markStep('dumpInitialWorkspace');
11 InspectorTest.dumpWorkspace(); 11 InspectorTest.dumpWorkspace();
12 12
13 InspectorTest.markStep('attachFrame'); 13 InspectorTest.markStep('attachFrame');
14 await InspectorTest.attachFrame('frame', './resources/magic-frame.html', '_t est_attachFrame.js'); 14 await Promise.all([
15 InspectorTest.attachFrame('frame', './resources/sourcemap-frame.html', ' _test_attachFrame.js'),
16 InspectorTest.waitForSourceMap('sourcemap-script.js.map'),
17 InspectorTest.waitForSourceMap('sourcemap-style.css.map'),
18 ]);
15 InspectorTest.dumpWorkspace(); 19 InspectorTest.dumpWorkspace();
16 20
17 InspectorTest.markStep('navigateMainFrame'); 21 InspectorTest.markStep('navigateMainFrame');
18 var url = "http://localhost:8000/inspector/bindings/resources/empty-page.htm l"; 22 var url = "http://localhost:8000/inspector/bindings/resources/empty-page.htm l";
19 await InspectorTest.navigatePromise(url); 23 await InspectorTest.navigatePromise(url);
20 InspectorTest.dumpWorkspace(); 24 InspectorTest.dumpWorkspace();
21 25
22 InspectorTest.markStep('navigateBack'); 26 InspectorTest.markStep('navigateBack');
23 var originalUrl = "http://localhost:8000/inspector/bindings/bindings-main-fr ame-navigated.html"; 27 var originalUrl = "http://localhost:8000/inspector/bindings/bindings-main-fr ame-navigated.html";
24 await InspectorTest.navigatePromise(originalUrl); 28 await InspectorTest.navigatePromise(originalUrl);
25 29
26 InspectorTest.completeTest(); 30 InspectorTest.completeTest();
27 } 31 }
28 32
29 </script> 33 </script>
30 34
31 </head> 35 </head>
32 <body onload="runTest()"> 36 <body onload="runTest()">
33 <p> 37 <p>
34 Verify that UISourceCodes are removed as main frame gets navigated. 38 Verify that UISourceCodes are removed as main frame gets navigated.
35 </p> 39 </p>
36 </body> 40 </body>
37 </html> 41 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698