WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
146560
Creating bindings between WebCore, WebKit2 and Safari for getUserMedia
https://bugs.webkit.org/show_bug.cgi?id=146560
Summary
Creating bindings between WebCore, WebKit2 and Safari for getUserMedia
Matthew Daiter
Reported
2015-07-02 15:33:53 PDT
Needed to create a LOT of binding work in Safari and some binding in WebKit2 and WebCore between the three, in order to call getUserMedia
Attachments
Patch
(11.31 KB, patch)
2015-07-02 15:45 PDT
,
Matthew Daiter
darin
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-07-02 15:39:56 PDT
<
rdar://problem/21661498
>
Matthew Daiter
Comment 2
2015-07-02 15:45:31 PDT
Created
attachment 256042
[details]
Patch
Matthew Daiter
Comment 3
2015-07-02 15:48:26 PDT
(In reply to
comment #0
)
> Needed to create a LOT of binding work in Safari and some binding in WebKit2 > and WebCore between the three, in order to call getUserMedia
Clarification: in order to be able for getUserMedia to actually call into the browser, prompt the user for media access, and then go ahead and try to assess the promise if the constraints are correct.
Darin Adler
Comment 4
2015-07-08 12:33:38 PDT
Comment on
attachment 256042
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=256042&action=review
> Source/WebKit2/ChangeLog:12 > + (API::UIClient::decidePolicyForUserMediaPermissionRequest): Changed to pointers, > + like how Geolocation is doing it.
No, please don’t do that. New code should use references in cases like this.
Matthew Daiter
Comment 5
2015-07-10 10:57:00 PDT
Comment on
attachment 256042
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=256042&action=review
>> Source/WebKit2/ChangeLog:12 >> + like how Geolocation is doing it. > > No, please don’t do that. New code should use references in cases like this.
Sure.
Brent Fulgham
Comment 6
2015-07-22 20:30:54 PDT
You need to fix the gtk build failure as well: WebKitUIClient.cpp:170:18: error: 'virtual bool UIClient::decidePolicyForUserMediaPermissionRequest(WebKit::WebPageProxy&, WebKit::WebFrameProxy&, API::SecurityOrigin&, WebKit::UserMediaPermissionRequestProxy&)' marked override, but does not override
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug