Sign in
chromium
/
chromium
/
src.git
/
lkgr-ios-internal
/
.
/
content
/
test
/
data
/
service_worker
/
fetch_from_page.html
blob: 82fbb1b011f3b0a56159929cc046401720011066 [
file
] [
log
] [
blame
]
<!doctype html>
<title>
Fetch url specified by a query param
</title>
<script>
async
function
fetch_from_page
(
url
)
{
try
{
const
response
=
await fetch
(
url
);
return
await response
.
text
();
}
catch
(
error
)
{
return
`
$
{
error
}`;
}
}
</script>