oc#yo.
  w.history.back();
  await waitForMessage(iframe.contentWindow);
  assert_equals(iframe.contentWindow.location.href, "about:srcdoc#yo");
  assert_equals(
    iframe.contentDocument.querySelector("p").textContent,
    "srcdoc1",
    "srcdoc content must be restored from history"
  );
}, "changing srcdoc to about:srcdoc#yo then another srcdoc does two push " +
   "navigations and we can navigate back");
</script>
