[Pkg-mozext-commits] [firebug] 08/21: #7923 The functions executed from the command line shows internal errors

David Prévot taffit at moszumanska.debian.org
Tue Sep 15 16:17:06 UTC 2015


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

taffit pushed a commit to branch master
in repository firebug.

commit 6bd2142f42f68991400436e6ef3afdf47946eed2
Author: Florent FAYOLLE <florent.fayolle69 at gmail.com>
Date:   Wed Aug 5 20:58:32 2015 +0200

     #7923 The functions executed from the command line shows internal errors
---
 extension/content/firebug/console/commandLineExposed.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/extension/content/firebug/console/commandLineExposed.js b/extension/content/firebug/console/commandLineExposed.js
index f0cdc28..dbaa0e7 100644
--- a/extension/content/firebug/console/commandLineExposed.js
+++ b/extension/content/firebug/console/commandLineExposed.js
@@ -489,6 +489,8 @@ function handleException(exc, origExpr, context, onError, dbgGlobal)
     {
         Obj.getPropertyNames(exc).forEach(function(prop)
         {
+            if (prop === '__proto__')
+                return;
             result[prop] = exc[prop];
         });
         result.stack = exc.stack;

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



More information about the Pkg-mozext-commits mailing list