[Bug 20713] Consider defining window.event and Event.srcElement

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20713

--- Comment #15 from Boris Zbarsky <bzbarsky@mit.edu> ---
> It's a mutation of the code in comment #6 that seems almost certain to have
> happened.

It has, in the past, but it's common knowledge that this doesn't work in
Firefox, so people are a bit more careful now.

> Which specific other IE-isms are you concerned about?

I've seen people assume all sorts of things if window.event over the years. 
What they assume right now is something we'd need data on.

> We should either standardize or remove them

Sounds nice, depending on what they are.  Just watch out for the assumptions
being ones we can't do either one with, like some of the irreconcilable
differences in ES behavior (e.g. around handling of function declarations
inside conditionals).

What's needed is data.  Assuming we want to go in this direction, of course. 
It may actually be simpler to remove window.event from all UAs than to get
sufficient data on what breaks if it's added and what other crud then has to
become part of the web platform forever.

Note that we haven't even started the conversation about what behavior
window.event should have, which is not at all obvious to me either.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 22 December 2014 19:33:17 UTC