Package: mozilla-firefox Version: 1.0.4-2 Severity: minor URL: http://www.torrentspy.com/searchplugins.asp Mozilla bug ID: #296939 Bug URL: https://bugzilla.mozilla.org/show_bug.cgi?id=296939
When attempting to install the search plugin at the aforementioned address, the JS console lists a couple of warnings to do with nsExtensionManager.js: Warning: useless expression Source File: file:///usr/lib/mozilla-firefox/components/nsExtensionManager.js Line: 334 Warning: useless expression Source File: file:///usr/lib/mozilla-firefox/components/nsExtensionManager.js Line: 337 Looking at the code, these are the offending lines: function stackTraceFunctionFormat(aFunctionName) { var classDelimiter = aFunctionName.indexOf("_"); var className = aFunctionName.substr(0, classDelimiter); if (!className) className == "<global>"; // <---- ## HERE ## var functionName = aFunctionName.substr(classDelimiter + 1, aFunctionName.length); if (!functionName) functionName == "<anonymous>"; // <---- ## HERE ## return className + "::" + functionName; } (n.b. the ## HERE ## comments added) Looking at the code, a = may be intended instead of a ==. Not sure if this is a Debian-specific bug; or a general Firefox bug. Reproducible: Always Steps to Reproduce: 1. Goto the aforementioned URL 2. Click on the Download Here link 3. Open the JS console Actual Results: The warning messages as previously discussed show in the JS Console Expected Results: Warnings should not be given. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11.10 Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Versions of packages mozilla-firefox depends on: ii debianutils 2.13.2 Miscellaneous utilities specific t ii fontconfig 2.3.2-1 generic font configuration library ii libatk1.0-0 1.8.0-4 The ATK accessibility toolkit ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libfontconfig1 2.3.2-1 generic font configuration library ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib ii libgcc1 1:3.4.3-13 GCC support library ii libglib2.0-0 2.6.4-1 The GLib library of C routines ii libgtk2.0-0 2.6.4-3 The GTK+ graphical user interface ii libidl0 0.8.5-1 library for parsing CORBA IDL file ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii libkrb53 1.3.6-3 MIT Kerberos runtime libraries ii libpango1.0-0 1.8.1-1 Layout and rendering of internatio ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libstdc++5 1:3.3.6-5 The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte ii libxft2 2.1.7-1 FreeType-based font drawing librar ii libxp6 4.3.0.dfsg.1-14 X Window System printing extension ii libxt6 4.3.0.dfsg.1-14 X Toolkit Intrinsics ii psmisc 21.6-1 Utilities that use the proc filesy ii xlibs 4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]