Sign in
chromium
/
chromium
/
src
/
8cd93e585ae7f85b41a54b9328657ac0ab48eedb
/
.
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
cachestorage
/
resources
/
ignore-search-with-credentials-worker.js
blob: cb890c3a51a5f8926ad9a2674bde3e59719b64cc [
file
] [
log
] [
blame
]
self
.
onfetch
=
function
(
e
)
{
if
(!
/\.txt.*/
.
test
(
e
.
request
.
url
))
return
;
e
.
respondWith
(
self
.
caches
.
open
(
'ignore-search'
)
.
then
(
function
(
cache
)
{
return
cache
.
add
(
e
.
request
);
})
.
then
(
function
()
{
return
new
Response
(
e
.
request
.
url
);
})
);
};