Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /fledge/tentative/fetch-ad-auction-headers-insecure-context.tentative.http.html - WPT Dashboard Interop Dashboard
<!doctype html>
<body>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
promise_test(async t => {
return promise_rejects_dom(t, 'NotAllowedError',
fetch('./resources/empty.html', {adAuctionHeaders: true}));
}, 'test fetch(<url>, {adAuctionHeaders: true}) in insecure context');
</script>
</body>