-
- Downloads
Bug 1658869 - Propagate the InterceptedHttpChannel information to fetch's...
Bug 1658869 - Propagate the InterceptedHttpChannel information to fetch's channel casued by FetchEvent.request. r=dom-worker-reviewers,dragana,jesup, a=dmeehan When a network load needs to be intercepted by ServiceWorker, we extract the Request from the InterceptedHttpChannel, and propagate the Request through FetchEvent.request. However, some needed information is not extracted or is modified during the Request propagation, so getting the wrong result when using the Request to fetch resources in the ServiceWorker script. Differential Revision: https://phabricator.services.mozilla.com/D145969
Showing
- dom/fetch/Fetch.cpp 21 additions, 0 deletionsdom/fetch/Fetch.cpp
- dom/fetch/FetchDriver.cpp 30 additions, 0 deletionsdom/fetch/FetchDriver.cpp
- dom/fetch/FetchTypes.ipdlh 5 additions, 0 deletionsdom/fetch/FetchTypes.ipdlh
- dom/fetch/InternalRequest.cpp 30 additions, 2 deletionsdom/fetch/InternalRequest.cpp
- dom/fetch/InternalRequest.h 53 additions, 1 deletiondom/fetch/InternalRequest.h
- dom/serviceworkers/ServiceWorkerPrivateImpl.cpp 26 additions, 1 deletiondom/serviceworkers/ServiceWorkerPrivateImpl.cpp
- ipc/glue/BackgroundUtils.cpp 56 additions, 3 deletionsipc/glue/BackgroundUtils.cpp
- netwerk/base/InterceptionInfo.cpp 63 additions, 0 deletionsnetwerk/base/InterceptionInfo.cpp
- netwerk/base/InterceptionInfo.h 44 additions, 0 deletionsnetwerk/base/InterceptionInfo.h
- netwerk/base/LoadInfo.cpp 11 additions, 5 deletionsnetwerk/base/LoadInfo.cpp
- netwerk/base/LoadInfo.h 4 additions, 1 deletionnetwerk/base/LoadInfo.h
- netwerk/base/TRRLoadInfo.cpp 3 additions, 0 deletionsnetwerk/base/TRRLoadInfo.cpp
- netwerk/base/moz.build 3 additions, 0 deletionsnetwerk/base/moz.build
- netwerk/base/nsIInterceptionInfo.idl 73 additions, 0 deletionsnetwerk/base/nsIInterceptionInfo.idl
- netwerk/base/nsILoadInfo.idl 15 additions, 0 deletionsnetwerk/base/nsILoadInfo.idl
- netwerk/cookie/CookieCommons.cpp 51 additions, 17 deletionsnetwerk/cookie/CookieCommons.cpp
- netwerk/ipc/NeckoChannelParams.ipdlh 9 additions, 0 deletionsnetwerk/ipc/NeckoChannelParams.ipdlh
Loading
Please register or sign in to comment