Strip fragment identifier from ServiceWorker's scriptURL
https://bugs.webkit.org/show_bug.cgi?id=180887
Reviewed by Darin Adler.
LayoutTests/imported/w3c:
Rebaseline WPT test now that one more check is passing.
* web-platform-tests/service-workers/service-worker/serviceworkerobject-scripturl.https-expected.txt:
Source/WebCore:
Strip fragment identifier from ServiceWorker's scriptURL to match Firefox and Chrome.
This behavior does not appear to be specified so I filed:
- https://github.com/w3c/ServiceWorker/issues/1249
No new tests, rebaselined existing test.
* workers/service/server/SWServerWorker.cpp:
(WebCore::m_script):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226014
268f45cc-cd09-0410-ab3c-
d52691b4dbfc