You need to
before you can comment on or make changes to this bug.
Our implementation of KeyboardEvent::initKeyboardEvent doesn't match the DOM Level 3 Events spec.
See the spec here:
See current implementation of the method here:
Our implementation takes 5 booleans representing the state of the 5 modifier keys, while the spec defines the last argument of the method to be DOMString containing a space-separated list of modifier keys.
It looks like WebKit is implementing an old version of this method. http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/events.html#Events-KeyboardEvents-Interfaces contains a definition that matches WebKit's, and it looks like WebKit's method was checked in on 2003-10-20 (http://trac.webkit.org/projects/webkit/changeset/5226)
We should consider implementing this in a custom way so that both versions work.
Sorry, I meant bug 16735.