kdelibs/khtml/ecma
David Faure
faure at kde.org
Wed Apr 7 22:08:29 CEST 2004
On Wednesday 07 April 2004 11:52, Harri Porten wrote:
> On Wed, 7 Apr 2004, David Faure wrote:
>
> > Adding browserLanguage as a synonym for language and userLanguage, fixes
> > www.citadines.fr - which Laurent told me about, hmm, 1.5 years ago :}
>
> Should it be enumerable, too? Not that this possible difference should
> break any sane code ...
You mean like if (navigator.browserLanguage) { use evil IE-only code } ?
That would be a weird test :)
Hmm, the above would succeed even if it's not enumerable, anyway....
Doesn't the enumerable flag only affect "for (i in navigator)" ?
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Khtml-devel
mailing list