angler-fishThe Vulnerability History Project

Add window access checks for Suborigins

      As a first enforcement step, this adds access control checks for windows
and JavaScript objects for Suborigins. In short, two origins can only
access each other's objects if they are in the same scheme, host, and
port (as always), but also the same Suborigin. This also sets up the
infrastructure to later start working checks for requests as well. This
does not add any CORS check dependencies on Suborigins yet.

R=jochen@chromium.org
BUG=336894

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

git-svn-id: svn://svn.chromium.org/blink/trunk@197195 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    
commit 464f41055aeb070a55ec30682f8768bd8e88b4e6
+3
-15
-29
+3
+26
+28
+2 -2
+2 -2
+3 -1
+23
-12
+5 -8
+12
-22
-21
+8
-11
-18
-28
+5
+26
-48
+5
-15
+26
+5
+12 -4
+6
+2 -2
+5
+5 -5
-2
-10
+5
+6 -16
+5 -13
+16 -15
+4 -5
+17 -16
+1 -1
+1 -1
+3 -3
+1 -1
-21
-17
+3 -4
-69
expand_less