blob: 3a2e0a7d8d29039877e48bf22e6ba3ff0e12a0bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<html>
<head>
<script src="../http/tests/inspector/inspector-test.js"></script>
<script>
function test()
{
var d = [];
for (i = 1000; i < 1256; ++i)
d.push(i);
var object = {a: "b", c: d};
var localObject = WebInspector.RemoteObject.fromLocalObject(object);
var propertiesSection = new WebInspector.ObjectPropertiesSection(localObject, "local object");
propertiesTreeOutline = propertiesSection.propertiesTreeOutline;
propertiesSection.update();
propertiesTreeOutline.children[1].expand();
InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(propertiesSection.element));
InspectorTest.completeTest();
}
</script>
</head>
<body onload="runTest()">
<p>Test that ObjectPropertiesSection works with local remote objects.</p>
</body>
</html>
|