Chromium Code Reviews
DescriptionTeach WebURLRequest about Fetch's "frame type" concept.
This CL introduces a new enum property on resource requests which maps
to the "frame type" concept in Fetch[1]. The eventual goal is to migrate
mixed content and CSP checks which rely on knowledge of a request's
browsing context to use this new property rather than overloading the
request context with information about the request's browsing context
and originator.
To ensure that we can rely on the property's value, we ASSERT that the
value is properly set when loading "main" resources.
[1]: http://fetch.spec.whatwg.org/#concept-request-context-frame-type
BUG=390497
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178069
Patch Set 1 #Patch Set 2 : Missed one. #
Messages
Total messages: 10 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||