summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/client-hints/accept-ch/meta/resource-in-markup-delegate-ch.https.html
blob: 751f07f2782b605282b031af4ef629c95bc823f9 (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="Delegate-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 meta tag");
</script>