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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-navigate.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 <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 var snapshot = 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 InspectorTest.attachFrame('frame', './resources/magic-frame.html', '_t est_attachFrame.js');
15 InspectorTest.dumpWorkspace(); 15 snapshot = InspectorTest.dumpWorkspace(snapshot);
16 16
17 InspectorTest.markStep('navigateFrame'); 17 InspectorTest.markStep('navigateFrame');
18 await InspectorTest.navigateFrame('frame', './resources/empty-frame.html', ' _test_navigateFrame'); 18 await InspectorTest.navigateFrame('frame', './resources/empty-frame.html', ' _test_navigateFrame');
19 InspectorTest.dumpWorkspace(); 19 snapshot = InspectorTest.dumpWorkspace(snapshot);
20 20
21 InspectorTest.completeTest(); 21 InspectorTest.completeTest();
22 } 22 }
23 23
24 </script> 24 </script>
25 25
26 </head> 26 </head>
27 <body onload="runTest()"> 27 <body onload="runTest()">
28 <p> 28 <p>
29 Verify that UISourceCodes are removed as the frame gets navigated. 29 Verify that UISourceCodes are removed as the frame gets navigated.
30 </p> 30 </p>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698