getUserMedia has never worked in webKit1 and we don't plan to add support, so remove all of the WK1-only code.
Created attachment 339120 [details] Patch
Comment on attachment 339120 [details] Patch r=me once the bots are happy. View in context: https://bugs.webkit.org/attachment.cgi?id=339120&action=review > Source/WebKitLegacy/mac/WebView/WebView.mm:3038 > + DeprecatedGlobalSettings::setMediaCaptureRequiresSecureConnection(true); These two are probably not needed since the below runtime flags are set to false.
Comment on attachment 339120 [details] Patch Attachment 339120 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/7508903 Number of test failures exceeded the failure limit.
Created attachment 339126 [details] Archive of layout-test-results from ews107 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Created attachment 339148 [details] Patch
Comment on attachment 339148 [details] Patch Attachment 339148 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/7516049 New failing tests: fast/events/constructors/media-stream-event-constructor.html
Created attachment 339157 [details] Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
Comment on attachment 339148 [details] Patch Attachment 339148 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/7516207 New failing tests: fast/events/constructors/media-stream-event-constructor.html
Created attachment 339161 [details] Archive of layout-test-results from ews112 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-sierra Platform: Mac OS X 10.12.6
Created attachment 339201 [details] Patch
Comment on attachment 339201 [details] Patch Clearing flags on attachment: 339201 Committed r231201: <https://trac.webkit.org/changeset/231201>
All reviewed patches have been landed. Closing bug.
<rdar://problem/39870021>