WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
164643
[MediaStream] defer resolution of getUserMedia promise made in a background tab
https://bugs.webkit.org/show_bug.cgi?id=164643
Summary
[MediaStream] defer resolution of getUserMedia promise made in a background tab
Eric Carlson
Reported
2016-11-11 10:56:36 PST
Don't prompt the user for device access or start media streams when a tab is in the background.
Attachments
Proposed patch.
(23.43 KB, patch)
2016-11-11 12:39 PST
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2016-11-11 10:57:23 PST
<
rdar://problem/29048317
>
Eric Carlson
Comment 2
2016-11-11 12:39:50 PST
Created
attachment 294519
[details]
Proposed patch.
Brady Eidson
Comment 3
2016-11-11 13:11:50 PST
Comment on
attachment 294519
[details]
Proposed patch. I'm not sure if this is the right way to do whatever it is you're doing, but the code seems fine. :)
WebKit Commit Bot
Comment 4
2016-11-11 13:48:28 PST
Comment on
attachment 294519
[details]
Proposed patch. Clearing flags on attachment: 294519 Committed
r208606
: <
http://trac.webkit.org/changeset/208606
>
WebKit Commit Bot
Comment 5
2016-11-11 13:48:32 PST
All reviewed patches have been landed. Closing bug.
Ryan Haddad
Comment 6
2016-11-11 14:16:35 PST
(In reply to
comment #4
)
> Comment on
attachment 294519
[details]
> Proposed patch. > > Clearing flags on attachment: 294519 > > Committed
r208606
: <
http://trac.webkit.org/changeset/208606
>
This change appears to have broken the Windows build:
https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/81884
Eric Carlson
Comment 7
2016-11-11 14:57:00 PST
Plus
r208612
to fix the Windows build.
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