DescriptionServiceWorker: Abort register() and getRegistration() on non-http(s) page
Currently the ServiceWorker backend does not support register() and
getRegistration() calls on non-HTTP(s) page (eg, "file://"). Such calls
trigger a renderer crash because SWProviderHost does not have a valid
document URL and treats a request as a bad message.
This patch makes SWContainer abort such calls before sending an IPC message.
BUG=432048
TEST=run-webkit-tests fast/serviceworker/access-container-on-local-file.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185210
Patch Set 1 #
Total comments: 8
Patch Set 2 : fix for review comments #Patch Set 3 : fix wrong comment #
Messages
Total messages: 11 (2 generated)
|