Sign in
chromium
/
chromium
/
src
/
197b0cd027d15754e48dce24add9a785cbd72e3a
/
.
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
serviceworker
/
resources
/
memory-cache-worker.js
blob: 32b8126d0bea3581b36acc5d6ad9f3f75f9a8a24 [
file
] [
log
] [
blame
]
onfetch
=
function
(
event
)
{
if
(
event
.
request
.
url
.
indexOf
(
'memory-cache.json'
)
!=
-
1
)
{
event
.
respondWith
(
new
Response
(
"callback({ src : 'service worker' })"
));
}
}