Bug 172989 - getUserMedia request should not be allowed for background tabs unless the tab is already capturing
Summary: getUserMedia request should not be allowed for background tabs unless the tab...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on: 172859
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-06 09:00 PDT by youenn fablet
Modified: 2017-06-08 09:28 PDT (History)
5 users (show)

See Also:


Attachments
Patch (11.33 KB, patch)
2017-06-06 19:10 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch (14.21 KB, patch)
2017-06-07 19:58 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews104 for mac-elcapitan-wk2 (1.26 MB, application/zip)
2017-06-07 20:39 PDT, Build Bot
no flags Details
Patch (15.04 KB, patch)
2017-06-07 20:45 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2017-06-06 09:00:56 PDT
getUserMedia request should not be allowed for background tabs unless the tab is already capturing
Comment 1 youenn fablet 2017-06-06 19:10:00 PDT
Created attachment 312154 [details]
Patch
Comment 2 youenn fablet 2017-06-06 19:10:40 PDT
Will r? when bug 172859 is fixed.
Comment 3 youenn fablet 2017-06-07 19:58:45 PDT
Created attachment 312267 [details]
Patch
Comment 4 Build Bot 2017-06-07 20:39:42 PDT
Comment on attachment 312267 [details]
Patch

Attachment 312267 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/3891534

New failing tests:
fast/mediastream/getUserMedia-grant-persistency.html
Comment 5 Build Bot 2017-06-07 20:39:43 PDT
Created attachment 312272 [details]
Archive of layout-test-results from ews104 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 6 youenn fablet 2017-06-07 20:45:02 PDT
Created attachment 312273 [details]
Patch
Comment 7 WebKit Commit Bot 2017-06-08 09:28:43 PDT
Comment on attachment 312273 [details]
Patch

Clearing flags on attachment: 312273

Committed r217930: <http://trac.webkit.org/changeset/217930>
Comment 8 WebKit Commit Bot 2017-06-08 09:28:45 PDT
All reviewed patches have been landed.  Closing bug.