The UA may not be notified of the capture state change when leaving a page
<rdar://problem/30632267>
Created attachment 303024 [details] Proposed patch.
Comment on attachment 303024 [details] Proposed patch. Was it also causing microphone/capture sandbox to not be revoked? If so, can we add some sort of test or additional checks for it? What about session-like gum granting?
Comment on attachment 303024 [details] Proposed patch. Clearing flags on attachment: 303024 Committed r213281: <http://trac.webkit.org/changeset/213281>
All reviewed patches have been landed. Closing bug.
This change caused API test WebKit2.UserMediaBasic to time out: https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20%28Tests%29/builds/4018
Reverted r213281 for reason: This change caused API test WebKit2.UserMediaBasic to time out. Committed r213287: <http://trac.webkit.org/changeset/213287>