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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-frame-attach-detach.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 <html>
2 <head>
3 <script src="../inspector-test.js"></script>
4 <script src="./bindings-test.js"></script>
5
6 <script>
7
8 async function test()
9 {
10 var sourcesNavigator = new Sources.SourcesNavigatorView();
11 sourcesNavigator.show(UI.inspectorView.element);
12
13 InspectorTest.markStep('dumpInitialNavigator');
14 InspectorTest.dumpNavigatorView(sourcesNavigator, false);
15
16 InspectorTest.markStep('attachFrame');
17 await InspectorTest.attachFrame('frame', './resources/magic-frame.html');
18 InspectorTest.dumpNavigatorView(sourcesNavigator, false);
19
20 InspectorTest.markStep('detachFrame');
21 await InspectorTest.detachFrame('frame');
22 InspectorTest.dumpNavigatorView(sourcesNavigator, false);
23
24 InspectorTest.completeTest();
25 }
26
27 </script>
28
29 </head>
30 <body onload="runTest()">
31 <p>
32 Verify that navigator is rendered properly when frames come and go.
33 </p>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698