summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/paint-timing/fcp-only/svg-in-iframe.html
blob: 230c166cb08107fa896b672fa48eedd4b77aac61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<title>Performance Paint Timing Test: SVG in iframe does not trigger FCP</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../resources/utils.js"></script>
<iframe src="../resources/svg.html"></iframe>
<script>
  promise_test(async (t) => {
    await new Promise(resolve => {
      window.addEventListener("message", resolve);
    });
    return assertNoFirstContentfulPaint(t);
  }, "SVG in an iframe does not trigger FCP in the main frame");
</script>