RTCController should disable ICE candidate filtering in case of getUserMedia based on the RTCPerrConnection origin. Currently, every frame of a capturing page gets access to unfiltered candidates.
Created attachment 331057 [details] Patch
<rdar://problem/36439701>
Comment on attachment 331057 [details] Patch Attachment 331057 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/6035760 New failing tests: http/wpt/webrtc/third-party-frame-ice-candidate-filtering.html
Created attachment 331062 [details] Archive of layout-test-results from ews102 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-sierra Platform: Mac OS X 10.12.6
(In reply to Build Bot from comment #3) > Comment on attachment 331057 [details] > Patch > > Attachment 331057 [details] did not pass mac-ews (mac): > Output: http://webkit-queues.webkit.org/results/6035760 > > New failing tests: > http/wpt/webrtc/third-party-frame-ice-candidate-filtering.html It should be skipped in WK1, gum is not supported there...
Created attachment 331064 [details] Patch
Comment on attachment 331064 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=331064&action=review > Source/WebCore/Modules/mediastream/RTCController.cpp:90 > +void RTCController::disableICECandidateFiltering(Document& document) Nit: maybe disableICECandidateFilteringForDocument to match the pattern of disableICECandidateFilteringForAllOrigins.
Comment on attachment 331064 [details] Patch Attachment 331064 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/6036800 New failing tests: webgl/1.0.2/conformance/uniforms/uniform-default-values.html
Created attachment 331078 [details] Archive of layout-test-results from ews102 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-sierra Platform: Mac OS X 10.12.6
(In reply to Build Bot from comment #8) > Comment on attachment 331064 [details] > Patch > > Attachment 331064 [details] did not pass mac-ews (mac): > Output: http://webkit-queues.webkit.org/results/6036800 > > New failing tests: > webgl/1.0.2/conformance/uniforms/uniform-default-values.html Error is unrelated.
Thanks for the review. (In reply to Eric Carlson from comment #7) > Comment on attachment 331064 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=331064&action=review > > > Source/WebCore/Modules/mediastream/RTCController.cpp:90 > > +void RTCController::disableICECandidateFiltering(Document& document) > > Nit: maybe disableICECandidateFilteringForDocument to match the pattern of > disableICECandidateFilteringForAllOrigins. OK, will do.
Created attachment 331090 [details] Patch for landing
Comment on attachment 331090 [details] Patch for landing Clearing flags on attachment: 331090 Committed r226804: <https://trac.webkit.org/changeset/226804>
All reviewed patches have been landed. Closing bug.