Repository navigation
feat: add Service Worker interception #14321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Ross Wollman (rwoll)
wants to merge
33
commits into
microsoft:main
from
rwoll:feature/service-worker-support
Closed
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
99fa408
feat: service worker plumbing
rwoll 1e904fd
test.fail does not work with timedout tests
rwoll 92e28e0
add SW fetch interception test
rwoll 2e62e69
feat: add serviceWorkerPolicy option
rwoll 1d11c99
lint
rwoll c834407
add Response.isFromServiceWorker
rwoll 3a32f3e
Merge branch 'feat/swp' into feature/service-worker-support
rwoll 7f9f9ce
add serviceWorkerPolicy for opt-in SW networking
rwoll 8200a67
update docs
rwoll 36b2e6d
tests: make port agnostic, skip SW on older CR versions
rwoll 29927e9
lint
rwoll fd3c1f8
fix serviceWorkerPolicy
rwoll a3fc930
remove isServiceWorker
rwoll c85e6a8
s/isFromServiceWorker/fulfilledByServiceWorker
rwoll 0a156d8
simplify and document serviceWorkerPolicy
rwoll d1a91e8
fix lint error
rwoll 6a0931b
s/_needsRequestInterception/needsRequestInterception
rwoll 7c7fd2f
wip: setOffline, HTTP Creds, extra headers
rwoll 790e879
fix HTTP Creds test
rwoll 6655ad9
race with SW close
rwoll 855b5a8
s/inspected/enable-network-events
rwoll 87b84a0
fix rename
rwoll 61124fb
Merge branch 'main' into feature/service-worker-support
rwoll 3965412
stall sw when policy is disabled
rwoll d7642ec
make fulfilledByServiceWorker non-nullable (albeit broken on WK and F…
rwoll cf6ab16
add fulfilledByServiceWorker test for all browsers, support WK
rwoll 406becc
remove invalid CORS test
rwoll c483eac
opt-in by default, s/serviceWorkersPolicy/serviceWorkers, reduce options
rwoll 63d9375
update docs
rwoll 562bc0b
link upstream patch in fixme
rwoll 2150843
Merge branch 'main' into feature/service-worker-support
rwoll 3239e79
add FF fulfilledByServiceWorker impl
rwoll 8f6c549
fix FF expectation
rwoll File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.