summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fenced-frame/resources/client-hints-meta-iframe-inner.sub.https.html
blob: 9afb5c6a8597c6dcc214984289b6cac8800181e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<meta http-equiv="Accept-CH"
      content="sec-ch-viewport-width, sec-ch-ua-reduced"/>
<meta http-equiv="Feature-Policy"
      content="ch-viewport-width *, ch-ua-reduced *"/>
<title>Client Hint Echoing Iframe</title>
<body>
<script>
window.parent.postMessage({'headers': {
    'sec-ch-viewport-width': '{{header_or_default(sec-ch-viewport-width, )}}',
    'sec-ch-ua-reduced': '{{header_or_default(sec-ch-ua-reduced, )}}',
    'sec-ch-ua-mobile': '{{header_or_default(sec-ch-ua-mobile, )}}',
}}, '*');
</script>
</body>