Worker: Register a service worker just once for worker subresource interception tests #17675
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a follow-up CL for the previous review comment:
https://chromium-review.googlesource.com/c/chromium/src/+/1683916/7/third_party/blink/web_tests/external/wpt/service-workers/service-worker/worker-interception.https.html#148
As a side effect, this fixes a failure of subresource interception on nested
dedicated workers that is caused by wrong service worker scope. See
https://chromium-review.googlesource.com/c/chromium/src/+/1683916/7/third_party/blink/web_tests/external/wpt/service-workers/service-worker/worker-interception.https.html#184
Bug: 731604, 906991
Change-Id: I4866d8a74e8b1e2695231b8c95a740923da8ceed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682440
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#673987}