blob: 9634421677b57f906073fa8b22811dee0a1ed538 [file] [log] [blame]
<!doctype html>
<html>
<link rel="preload" as="fetch" crossorigin="anonymous" href="resources/hello.txt"></link>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
promise_test(async (t) => {
await fetch('resources/hello.txt', {credentials: 'include'});
}, 'Preload match fails because the request credentials mode does not match (see the console log).');
</script>
</body>
</html>