Firefox 3.0.6 AutoComplete Bug

Firefox bug imageFirefox 3.0.6 has been released but autocomplete bug still lives. Get rid of the bug when working on your JavaScript project.

This Firefox bug is harmless and safe to ignore as described on this page.

Some Javascript developers mistakenly see it as the culprit when something is not working in their scripts and exceptions like below appearing in their error console.

uncaught exception: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: chrome://global/content/bindings/autocomplete.xml :: onxblpopuphiding :: line 834" data: no]

For many of us, web designers and developers, the bug is too much annoying especially when troubleshooting or debugging browser side scripts on Firefox. So it is best to suppress it until the real source of the problem is located and fixed.

  • Turn OFF Firefox autocomplete feature

    1. On the menu, click Tools --> Options
    2. Click on Privacy tab
    3. Clear the Remember what I enter in forms and the search bar check box
    4. Then click OK button.
  • Comment out the buggy code in autocomplete.xml

    This method is useful when you need the autocomplete functionality in Firefox while fixing scripts.

    1. Get a software that can read and update scripts inside JAR archive files
    2. Locate your Mozilla Firefox chrome folder (usually, "C:\Program Files\Mozilla Firefox\chrome" on Microsoft Windows")
    3. Open toolkit.jar, inside it, open content/global/bindings/autocomplete.xml with your favourite editor
    4. Go to line 834, you will see something like

      this.mInput.mIgnoreFocus = true;

    5. Put a double slash at the beginning of that line so it would read as

      //this.mInput.mIgnoreFocus = true;

    6. Save it and you're done.
Comments
 - Infomist Services
2009-05-07 09:20:23
Thanks Firefox
KirtiKumar
2009-07-13 10:38:08
Thanks a lot ,It helps
Edward Norton
2010-01-06 16:06:03
I really liked your method. thanks for sharing this:) hope many people will find it useful as I did. have read lots of articles on the topic downloaded by rapidshare SE , but have never thought that could be so easy
Anonymous
2010-01-18 01:45:03
Ive had the same problem with uncaught exception: thanks for your help. Rapidshare Search
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."