Sign in
nest-open-source
/
manifest_repos
/
chromium_src
/
1389d67935ffbffe8a70c1fa06867f6cf7ecf464
/
.
/
chromium
/
src
/
third_party
/
blink
/
web_tests
/
http
/
tests
/
serviceworker
/
resources
/
fetch-event-synthetic-respond-with-worker.js
blob: 1ac62bbdef19ad438c8852fe282907af651a9f37 [
file
] [
log
] [
blame
]
importScripts
(
'/resources/testharness.js'
);
test
(()
=>
{
var
req
=
new
Request
(
'https://www.example.com/'
,
{
method
:
'POST'
});
new
FetchEvent
(
'fetch'
,
{
request
:
req
}).
respondWith
(
'foo'
);
},
'Calling respondWith should not crash'
);