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

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

Issue 2735933002: DevTools: add tests to fixate bindings behavior (Closed)
Patch Set: DevTools: add tests to fixate bindings behavior 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
(Empty)
1 <head>
2 <script src="../inspector-test.js"></script>
3 <script src="./bindings-test.js"></script>
4
5 <script>
6
7 async function test()
8 {
9 var sourcesNavigator = new Sources.SourcesNavigatorView();
10 sourcesNavigator.show(UI.inspectorView.element);
11
12 InspectorTest.markStep('dumpInitialNavigator');
13 InspectorTest.dumpNavigatorView(sourcesNavigator, false);
14
15 InspectorTest.markStep('createIframes');
16 await Promise.all([
17 InspectorTest.attachFrame('frame1', './resources/magic-frame.html'),
18 InspectorTest.attachFrame('frame2', './resources/magic-frame.html'),
19 ]);
20 InspectorTest.dumpNavigatorView(sourcesNavigator, false);
21
22 InspectorTest.markStep('detachFrame1');
23 await InspectorTest.detachFrame('frame1');
24 InspectorTest.dumpNavigatorView(sourcesNavigator, false);
25
26 InspectorTest.markStep('detachFrame2');
27 await InspectorTest.detachFrame('frame2');
28 InspectorTest.dumpNavigatorView(sourcesNavigator, false);
29
30 InspectorTest.completeTest();
31 }
32
33 </script>
34 </head>
35 <body onload="runTest()">
36 <p>
37 Verify that navigator is properly rendered in case of multiple iframes.
38 </p>
39 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698