Move the mediaCaptureEnabled setting from WKWebViewConfiguration to WKPreferences so that it can be toggled dynamically.
rdar://problem/31817010
Created attachment 308155 [details] proposed patch.
Attachment 308155 [details] did not pass style-queue: ERROR: Source/WebKit2/ChangeLog:14: Line contains tab character. [whitespace/tab] [5] ERROR: Source/WebKit2/ChangeLog:19: Line contains tab character. [whitespace/tab] [5] Total errors found: 2 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 308156 [details] proposed patch v2.
Created attachment 308159 [details] proposed patch v3.
(In reply to Andrew Gold from comment #5) > Created attachment 308159 [details] > proposed patch v3. application/mbox?
Comment on attachment 308159 [details] proposed patch v3. View in context: https://bugs.webkit.org/attachment.cgi?id=308159&action=review > Source/WebKit2/UIProcess/UserMediaProcessManager.cpp:-121 > -#if !PLATFORM(IOS) > if (&manager->page() == &pageStartingCapture) > continue; > -#endif Did you mean to include this?
(In reply to Eric Carlson from comment #7) > Comment on attachment 308159 [details] > proposed patch v3. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=308159&action=review > > > Source/WebKit2/UIProcess/UserMediaProcessManager.cpp:-121 > > -#if !PLATFORM(IOS) > > if (&manager->page() == &pageStartingCapture) > > continue; > > -#endif > > Did you mean to include this? I did not. I will upload a revised version.
Created attachment 308248 [details] proposed patch v4.
Attachment 308248 [details] did not pass style-queue: ERROR: Source/WebKit2/ChangeLog:25: Line contains tab character. [whitespace/tab] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 308249 [details] proposed patch 5
Comment on attachment 308249 [details] proposed patch 5 Clearing flags on attachment: 308249 Committed r215801: <http://trac.webkit.org/changeset/215801>
All reviewed patches have been landed. Closing bug.