S13nServiceWorker: Call SetMainScriptHttpResponseInfo() only when main script load
Before this CL, in ServiceWorkerScriptURLLoader, ServiceWorkerVersion::SetMainScriptHttpResponseInfo() is called regardless of a resource request type. As the function name indicates, that must be called only when the main script of the service worker is being loaded. This CL fixes it. Bug: 748415 Change-Id: Idcf2a295340eaa03bccd4f49b8759cf149665fa9 Reviewed-on: https://chromium-review.googlesource.com/662957 Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#501534}
Showing
Please register or sign in to comment