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

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |bzbarsky@mit.edu
         Resolution|FIXED                       |---

--- Comment #6 from Boris Zbarsky <bzbarsky@mit.edu> ---
> 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.

Received on Wednesday, 4 December 2013 02:17:30 UTC