patch: make event property writeable
David Faure
faure at kde.org
Tue Jun 8 18:39:31 CEST 2004
On Tuesday 18 November 2003 05:41, Maciej Stachowiak wrote:
>
> Some sites, believe it or not, want to define a top-level function
> called event and hang if they can't, this patch allows them to:
Doesn't this trigger bad side effects with all those sites which want to
set "event" for browsers that didn't support it (NS 4?)
I see e.g. sites doing
if (oldbrowser) event=null;
This is to prevent event being undefined on NS4 (iirc), but won't this break
khtml since the real "event" won't be accessible anymore?
Did you test whether 'event' was writeable in IE?
--
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