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:
- /client-hints/accept-ch/meta/resource-in-markup-accept-ch.https.html - WPT Dashboard Interop Dashboard
<!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>