summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fenced-frame/resources/client-hints-iframe-inner.sub.https.html
blob: d02abd6957e33895be8e4b1458b24bc38159ce71 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<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>