Since MediaRemoteControls has a parent interface, we need to add the JSGenerateToJSObject attribute so the toJS(...) function gets generated. This is required to get event handling to work.
<rdar://problem/21324790>
Created attachment 254667 [details] Patch
Comment on attachment 254667 [details] Patch Clearing flags on attachment: 254667 Committed r185429: <http://trac.webkit.org/changeset/185429>
All reviewed patches have been landed. Closing bug.