Steps to reproduce
Per WebIDL, Edge should be throwing when the 2nd parameter to addEventListener is false (like Firefox does today).
Note Chrome also does not throw, but will be changing behavior to match eventually.
expected: throws a TypeError
actual: registers a listener? Silently fails?
Same goes for removeEventListener.
Comments and activity
Note, this issue was found by BorisZ of Mozilla and filed on his behalf.
- Microsoft Edge Team
Changed Assigned To to “Brad E.”
Changed Status to “Not reproducible”
Thank you for providing this information about the issue. The problem appears to be fixed as we cannot replicate it in Edge 14393 public stable release and the behavior exhibited matches the other browsers. Please reopen this case if you have new information for us to consider.
The MS Edge Team