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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/dynamic-bindings-frame-attach-detach.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/dynamic-frame.html', ' _test_attachFrame.js');
15 InspectorTest.dumpWorkspace(); 15 snapshot = InspectorTest.dumpWorkspace(snapshot);
16 16
17 InspectorTest.markStep('detachFrame'); 17 InspectorTest.markStep('detachFrame');
18 await InspectorTest.detachFrame('frame', '_test_detachFrame.js'); 18 await InspectorTest.detachFrame('frame', '_test_detachFrame.js');
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 added and removed as iframe gets attached and deta ched. 29 Verify that UISourceCodes are added and removed as iframe with dynamic script
30 and stylesheet is added and removed.
30 </p> 31 </p>
31 </body> 32 </body>
32 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698