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

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

Issue 82553008: DevTools: Show -0 for negative zero in console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 7 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
diff --git a/LayoutTests/inspector/console/console-format.html b/LayoutTests/inspector/console/console-format.html
index fbba233f8fc3470a4820c4541a61d40d07f4533a..4357ec257cd5b510d8a6f5fd03a118eefc2858f3 100644
--- a/LayoutTests/inspector/console/console-format.html
+++ b/LayoutTests/inspector/console/console-format.html
@@ -50,12 +50,13 @@ function onload()
getFoo: { value: function() { return this.foo; } },
bar: { get: function() { return this.bar; }, set: function(x) { this.bar = x; } }
});
+ var negZero = 1 / Number.NEGATIVE_INFINITY;
globals = [
regex1, regex2, str, str2, error, errorWithMessage, node, func, multilinefunc, num, linkify,
null, undefined, valuelessAttribute, valuedAttribute, existingAttribute, throwingLengthGetter,
NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [function() {}], bar, svg,
- objectWithNonEnumerables, Object.create(null), Object, Object.prototype
+ objectWithNonEnumerables, negZero, Object.create(null), Object, Object.prototype
];
runTest();
« no previous file with comments | « LayoutTests/inspector/console/console-dir-expected.txt ('k') | LayoutTests/inspector/console/console-format-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698