This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Legacy KeyboardEvent.initKeyboardEvent() method (https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#idl-interface-KeyboardEvent-initializers) doesn't fit into any implementations. IE missing 'detail' and add 'locale' (http://msdn.microsoft.com/en-us/library/ie/ff975297%28v=vs.85%29.aspx). Chrome is incompatible with D3E. In Firefox this method was implemented in Nightly 31 like D3E defined (https://bugzilla.mozilla.org/show_bug.cgi?id=930893) but breaks feature detection and fast removed (https://bugzilla.mozilla.org/show_bug.cgi?id=999645). This should be somehow defined correctly or completely remove from the specification (if there is no compromise).
I think we should align this with IE, which has been shipping this the longest, and then continue to support the "deprecated" state of this API.
(I also need to check initCompositionEvent... since 'locale' may have been present also...)
initCompositionEvent() was already discussed and corrected: https://www.w3.org/Bugs/Public/show_bug.cgi?id=25295#c3 but still with small bug with nullable for .locale (and maybe .data) https://www.w3.org/Bugs/Public/show_bug.cgi?id=25405#c2
initKeyboardEvent has been reverted back to its earlier compatible argument list (similar to initCompositionEvent). I added a few notes in case anyone notices the oddity about these two method signatures. This should at least align with IE which has shipped this for quite a few years now. https://dvcs.w3.org/hg/dom3events/rev/54f8f8612b94