Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp |
| diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp |
| index da915d21d032729966820a9096c2b0a6427a90c8..8502e4b3e5ee2aa623430bb3177ee2daf4678638 100644 |
| --- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp |
| +++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp |
| @@ -806,6 +806,12 @@ void DocumentThreadableLoader::loadActualRequest() |
| clearResource(); |
| + // Explicitly set the SkipServiceWorker flag here. Even if the page was not |
| + // controlled by a SW when the preflight request was sent, a new SW may be |
| + // controlling the page now by calling clients.claim(). We should not send |
| + // the actual request to the SW. https://crbug.com/604583 |
| + actualRequest.setSkipServiceWorker(true); |
|
tyoshino (SeeGerritForStatus)
2016/05/10 09:17:01
So, the approach is to have the series of requests
horo
2016/05/10 13:20:27
In the redirect case, the request is passed from W
tyoshino (SeeGerritForStatus)
2016/05/10 13:52:48
ok
|
| + |
| loadRequest(actualRequest, actualOptions); |
| // |this| may be dead here in async mode. |
| } |