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

Side by Side Diff: LayoutTests/inspector/console/console-format.html

Issue 317703003: DevTools: Show internal properties in object preview in console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed tests Created 6 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-format-es6.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 6
7 // Global Values 7 // Global Values
8 var globals = []; 8 var globals = [];
9 9
10 function log(current) 10 function log(current)
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 }); 59 });
60 var negZero = 1 / Number.NEGATIVE_INFINITY; 60 var negZero = 1 / Number.NEGATIVE_INFINITY;
61 61
62 var arrayLikeFunction = function() {}; 62 var arrayLikeFunction = function() {};
63 arrayLikeFunction.splice = function() {}; 63 arrayLikeFunction.splice = function() {};
64 64
65 globals = [ 65 globals = [
66 regex1, regex2, str, str2, error, errorWithMessage, node, func, multilin efunc, num, linkify, 66 regex1, regex2, str, str2, error, errorWithMessage, node, func, multilin efunc, num, linkify,
67 null, undefined, valuelessAttribute, valuedAttribute, existingAttribute, throwingLengthGetter, 67 null, undefined, valuelessAttribute, valuedAttribute, existingAttribute, throwingLengthGetter,
68 NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [fun ction() {}], bar, svg, 68 NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [fun ction() {}], bar, svg,
69 objectWithNonEnumerables, negZero, Object.create(null), Object, Object.p rototype, arrayLikeFunction 69 objectWithNonEnumerables, negZero, Object.create(null), Object, Object.p rototype, arrayLikeFunction,
70 new Number(42), new String("abc")
70 ]; 71 ];
71 72
72 runTest(); 73 runTest();
73 } 74 }
74 75
75 function test() 76 function test()
76 { 77 {
77 InspectorTest.hideInspectorView(); 78 InspectorTest.hideInspectorView();
78 InspectorTest.evaluateInPage("globals.length", loopOverGlobals.bind(this, 0) ); 79 InspectorTest.evaluateInPage("globals.length", loopOverGlobals.bind(this, 0) );
79 80
(...skipping 30 matching lines...) Expand all
110 } 111 }
111 </script> 112 </script>
112 </head> 113 </head>
113 114
114 <body onload="onload()"> 115 <body onload="onload()">
115 <div id="x"></div> 116 <div id="x"></div>
116 <p id="p">Tests that console logging dumps proper messages.</p> 117 <p id="p">Tests that console logging dumps proper messages.</p>
117 </body> 118 </body>
118 <svg id="svg-node"></svg> 119 <svg id="svg-node"></svg>
119 </html> 120 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-format-es6.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698