> http://mxr.mozilla.org/comm-central/source/mozilla/js/xpconnect/src/XPCWrappedNativeJSOps.cpp#481 > 481 XPC_WN_OnlyIWrite_SetPropertyStub(JSContext *cx, JSHandleObject obj, > JSHandleId id, JSBool strict, > 484 return XPC_WN_OnlyIWrite_AddPropertyStub(cx, obj, id, vp); > http://mxr.mozilla.org/comm-central/source/mozilla/js/xpconnect/src/XPCWrappedNativeJSOps.cpp#467 > 467 XPC_WN_OnlyIWrite_AddPropertyStub(JSContext *cx, JSHandleObject obj, > JSHandleId id, JSMutableHandleValue vp) > 473 // Allow only XPConnect to add/set the property > 474 if (ccx.GetResolveName() == id) > 475 return true; > 477 return Throw(NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN, cx);
If apparent AddPropertyStub request for non-existent property, it should be NS_ERROR_XPC_CANT_CREATE_WN, or NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE, or one like NS_ERROR_XPC_CANT_CREATE_PROP_ON_WN. If XPC_WN_OnlyIWrite_SetPropertyStub is called both when "setting of existent property" and "stting non-existent property" case, they should be separated to NS_ERROR_XPC_CANT_CREATE_WN(or NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE or one like NS_ERROR_XPC_CANT_CREATE_PROP_ON_WN) case and NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN case. > http://mxr.mozilla.org/comm-central/source/mozilla/xpcom/base/ErrorList.h#608 > 608 ERROR(NS_ERROR_XPC_CANT_CREATE_WN, FAILURE(25)), > http://mxr.mozilla.org/comm-central/source/mozilla/xpcom/base/ErrorList.h#629 > 629 ERROR(NS_ERROR_XPC_CANT_ADD_PROP_TO_WRAPPED_NATIVE, FAILURE(46)), > http://mxr.mozilla.org/comm-central/source/mozilla/xpcom/base/ErrorList.h#635 > 635 ERROR(NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN, FAILURE(52)), -- 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