[whatwg/dom] initEvent should not require three parameters (#387)

I have found many instances of web content calling initEvent with only one parameter.  Matching the current spec makes these pages not work, showing up as unresponsive blank white pages.

I therefore propose changing this:
void initEvent(DOMString type, boolean bubbles, boolean cancelable); // historical
to this:
void initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // historical

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/387

Received on Tuesday, 20 December 2016 23:02:59 UTC