[Webkit-unassigned] [Bug 180005] [GTK][WPE] Add "enable-encryptedmedia" property to WebKitWebSettings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 27 03:29:22 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=180005

--- Comment #8 from Yacine Bandou <bandou.yacine at gmail.com> ---
(In reply to Michael Catanzaro from comment #6)
> Comment on attachment 327550 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=327550&action=review
> 
> I was going to give this r- for the reason I mentioned above, and ask you to
> change the runtime default to depend on ENABLE_ENCRYPTED_MEDIA instead...
> but now that Carlos Lopez has pointed out there is precedent for having API
> that does not work except in custom builds, I guess we might as well. But
> please do document that it as Carlos Lopez requested.
> 
> By the way, it's interesting that you've pointed out that it is currently
> impossible to enable encrypted media support. I wonder how long it has been
> since anybody has tried to test this. Probably a long time.
> 
> > Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:1305
> > +        g_param_spec_boolean("enable-encryptedmedia",
> 
> Please separate:
> 
> PROP_ENABLE_ENCRYPTED_MEDIA
> 
> "enable-encrypted-media"
> 
> > Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:3169
> > + * webkit_settings_get_enable_encryptedmedia:
> 
> encrypted_media for the function names too.
> 
> > Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp:3174
> > + * Returns: %TRUE If EncryptedMedia support is enabled or %FALSE otherwise.
> 
> "if" (lowercase)

Thank you for the review, I have just attached a new patch with your proposals

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


More information about the webkit-unassigned mailing list