Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Hendrix] Javascript engine issues

46 views
Skip to first unread message

Zach Stein

unread,
Jul 8, 2009, 4:26:43 PM7/8/09
to
Name: Zach Stein
Product: Firefox
Summary: Javascript engine issues

Comments:
When trying to manipulate a new object in the DOM via javascript
(hiding/unhiding) in firefox (Mozilla/5.0 (X11; U; Linux x86_64; en-US;
rv:1.9.1) Gecko/20090706 Gentoo Firefox/3.5) running on [Linux localhost
2.6.26.2KFC #5 SMP PREEMPT Tue Jun 2 12:57:51 EDT 2009 x86_64 Intel(R)
Core(TM)2 Duo CPU T5750 @ 2.00GHz GenuineIntel GNU/Linux] Gentoo Linux,
Instead of allowing me to manipulate the object, this error is bubbled
up into the javascript error console. It appears to be a core
error/exception.

Error: [Exception... "update.locale file doesn't exist in either the
XCurProcD or GreD directories" nsresult: "0x80520012
(NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
file:///usr/lib64/xulrunner-1.9.1/components/nsUpdateService.js ::
getLocale :: line 549" data: no]
Source File: file:///usr/lib64/xulrunner-1.9.1/components/nsUpdateService.js
Line: 549


Hopefully this is just a missing file as it appears. This error does
not appear in previous versions of firefox, and the offending javascript
works in midori, safari, chrome, IE8 and opera.

Here is a copy of the offending javascript, broken out of the original
function and placed inline for testing purposes (same error if used
inline or with jquery's live events):

(where ##### is a uniquely generated ID that came out of the
application's database)

<a href="" onclick="$('#membership#######').hide();
$('.user-delete').hide(); return false;">delete</a>

Browser Details: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1) Gecko/20090706 Gentoo Firefox/3.5
From URL: http://hendrix.mozilla.org/

Note to readers: Hendrix gives no expectation of a response to this feedback
but if you wish to provide one you must BCC (not CC) the sender for them to
see it.

Hrzio

unread,
Jul 29, 2009, 6:58:32 PM7/29/09
to


Just create the file update.locale with this command:

touch /usr/lib/firefox-3.5.1/update.locale

Note: the Firefox directory may be another, depending on your version

0 new messages