The DOM3 events spec (http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/events.html#Events-KeyboardEvent) includes a getModifierState method that currently we only implement in the Objective-C bindings. We should implement in KeyboardEvent instead so that it can be used for all the bindings.
Created attachment 11090 [details] patch Moves functionality down from Objective-C DOM file DOMEvents.mm to KeyboardEvent class.
Created attachment 11100 [details] patch 2 Updated based on conversation with mitz in IRC.
Comment on attachment 11100 [details] patch 2 r=me
Landed in r17064.