Allow webrtc requests to be made from about:blank URLs that are secure contexts
https://codereview.chromium.org/2880503002 added checks to PermissionContextBase::GetPermissionStatus that ensured that the embedding origin was secure if the permission required a secure context. The problem is that in the case of about:blank URLs, the browser does not know if they are secure or not. They may be secure contexts (from the perspective of blink) if opened and modified by a secure context. This change caused media permissions to stop working from about:blank URLs so it is removed. There are still renderer-side checks which ensure that the current context is secure before permitting media access. In the long term we should unify the browser/renderer-side secure context checks. BUG=740540 Change-Id: Iff319f62284f9d22ca54706526b2747a73477e86 Reviewed-on: https://chromium-review.googlesource.com/569544Reviewed-by:Timothy Loh <timloh@chromium.org> Commit-Queue: Raymes Khoury <raymes@chromium.org> Cr-Commit-Position: refs/heads/master@{#486288}
Showing
Please register or sign in to comment