-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Since initUIEvent probably isn't going away anytime soon. It should be clearly documented with respect to its arguments instead of its current specification of no arguments.
It is present in multiple browsers according to MDN; https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent
We need to decide what the actual specified behavior is:
Chromium has this:
void initUIEvent([Default=Undefined] optional DOMString type,
[Default=Undefined] optional boolean bubbles,
[Default=Undefined] optional boolean cancelable,
[Default=Undefined] optional Window? view,
[Default=Undefined] optional long detail);
But it identifies that all the values should not be optional. We need to figure out what other vendors have.