Sign in
webkit
/
WebKit
/
47b8206e2462d5a862fef65e142ae8764bd9b9e5
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
service-workers
/
service-worker
/
resources
/
navigation-redirect-body-worker.js
blob: 39f11baf8cb965988cf6a2f0abf914b1484ec63c [
file
] [
log
] [
blame
]
self
.
addEventListener
(
'fetch'
,
function
(
event
)
{
event
.
respondWith
(
fetch
(
event
.
request
)
.
then
(
function
(
response
)
{
return
response
;
},
function
(
error
)
{
return
new
Response
(
'Error:'
+
error
);
}));
});