During test for bug 831664, funny phenomenon was observed. (0) A customized ToolBar button does following. (a) Write data of some wrapped objects and text messages to Error Console: - incomingServer.isGMailServer/trasfFolderName and some other attributes. - some properties of some other wrapped objects. (b) Sometimes, change incomingServer.isGMailServer/trashFolderName value when value is normally returned. (c) Sometimes, try to change incomingServer.isGMailServer/trashFolderName value even if it's undefined(=> Exception of this bug occurs) (d) Sometimes, writes very-long/multi-line text to Error Console. var msg=new Array();for(var key in obj){msg[msg.length]=key+" = "+obj[key];} var text=msg.join("\n"); Write text to Error Console;
(1) After restart of Thunderbird, while doing (a)/(b)/(c), undefined is returned for isGMailServer/trashFolderName. (2) When (d) is executed one or a few times("clear Error Console or not" seems irrelevant), isGMailServer/trashFolderName is normally returned suddenly for (a)/(b)/(c). Because isGMailServer/trashFolderName is not undefined, change of property value is successful. (3) After (2), if (a)/(b)/(c) is executed after some other operations in Thunderbird(account switch, account collapse/expand etc.), undefined is suddenly returned again for isGMailServer/trashFolderName. (4) After (3), if (d) is executed one(or a few) times, isGMailServer/trashFolderName is normally returned again for (a)/(b)/(c) => Returns to step (2). Why wrapped object's property value depends on length of JavaScript string data and/or Error Console log data volume? Wrapper tries to refer to non-existent memory address, or object which is not released yet by Garbage Collector after Destroy Object? (if garbage data is fortunately held at referred memory address, object's property is successfully shown.) Or similar problem in object initialization/update by Thunderbird? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to firefox in Ubuntu. https://bugs.launchpad.net/bugs/605513 Title: Get uncaught exception when populating a form in FireFox 3.6 Status in The Mozilla Firefox Browser: Confirmed Status in “firefox” package in Ubuntu: Triaged Bug description: Binary package hint: firefox When populating an input field on a form in Firefox (Linux or Windows) where I select or just pass the mouse over one of the historical suggestions that drops down while inputting, I receive the following error: Error: 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 825" data: no] I do not receive the error in Google Chrome ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: firefox 3.6.6+nobinonly-0ubuntu0.10.04.1 ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5 Uname: Linux 2.6.32-23-generic i686 Architecture: i386 Date: Wed Jul 14 10:02:01 2010 FirefoxPackages: firefox 3.6.6+nobinonly-0ubuntu0.10.04.1 firefox-gnome-support 3.6.6+nobinonly-0ubuntu0.10.04.1 firefox-branding 3.6.6+nobinonly-0ubuntu0.10.04.1 abroswer N/A abrowser-branding N/A InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: firefox To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/605513/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp