Closed benel closed 12 years ago
One of my user reports that the following error message appears since LaSuli is installed in version 10 of Firefox.
Error: TypeError: xulItems[item].getAttribute is not a function
This message is featured each time Firefox is launched.
However other users does not report such a message. Thus, this message may or may not be related to this issue.
This is not LaSuli error information. ;)
I tried to rebuild LaSuli and to test it against automated validation tests.
There are no errors, but some warnings seem to indicate that the code could be restricted from doing what was intended. In particular:
An attempt was made to overwrite a global variable in some JavaScript code.
It appears that an extension of a built-in JS type was made. This is not allowed for security and compatibility reasons.
Ah. I finally found what changed in Firefox 10 for add-ons: http://blog.mozilla.com/addons/2011/12/01/compatibility-for-firefox-10/
Is there anything here that is used by LaSuli?
isSameNode
has been removed and it's used in:
The ===
operator is advised to be used instead to compare nodes.
@christophe-lejeune, could you please confirm that your users don't have the problem anymore with this updated XPI so that I can close the issue?
I have just asked my users. I will transmit their reports as soon as they are available.
Fixed for the reporters.
As reported by @christophe-lejeune, version 10 of Firefox prevents LaSuli from creating an highlight. Argos logs show that the PUT method to the item was never sent.
Possibly related behaviors: