[Webkit-unassigned] [Bug 145530] Add stub implementation of MediaSession, part of Media Session spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 2 12:18:21 PDT 2015


--- Comment #7 from Matt Rajca <mrajca at apple.com> ---
Comment on attachment 254071
  --> https://bugs.webkit.org/attachment.cgi?id=254071
Patch (revised)

View in context: https://bugs.webkit.org/attachment.cgi?id=254071&action=review

>> Source/WebCore/Modules/mediasession/MediaSession.h:46
>> +    MediaRemoteControls* controls(bool& isNull);
> Where does this signature come from? We haven’t ever used this in the past for bindings. Is this some new approach?

In the Media Session spec, the 'controls' attribute is a nullable type (denoted by a ?). Accessors for nullable types are expected to set a reference parameter indicating whether the value is null. We can also see this pattern in geolocation/Coordinates.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150602/dcf2a8c5/attachment.html>

More information about the webkit-unassigned mailing list