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 src="../../../http/tests/inspector/debugger-test.js"></script> | 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function C() | 7 function C() |
8 { | 8 { |
9 } | 9 } |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 { | 23 { |
24 InspectorTest.startDebuggerTest(step1); | 24 InspectorTest.startDebuggerTest(step1); |
25 | 25 |
26 function step1() | 26 function step1() |
27 { | 27 { |
28 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); | 28 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); |
29 } | 29 } |
30 | 30 |
31 function step2(callFrames) | 31 function step2(callFrames) |
32 { | 32 { |
| 33 InspectorTest.addSniffer(WebInspector.ScopeChainSidebarPane.prototype, "
_sidebarPaneUpdatedForTest", onSidebarRendered, true); |
| 34 } |
| 35 |
| 36 function onSidebarRendered() |
| 37 { |
33 var localScope = InspectorTest.scopeChainSections()[0].objectTreeElement
(); | 38 var localScope = InspectorTest.scopeChainSections()[0].objectTreeElement
(); |
34 var properties = [ | 39 var properties = [ |
35 localScope, ["o", "__proto__", "__proto__"], | 40 localScope, ["o", "__proto__", "__proto__"], |
36 localScope, ["d", "__proto__", "__proto__", "__proto__", "__proto__"
, "__proto__"] | 41 localScope, ["d", "__proto__", "__proto__", "__proto__", "__proto__"
, "__proto__"] |
37 ]; | 42 ]; |
38 InspectorTest.expandProperties(properties, step3); | 43 InspectorTest.expandProperties(properties, step3); |
39 } | 44 } |
40 | 45 |
41 function step3() | 46 function step3() |
42 { | 47 { |
43 InspectorTest.completeDebuggerTest(); | 48 InspectorTest.completeDebuggerTest(); |
44 } | 49 } |
45 } | 50 } |
46 | 51 |
47 </script> | 52 </script> |
48 </head> | 53 </head> |
49 | 54 |
50 <body onload="runTest()"> | 55 <body onload="runTest()"> |
51 <p> | 56 <p> |
52 Tests that object's __proto__ property is present in object properties section w
hen | 57 Tests that object's __proto__ property is present in object properties section w
hen |
53 script is paused on a breakpoint.<a href="https://bugs.webkit.org/show_bug.cgi?i
d=41214">Bug 41214</a> | 58 script is paused on a breakpoint.<a href="https://bugs.webkit.org/show_bug.cgi?i
d=41214">Bug 41214</a> |
54 </p> | 59 </p> |
55 | 60 |
56 </body> | 61 </body> |
57 </html> | 62 </html> |
OLD | NEW |