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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/execution-context-sorted.html

Issue 2782773002: [DevTools] Remove SDKModels' fromTarget methods (Closed)
Patch Set: addressed review comments Created 3 years, 8 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="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script> 4 <script>
5 5
6 function test() 6 function test()
7 { 7 {
8 var contexts = InspectorTest.runtimeModel.executionContexts(); 8 var contexts = InspectorTest.runtimeModel.executionContexts();
9 for (var c of contexts) 9 for (var c of contexts)
10 InspectorTest.addResult(SDK.ResourceTreeModel.fromTarget(c.target()).fra meForId(c.frameId).displayName()); 10 InspectorTest.addResult(InspectorTest.resourceTreeModel.frameForId(c.fra meId).displayName());
11 InspectorTest.completeTest(); 11 InspectorTest.completeTest();
12 } 12 }
13 13
14 </script> 14 </script>
15 </head> 15 </head>
16 16
17 <body onload="runTest()"> 17 <body onload="runTest()">
18 <iframe src="../resources/execution-context-iframe1.html"></iframe> 18 <iframe src="../resources/execution-context-iframe1.html"></iframe>
19 <p> 19 <p>
20 Tests how execution context and target are selected. 20 Tests how execution context and target are selected.
21 </p> 21 </p>
22 22
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698