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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/local-object.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 object = [6, 28, 496]; 8 var object = [6, 28, 496];
9 var localObject = WebInspector.RemoteObject.fromLocalObject(object); 9 var localObject = SDK.RemoteObject.fromLocalObject(object);
10 10
11 function getItem(index) 11 function getItem(index)
12 { 12 {
13 return this[index]; 13 return this[index];
14 } 14 }
15 15
16 function getItemCallback(result) 16 function getItemCallback(result)
17 { 17 {
18 InspectorTest.addResult("getItem(1) result: " + result); 18 InspectorTest.addResult("getItem(1) result: " + result);
19 } 19 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 InspectorTest.completeTest(); 55 InspectorTest.completeTest();
56 } 56 }
57 57
58 </script> 58 </script>
59 </head> 59 </head>
60 60
61 <body onload="runTest()"> 61 <body onload="runTest()">
62 <p>Tests callFunction on local remote objects.</p> 62 <p>Tests callFunction on local remote objects.</p>
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698