UserMediaProcessManager is revoking sandbox extensions too aggressively
Created attachment 378455 [details] Patch
Comment on attachment 378455 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=378455&action=review > Source/WebKit/ChangeLog:11 > + Sandbox revocation was sometimes happening when a page is being closed while another page from the same process is starting capture. > + In that case, revocation might happen while it should not. > + To prevent this, we do not revoke sandbox extensions if there are pending captures for a page of the process. > + Whenever a page does not have any pending capture, sandbox extensions may be revoked. Nit: it is probably worth mentioning that these changes fixes an existing test.
Created attachment 378458 [details] Patch for landing
Comment on attachment 378458 [details] Patch for landing Clearing flags on attachment: 378458 Committed r249712: <https://trac.webkit.org/changeset/249712>
All reviewed patches have been landed. Closing bug.
<rdar://problem/55220850>