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

Unified Diff: LayoutTests/inspector/console/console-format.html

Issue 11415185: Merge 134053 - Web Inspector: wrong output for empty object {} (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/console/console-format.html
===================================================================
--- LayoutTests/inspector/console/console-format.html (revision 136037)
+++ LayoutTests/inspector/console/console-format.html (working copy)
@@ -12,6 +12,9 @@
console.log('Message format number %i, %d and %f', 1, 2, 3.5);
console.log('Message %s for %s', 'format', 'string');
console.log('Object %o', {'foo' : 'bar' });
+ var foo = { foo: "foo"};
+ var bar = { bar: "bar" };
+ bar.__proto__ = foo;
var array = ["test", "test2"]; array.length = 10;
array.foo = {};
@@ -43,7 +46,7 @@
globals = [
regex1, regex2, str, str2, error, node, func, multilinefunc, num, linkify,
null, undefined, valuelessAttribute, valuedAttribute, existingAttribute, throwingLengthGetter,
- NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array
+ NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [function() {}], bar
];
runTest();

Powered by Google App Engine
This is Rietveld 408576698