Title: [185429] trunk/Source/WebCore
Revision
185429
Author
[email protected]
Date
2015-06-10 13:50:48 -0700 (Wed, 10 Jun 2015)

Log Message

MediaRemoteControls should be marked JSGenerateToJSObject.
https://bugs.webkit.org/show_bug.cgi?id=145849

Patch by Matt Rajca <[email protected]> on 2015-06-10
Reviewed by Eric Carlson.

Since MediaRemoteControls has a parent interface, we need to add the JSGenerateToJSObject attribute so the
toJS(...) function gets generated. This is required for event handling to work.

* Modules/mediasession/MediaRemoteControls.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (185428 => 185429)


--- trunk/Source/WebCore/ChangeLog	2015-06-10 20:47:15 UTC (rev 185428)
+++ trunk/Source/WebCore/ChangeLog	2015-06-10 20:50:48 UTC (rev 185429)
@@ -1,3 +1,15 @@
+2015-06-10  Matt Rajca  <[email protected]>
+
+        MediaRemoteControls should be marked JSGenerateToJSObject.
+        https://bugs.webkit.org/show_bug.cgi?id=145849
+
+        Reviewed by Eric Carlson.
+
+        Since MediaRemoteControls has a parent interface, we need to add the JSGenerateToJSObject attribute so the
+        toJS(...) function gets generated. This is required for event handling to work.
+
+        * Modules/mediasession/MediaRemoteControls.idl:
+
 2015-06-10  Dean Jackson  <[email protected]>
 
         User can not scroll on page when dragging inside video

Modified: trunk/Source/WebCore/Modules/mediasession/MediaRemoteControls.idl (185428 => 185429)


--- trunk/Source/WebCore/Modules/mediasession/MediaRemoteControls.idl	2015-06-10 20:47:15 UTC (rev 185428)
+++ trunk/Source/WebCore/Modules/mediasession/MediaRemoteControls.idl	2015-06-10 20:50:48 UTC (rev 185429)
@@ -28,6 +28,7 @@
     Constructor,
     ConstructorCallWith=ScriptExecutionContext,
     EventTarget,
+    JSGenerateToJSObject,
 ] interface MediaRemoteControls : EventTarget {
     attribute boolean previousTrackEnabled;
     attribute boolean nextTrackEnabled;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to