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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/local-object-properties-section.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 d = []; 8 var d = [];
9 for (var i = 1000; i < 1256; ++i) 9 for (var i = 1000; i < 1256; ++i)
10 d.push(i); 10 d.push(i);
11 var object = {a: "b", c: d}; 11 var object = {a: "b", c: d};
12 var localObject = WebInspector.RemoteObject.fromLocalObject(object); 12 var localObject = SDK.RemoteObject.fromLocalObject(object);
13 13
14 var propertiesSection = new WebInspector.ObjectPropertiesSection(localObject , "local object"); 14 var propertiesSection = new Components.ObjectPropertiesSection(localObject, "local object");
15 propertiesSection.expand(); 15 propertiesSection.expand();
16 propertiesSection.objectTreeElement().childAt(1).expand(); 16 propertiesSection.objectTreeElement().childAt(1).expand();
17 17
18 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(propertiesSe ction.element)); 18 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(propertiesSe ction.element));
19 InspectorTest.completeTest(); 19 InspectorTest.completeTest();
20 } 20 }
21 21
22 </script> 22 </script>
23 </head> 23 </head>
24 24
25 <body onload="runTest()"> 25 <body onload="runTest()">
26 <p>Test that ObjectPropertiesSection works with local remote objects.</p> 26 <p>Test that ObjectPropertiesSection works with local remote objects.</p>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698