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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-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 InspectorTest.markStep('initialWorkspace');
10 InspectorTest.dumpWorkspace();
11
12 InspectorTest.markStep('createIframes');
13 await Promise.all([
14 InspectorTest.attachFrame('frame1', './resources/magic-frame.html', '_te st_create-iframe1.js'),
15 InspectorTest.attachFrame('frame2', './resources/magic-frame.html', '_te st_create-iframe2.js'),
16 ]);
17 InspectorTest.dumpWorkspace();
18
19 InspectorTest.markStep('detachFrame1');
20 await InspectorTest.detachFrame('frame1', '_test_detachFrame1.js');
21 InspectorTest.dumpWorkspace();
22
23 InspectorTest.markStep('detachFrame2');
24 await InspectorTest.detachFrame('frame2', '_test_detachFrame2.js');
25 InspectorTest.dumpWorkspace();
26
27 InspectorTest.completeTest();
28 }
29
30 </script>
31 </head>
32 <body onload="runTest()">
33 <p>
34 Verify that UISourceCodes are removed as iframes are getting detached.
35 </p>
36 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698