

  window.addEventListener("message", event => {
    if (steps.length) {
      t.step(steps.shift(), t, event);
      waitForFrame(t, () => {
        iframe.contentWindow.postMessage("", "*")
      });
    } else {
      t.done();
    }
  });

}, "IntersectionObserver V2 test with scale applied to target.");
</script>
