angler-fishThe Vulnerability History Project

Don't auto allow access to media devices unless a the security origin of the requester is the same as its ancestors.

      This adds a field in MediaStreamRequest to verify that the security origin of the requester is the same as its ancestors.
This field have to be set on the UI-thread and is therefore set just before sending the request to the UI.

BUG=448378
TEST= please see bug report

Review URL: https://codereview.chromium.org/795703003

Cr-Commit-Position: refs/heads/master@{#313904}
    
commit ac8f9263b91c2b8b5c5ae7aa71af34c46f50d22d
-5
-4
+17 -22
+16 -41
+2 -2
+40 -55
+1 -2
+3 -3
expand_less