| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |