summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fledge/tentative/fetch-ad-auction-headers-insecure-context.tentative.http.html
blob: d3bdb8017579414aee39ad672519ff029f9d0827 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!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>