<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add stub implementation of MediaSession, part of Media Session spec"
href="https://bugs.webkit.org/show_bug.cgi?id=145530#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Add stub implementation of MediaSession, part of Media Session spec"
href="https://bugs.webkit.org/show_bug.cgi?id=145530">bug 145530</a>
from <span class="vcard"><a class="email" href="mailto:mrajca@apple.com" title="Matt Rajca <mrajca@apple.com>"> <span class="fn">Matt Rajca</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=254071&action=diff" name="attach_254071" title="Patch (revised)">attachment 254071</a> <a href="attachment.cgi?id=254071&action=edit" title="Patch (revised)">[details]</a></span>
Patch (revised)
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=254071&action=review">https://bugs.webkit.org/attachment.cgi?id=254071&action=review</a>
<span class="quote">>> 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?</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>