Restrict media capture to secure connections.
<rdar://problem/28944906>
Created attachment 293455 [details] Proposed patch.
Comment on attachment 293455 [details] Proposed patch. Attachment 293455 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2413730 New failing tests: http/tests/ssl/media-stream/get-user-media-secure-connection.html http/tests/ssl/media-stream/get-user-media-nested.html http/tests/ssl/media-stream/get-user-media-different-host.html
Created attachment 293463 [details] Archive of layout-test-results from ews103 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-yosemite Platform: Mac OS X 10.10.5
Comment on attachment 293455 [details] Proposed patch. Attachment 293455 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2413760 New failing tests: svg/wicd/test-rightsizing-b.xhtml http/tests/ssl/media-stream/get-user-media-nested.html
Created attachment 293465 [details] Archive of layout-test-results from ews107 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Comment on attachment 293455 [details] Proposed patch. Attachment 293455 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2414975 New failing tests: http/tests/ssl/media-stream/get-user-media-nested.html
Created attachment 293480 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Comment on attachment 293455 [details] Proposed patch. Attachment 293455 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2417973 New failing tests: http/tests/ssl/media-stream/get-user-media-secure-connection.html http/tests/ssl/media-stream/get-user-media-nested.html http/tests/ssl/media-stream/get-user-media-different-host.html
Created attachment 293514 [details] Archive of layout-test-results from ews113 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 293552 [details] Updated patch.
Comment on attachment 293552 [details] Updated patch. View in context: https://bugs.webkit.org/attachment.cgi?id=293552&action=review > Source/WebCore/Modules/mediastream/UserMediaRequest.cpp:109 > + if (!documentLoader.response().certificateInfo() || documentLoader.response().certificateInfo()->containsNonRootSHA1SignedCertificate()) I find a few other places where we do this check. We ought to give this check a better name. Also, I wonder why a root SHA1 signed certificate is ok, but not a non-root.
Comment on attachment 293552 [details] Updated patch. Attachment 293552 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2444868 New failing tests: http/tests/ssl/media-stream/get-user-media-secure-connection.html http/tests/ssl/media-stream/get-user-media-nested.html http/tests/ssl/media-stream/get-user-media-different-host.html
Created attachment 293559 [details] Archive of layout-test-results from ews116 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-yosemite Platform: Mac OS X 10.10.5
Comment on attachment 293552 [details] Updated patch. Attachment 293552 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2444963 New failing tests: http/tests/ssl/media-stream/get-user-media-secure-connection.html http/tests/ssl/media-stream/get-user-media-nested.html http/tests/ssl/media-stream/get-user-media-different-host.html
Created attachment 293562 [details] Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 293584 [details] Patch for landing.
Created attachment 293597 [details] Patch for landing.
Comment on attachment 293597 [details] Patch for landing. Clearing flags on attachment: 293597 Committed r208249: <http://trac.webkit.org/changeset/208249>