Re: [w3c/uievents] Clearly specify initUIEvent (#133)

Yes, Chromium's IDL is effectively this:
```WebIDL
void initUIEvent(optional DOMString type = "",
                 optional boolean bubbles = false,
                 optional boolean cancelable = false,
                 optional Window? view = null,
                 optional long detail = 0);
```

As in https://github.com/whatwg/dom/issues/387, I think we should make the first argument non-optional and make the rest optional with defaults.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/133#issuecomment-281883845

Received on Thursday, 23 February 2017 03:33:00 UTC