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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/suspendtarget-bindings.html

Issue 2833583003: DevTools: proper management of ResourceTreeModel in NetworkProject (Closed)
Patch Set: address comments Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/bindings/suspendtarget-bindings-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <head> 1 <head>
2 <script src="../inspector-test.js"></script> 2 <script src="../inspector-test.js"></script>
3 <script src="./bindings-test.js"></script> 3 <script src="./bindings-test.js"></script>
4 4
5 <script> 5 <script>
6 6
7 async function test() 7 async function test()
8 { 8 {
9 InspectorTest.markStep('initialWorkspace'); 9 InspectorTest.markStep('initialWorkspace');
10 var snapshot = InspectorTest.dumpWorkspace(); 10 var snapshot = InspectorTest.dumpWorkspace();
11 11
12 InspectorTest.markStep('createIframesAndWaitForSourceMaps'); 12 InspectorTest.markStep('createIframesAndWaitForSourceMaps');
13 await Promise.all([ 13 await Promise.all([
14 InspectorTest.attachFrame('frame1', './resources/sourcemap-frame.html', '_test_create-iframe1.js'), 14 InspectorTest.attachFrame('frame1', './resources/sourcemap-frame.html', '_test_create-iframe1.js'),
15 InspectorTest.attachFrame('frame2', './resources/sourcemap-frame.html', '_test_create-iframe2.js'), 15 InspectorTest.attachFrame('frame2', './resources/sourcemap-frame.html', '_test_create-iframe2.js'),
16 InspectorTest.waitForSourceMap('sourcemap-script.js.map'), 16 InspectorTest.waitForSourceMap('sourcemap-script.js.map'),
17 InspectorTest.waitForSourceMap('sourcemap-style.css.map') 17 InspectorTest.waitForSourceMap('sourcemap-style.css.map')
18 ]); 18 ]);
19 snapshot = InspectorTest.dumpWorkspace(snapshot); 19 snapshot = InspectorTest.dumpWorkspace(snapshot);
20 20
21 InspectorTest.markStep('Suspending targets.'); 21 InspectorTest.markStep('Suspending targets.');
22 await SDK.targetManager.suspendAllTargets(); 22 await SDK.targetManager.suspendAllTargets();
23 snapshot = InspectorTest.dumpWorkspace(snapshot); 23 snapshot = InspectorTest.dumpWorkspace(snapshot);
24 24
25 InspectorTest.markStep('detachFrame');
26 await InspectorTest.detachFrame('frame1', '_test_detachFrame.js');
27 snapshot = InspectorTest.dumpWorkspace(snapshot);
28
25 InspectorTest.markStep('Resuming targets.'); 29 InspectorTest.markStep('Resuming targets.');
26 await Promise.all([ 30 await Promise.all([
27 SDK.targetManager.resumeAllTargets(), 31 SDK.targetManager.resumeAllTargets(),
28 InspectorTest.waitForSourceMap('sourcemap-script.js.map'), 32 InspectorTest.waitForSourceMap('sourcemap-script.js.map'),
29 InspectorTest.waitForSourceMap('sourcemap-style.css.map') 33 InspectorTest.waitForSourceMap('sourcemap-style.css.map')
30 ]); 34 ]);
31 snapshot = InspectorTest.dumpWorkspace(snapshot); 35 snapshot = InspectorTest.dumpWorkspace(snapshot);
32 36
33 InspectorTest.completeTest(); 37 InspectorTest.completeTest();
34 } 38 }
35 39
36 </script> 40 </script>
37 </head> 41 </head>
38 <body onload="runTest()"> 42 <body onload="runTest()">
39 <p> 43 <p>
40 Verify that bindings handle target suspension as expected. 44 Verify that bindings handle target suspension as expected.
41 </p> 45 </p>
42 </body> 46 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/bindings/suspendtarget-bindings-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698