repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Bug 1884032 [wpt PR 44942] - [css-color] add missing colorscheme-aware tests, a=testonly
[gecko.git]
/
dom
/
serviceworkers
/
test
/
intercepted_channel_process_swap_worker.js
blob
ccc74bc89567353859f5da6a44e3c23d29fc7bc3
1
onfetch = e => {
2
const url = new URL(e.request.url).searchParams.get("respondWith");
3
4
if (url) {
5
e.respondWith(fetch(url));
6
}
7
};