service worker: Upstream Service-Worker-Allowed test to WPT.

Also add test cases for Service-Worker-Allowed header values that are
absolute URLs.

Currently Chrome accepts SWA header values that are cross-origin to the
script URL since it seems to only care about the path of the URL. It
seems strange but that seems to agree with the spec:
https://github.com/w3c/ServiceWorker/issues/1307

Bug: 688116
Change-Id: I6dca55ea8525803efd2e55bf4166c863d62d31fa
Reviewed-on: https://chromium-review.googlesource.com/1023672
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552639}
3 files changed