summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/client-hints/viewport-size/viewport-size-subresource.https.html
blob: ec22a4bdf3ce98bb4124a67026300c00a6a50531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<body>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
promise_test(t => {
  return new Promise(resolve => {
    window.addEventListener("message", t.step_func(e => {
      assert_equals(e.data, "503,614");
      resolve();
    }));
  });
});
</script>
<iframe src="../resources/viewport-measurement.html" width=503 height=614>