We should rename NPCocoaEvent's "event" structure to "data" to avoid things like "event->event.draw.x" and "event.event.draw.x". People tend to name the NPCocoaEvent "event" and it doesn't read well. This happens often in WebKit's impl and it'll happen all over plugin code written for the Cocoa event model. We'd change the spec here: https://wiki.mozilla.org/Mac:NPAPI_Event_Models
Created attachment 22878 [details] fix v1.0
Comment on attachment 22878 [details] fix v1.0 r=me
<rdar://problem/6163636>
Committed revision 35861.