[Pkg-javascript-commits] [uglifyjs] 135/491: suppress false positives for-in loops (#2080)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:29 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 5ef7cb372abf82f28d7f1b014fd0ddb2ef5bdec8
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Sat Jun 10 13:55:17 2017 +0800

    suppress false positives for-in loops (#2080)
    
    fixes #2079
---
 test/sandbox.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/sandbox.js b/test/sandbox.js
index cb1e18c..fe2e588 100644
--- a/test/sandbox.js
+++ b/test/sandbox.js
@@ -19,7 +19,7 @@ function safe_log(arg, level) {
 
 var FUNC_TOSTRING = [
     "Function.prototype.toString = Function.prototype.valueOf = function() {",
-    "    var id = 0;",
+    "    var id = 100000;",
     "    return function() {",
     '        if (this === Array) return "[Function: Array]";',
     '        if (this === Object) return "[Function: Object]";',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list