<!DOCTYPE html>
<meta charset="utf-8">
<title>Incumbent page used as a test helper</title>

<iframe src="relevant/relevant.html" id="r"></iframe>
<iframe src="current/current.html" id="c"></iframe>

<script>
const relevant = document.querySelector("#r");
const current = document.querySelector("#c");

window.runWindowOpenVeryIndirectly = (...args) => {
  return current.contentWindow.open.call(relevant.contentWindow, ...args);
};
</script>
