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

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

Issue 2553293002: DevTools: add tooltip for truncated classnames and full name for title (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt » ('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 5
6 <script> 6 <script>
7 // Global Values 7 // Global Values
8 var globals = []; 8 var globals = [];
9 9
10 function log(current) 10 function log(current)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 }); 60 });
61 var negZero = 1 / Number.NEGATIVE_INFINITY; 61 var negZero = 1 / Number.NEGATIVE_INFINITY;
62 var textNode = document.getElementById("x").nextSibling; 62 var textNode = document.getElementById("x").nextSibling;
63 var arrayLikeFunction = function( /**/ foo/**/, /*/**/bar, 63 var arrayLikeFunction = function( /**/ foo/**/, /*/**/bar,
64 /**/baz) {}; 64 /**/baz) {};
65 arrayLikeFunction.splice = function() {}; 65 arrayLikeFunction.splice = function() {};
66 var smallTypedArray = new Uint8Array(new ArrayBuffer(400)); 66 var smallTypedArray = new Uint8Array(new ArrayBuffer(400));
67 smallTypedArray["foo"] = "bar"; 67 smallTypedArray["foo"] = "bar";
68 var bigTypedArray = new Uint8Array(new ArrayBuffer(400 * 1000 * 1000)); 68 var bigTypedArray = new Uint8Array(new ArrayBuffer(400 * 1000 * 1000));
69 bigTypedArray["FAIL"] = "FAIL: Object.getOwnPropertyNames() should not have been run"; 69 bigTypedArray["FAIL"] = "FAIL: Object.getOwnPropertyNames() should not have been run";
70 var namespace = {};
71 namespace.longSubNamespace = {};
72 namespace.longSubNamespace.x = {};
73 namespace.longSubNamespace.x.className = function(){};
74 var instanceWithLongClassName = new namespace.longSubNamespace.x.className() ;
70 globals = [ 75 globals = [
71 regex1, regex2, str, str2, error, errorWithMessage, errorWithMultilineMe ssage, node, func, multilinefunc, 76 regex1, regex2, str, str2, error, errorWithMessage, errorWithMultilineMe ssage, node, func, multilinefunc,
72 num, linkify, null, undefined, valuelessAttribute, valuedAttribute, exis tingAttribute, throwingLengthGetter, 77 num, linkify, null, undefined, valuelessAttribute, valuedAttribute, exis tingAttribute, throwingLengthGetter,
73 NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [fun ction() {}], bar, svg, 78 NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [fun ction() {}], bar, svg,
74 objectWithNonEnumerables, negZero, Object.create(null), Object, Object.p rototype, arrayLikeFunction, 79 objectWithNonEnumerables, negZero, Object.create(null), Object, Object.p rototype, arrayLikeFunction,
75 new Number(42), new String("abc"), new Uint16Array([1, 2, 3]), textNode, domException(), 80 new Number(42), new String("abc"), new Uint16Array([1, 2, 3]), textNode, domException(),
76 smallTypedArray, bigTypedArray 81 smallTypedArray, bigTypedArray, instanceWithLongClassName
77 ]; 82 ];
78 83
79 runTest(); 84 runTest();
80 } 85 }
81 86
82 function domException() 87 function domException()
83 { 88 {
84 var result = "FAIL"; 89 var result = "FAIL";
85 try { 90 try {
86 var a = document.createElement("div"); 91 var a = document.createElement("div");
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 141 }
137 </script> 142 </script>
138 </head> 143 </head>
139 144
140 <body onload="onload()"> 145 <body onload="onload()">
141 <div id="x"></div> 146 <div id="x"></div>
142 <p id="p">Tests that console logging dumps proper messages.</p> 147 <p id="p">Tests that console logging dumps proper messages.</p>
143 </body> 148 </body>
144 <svg id="svg-node"></svg> 149 <svg id="svg-node"></svg>
145 </html> 150 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698