| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../http/tests/inspector/inspector-test2.js"></script> | 3 <script src="../http/tests/inspector/inspector-test2.js"></script> |
| 4 <script src="../http/tests/inspector/debugger-test2.js"></script> | 4 <script src="../http/tests/inspector/debugger-test2.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 var sections = WebInspector.currentPanel.sidebarPanes.scopechain.section
s; | 33 var sections = WebInspector.currentPanel.sidebarPanes.scopechain._sectio
ns; |
| 34 var localScope = sections[0].propertiesTreeOutline; | 34 var localScope = sections[0].propertiesTreeOutline; |
| 35 var properties = [ | 35 var properties = [ |
| 36 localScope, ["o", "__proto__", "__proto__"], | 36 localScope, ["o", "__proto__", "__proto__"], |
| 37 localScope, ["d", "__proto__", "__proto__", "__proto__", "__proto__"
, "__proto__"] | 37 localScope, ["d", "__proto__", "__proto__", "__proto__", "__proto__"
, "__proto__"] |
| 38 ]; | 38 ]; |
| 39 InspectorTest.expandProperties(properties, step3); | 39 InspectorTest.expandProperties(properties, step3); |
| 40 } | 40 } |
| 41 | 41 |
| 42 function step3() | 42 function step3() |
| 43 { | 43 { |
| 44 InspectorTest.completeDebuggerTest(); | 44 InspectorTest.completeDebuggerTest(); |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 </script> | 48 </script> |
| 49 </head> | 49 </head> |
| 50 | 50 |
| 51 <body onload="runTest()"> | 51 <body onload="runTest()"> |
| 52 <p> | 52 <p> |
| 53 Tests that object's __proto__ property is present in object properties section w
hen | 53 Tests that object's __proto__ property is present in object properties section w
hen |
| 54 script is paused on a breakpoint.<a href="https://bugs.webkit.org/show_bug.cgi?i
d=41214">Bug 41214</a> | 54 script is paused on a breakpoint.<a href="https://bugs.webkit.org/show_bug.cgi?i
d=41214">Bug 41214</a> |
| 55 </p> | 55 </p> |
| 56 | 56 |
| 57 </body> | 57 </body> |
| 58 </html> | 58 </html> |
| OLD | NEW |