Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Testing the shield from fetch and XHR</title>
</head>
<body>
<p>Hello there!</p>
<script type="application/javascript">
function test_fetch() {
// eslint-disable-next-line @microsoft/sdl/no-insecure-url
let url = "http://trackertest.org/browser/browser/base/content/test/protectionsUI/file_protectionsUI_fetch.js";
return fetch(url);
}
</script>
</body>
</html>