Google グループは Usenet の新規の投稿と購読のサポートを終了しました。過去のコンテンツは引き続き閲覧できます。
Dismiss

[Hendrix] Javascript engine issues

閲覧: 47 回
最初の未読メッセージにスキップ

Zach Stein

未読、
2009/07/08 16:26:432009/07/08
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

未読、
2009/07/29 18:58:322009/07/29
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 件