Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / client-hints-accept-parent.php
blobf063f4d02064bbf1a45d579753120e71a2d1489d
1 <?php
2 header("ACCEPT-CH: DPR, Width, Viewport-Width");
3 ?>
4 <!DOCTYPE html>
5 <script src="../../../resources/testharness.js"></script>
6 <script src="../../../resources/testharnessreport.js"></script>
7 <script>
8 var t = async_test("Verify that hints were not sent on iframe subresources.");
9 window.addEventListener("message", t.step_func(function (message) {
10 console.log(message.data);
11 assert_equals(message.data, "success");
12 t.done();
13 }));
14 </script>
15 <iframe src="/resources/iframe-no-accept-ch.php"></iframe>