Public bug reported:

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

** Affects: firefox-3.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
[javascript] DOM incompatibility between FF2 and FF3
https://bugs.launchpad.net/bugs/223823
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to