Chromium Code Reviews
Description[ServiceWorker] Fix ASSERT failure in DocumentThreadableLoader::handleResponse().
In current implementation, ASSERT(!m_fallbackRequestForServiceWorker) in
DocumentThreadableLoader::handleResponse fails while loading the data URL or sending OPTIONS request using XHR.
This is because:
- m_fallbackRequestForServiceWorker is set in the constructor of DocumentThreadableLoader,
- But the request is not handled by the ServiceWorker.
- So DocumentThreadableLoader::handleResponse() is called with response.wasFetchedViaServiceWorker() == false.
This cl add the check of the URL scheme and the HTTP method in the constructor of DocumentThreadableLoader.
BUG=434603
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185624
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||