3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/debugger-test.js"></script>
15 function testFunction()
18 var d
= document
.documentElement
;
24 InspectorTest
.startDebuggerTest(step1
);
28 InspectorTest
.runTestFunctionAndWaitUntilPaused(step2
);
31 function step2(callFrames
)
33 var sections
= WebInspector
.inspectorView
.currentPanel().sidebarPanes
.scopechain
._sections
;
34 var localScope
= sections
[0].objectTreeElement();
36 localScope
, ["o", "__proto__", "__proto__"],
37 localScope
, ["d", "__proto__", "__proto__", "__proto__", "__proto__", "__proto__"]
39 InspectorTest
.expandProperties(properties
, step3
);
44 InspectorTest
.completeDebuggerTest();
51 <body onload=
"runTest()">
53 Tests that object's __proto__ property is present in object properties section when
54 script is paused on a breakpoint.
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=41214">Bug
41214</a>