summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/client-hints/accept-ch/meta/resource-in-markup-accept-ch.https.html
blob: c9b98daccf84f1253b3f4c6deb3c65b57d3db162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>

<meta http-equiv="Accept-CH" content="sec-ch-dpr">

<script src="../../resources/script-set-dpr-header.py"></script>

<script>
test(() => {
  assert_greater_than(dprHeader.length, 0,
                      "sec-ch-dpr header should have been received");
}, "DPR is received in page with Accept-CH http-equiv meta tag");
</script>