[javascript] DOM incompatibility between FF2 and FF3

Bug #223823 reported by Zenigata
4
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

Changing the DOM in FF3 cause a lot of code rewriting, for example that code :

this.scroll.up = this.base.getElementsByClassName("scrollup").reduce();

used to be corect in FF2, but in FF3 you have to cast the result of getElementsByClassName("scrollup") to array.

It would be nice to have all the functions of Array existing on the object returned by this in FF3.

in FF3 the working code is

this.scroll.up = Array.from(this.base.getElementsByClassName("scrollup")).reduce()

So, maybe it is a feature, but if so, I'd like to know the interest of doing this.

Regards

--
Z.

ProblemType: Bug
Architecture: amd64
Date: Mon Apr 28 20:02:07 2008
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: fglrx ath_hal
Package: firefox-3.0 3.0~b5+nobinonly-0ubuntu3
PackageArchitecture: amd64
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=fr_FR.UTF-8
 SHELL=/bin/zsh
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-16-generic x86_64

Tags: apport-bug
Revision history for this message
Zenigata (drebon) wrote :
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

 Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in firefox-3.0:
status: New → Incomplete
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

 We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in firefox-3.0:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.