From db2a6ba0a332645526d6345eb28b4b69803a8680 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 23 Sep 2010 08:49:49 -0400 Subject: [PATCH] Get rid of the 'jsdebugger' completion message on FF4. --- common/content/javascript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/javascript.js b/common/content/javascript.js index 7c29f69b..e355310b 100644 --- a/common/content/javascript.js +++ b/common/content/javascript.js @@ -309,7 +309,7 @@ const JavaScript = Module("javascript", { _complete: function (objects, key, compl, string, last) { const self = this; - if (!options["jsdebugger"] && !this.context.message) + if (!window.Object.getOwnPropertyNames && !options["jsdebugger"] && !this.context.message) this.context.message = "For better completion data, please enable the JavaScript debugger (:set jsdebugger)"; let orig = compl;