[Bug 23186] EventListener argument of addEventListener and removeEventListener should not be nullable

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23186

Boris Zbarsky <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |[email protected]
         Resolution|FIXED                       |---

--- Comment #6 from Boris Zbarsky <[email protected]> ---
> But I don't see the point of allowing this parameter to be non-null.

The point would be if there is code on the web that does that and doesn't
expect an exception.

Given that no UA throws on null here, I don't think the spec should require the
throwing behavior, unless you have some sort of indication that it is in fact
web-compatible.  Which I doubt it is, frankly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.