resource-in-markup-accept-ch.https.html (448B)
1 <!DOCTYPE html> 2 <script src=/resources/testharness.js></script> 3 <script src=/resources/testharnessreport.js></script> 4 5 <meta http-equiv="Accept-CH" content="sec-ch-dpr"> 6 7 <script src="../../resources/script-set-dpr-header.py"></script> 8 9 <script> 10 test(() => { 11 assert_greater_than(dprHeader.length, 0, 12 "sec-ch-dpr header should have been received"); 13 }, "DPR is received in page with Accept-CH http-equiv meta tag"); 14 </script>