Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-proto-property.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
11 C.prototype = { 11 C.prototype = {
12 m: function() { } 12 m: function() { }
13 } 13 }
14 14
15 function testFunction() 15 function testFunction()
16 { 16 {
17 var o = new C(); 17 var o = new C();
18 var d = document.documentElement; 18 var d = document.documentElement;
19 debugger; 19 debugger;
20 } 20 }
21 21
22 function test() 22 function test()
23 { 23 {
24 InspectorTest.startDebuggerTest(step1); 24 InspectorTest.startDebuggerTest(step1);
25 25
26 function step1() 26 function step1()
27 { 27 {
28 InspectorTest.addSniffer(WebInspector.ScopeChainSidebarPane.prototype, " _sidebarPaneUpdatedForTest", onSidebarRendered, true); 28 InspectorTest.addSniffer(Sources.ScopeChainSidebarPane.prototype, "_side barPaneUpdatedForTest", onSidebarRendered, true);
29 InspectorTest.runTestFunctionAndWaitUntilPaused(() => {}); 29 InspectorTest.runTestFunctionAndWaitUntilPaused(() => {});
30 } 30 }
31 31
32 function onSidebarRendered() 32 function onSidebarRendered()
33 { 33 {
34 var localScope = InspectorTest.scopeChainSections()[0].objectTreeElement (); 34 var localScope = InspectorTest.scopeChainSections()[0].objectTreeElement ();
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 ];
(...skipping 10 matching lines...) Expand all
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698