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

Unified Diff: LayoutTests/inspector/debugger/debugger-expand-scope.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/debugger/debugger-expand-scope.html
diff --git a/LayoutTests/inspector/debugger/debugger-expand-scope.html b/LayoutTests/inspector/debugger/debugger-expand-scope.html
index 3d9aceeeaea6b086098d473eaef20e90c17916d9..448cf4e4edc4fc12ea9af56554ab9fff29326baf 100644
--- a/LayoutTests/inspector/debugger/debugger-expand-scope.html
+++ b/LayoutTests/inspector/debugger/debugger-expand-scope.html
@@ -8,6 +8,8 @@ function makeClosure(n) {
var makeClosureLocalVar = 'local.' + n;
return function innerFunction(x) {
var innerFunctionLocalVar = x + 2;
+ var negInf = -Infinity;
+ var negZero = 1 / negInf;
try {
throw new Error("An exception");
} catch (e) {

Powered by Google App Engine
This is Rietveld 408576698