Select service worker for documents with data/blob URLS
https://bugs.webkit.org/show_bug.cgi?id=181213
Patch by Youenn Fablet <youenn@apple.com> on 2018-01-03
Reviewed by Alex Christensen.
Source/WebCore:
Covered by updated test.
Reusing the service worker of the parent for blob/data URL documents.
* loader/DocumentLoader.cpp:
(WebCore::isLocalURL):
(WebCore::DocumentLoader::commitData):
LayoutTests:
* http/tests/workers/service/serviceworkerclients-claim.https-expected.txt:
* http/tests/workers/service/serviceworkerclients-claim.https.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226361
268f45cc-cd09-0410-ab3c-
d52691b4dbfc