mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
4ce2d06b79
An opaque response should be not only cross-origin but also be request with no_cors request mode. To filter out the request with mode Same_origin, navigate, and cors. This patch reuses the algorithm in InternalRequest/FetchDriver to decide whether a response is an opaque response. https://searchfox.org/mozilla-central/rev/da5d08750e504f3710f7ea051327d9c311c39902/dom/fetch/InternalRequest.cpp#331 https://searchfox.org/mozilla-central/rev/da5d08750e504f3710f7ea051327d9c311c39902/dom/fetch/FetchDriver.cpp#1153,1157 Differential Revision: https://phabricator.services.mozilla.com/D117086 |
||
---|---|---|
.. | ||
tests | ||
BodyExtractor.cpp | ||
BodyExtractor.h | ||
ChannelInfo.cpp | ||
ChannelInfo.h | ||
ChannelInfo.ipdlh | ||
EmptyBody.cpp | ||
EmptyBody.h | ||
Fetch.cpp | ||
Fetch.h | ||
FetchDriver.cpp | ||
FetchDriver.h | ||
FetchIPCTypes.h | ||
FetchObserver.cpp | ||
FetchObserver.h | ||
FetchStreamReader.cpp | ||
FetchStreamReader.h | ||
FetchTypes.ipdlh | ||
FetchUtil.cpp | ||
FetchUtil.h | ||
Headers.cpp | ||
Headers.h | ||
InternalHeaders.cpp | ||
InternalHeaders.h | ||
InternalRequest.cpp | ||
InternalRequest.h | ||
InternalResponse.cpp | ||
InternalResponse.h | ||
moz.build | ||
Request.cpp | ||
Request.h | ||
Response.cpp | ||
Response.h |