sage("sandboxed", "*");
        }
      </scr`+`ipt>
    `);
    assert_equals((await is_sandboxed).data, "sandboxed");
  }, description);
}

// Open a new window and start loading from an unresponsive server. The frame
// will be left with the initial empty document and a pending navigation.
runTest("One pending navigation", async (test, popup_name) => {
  const unresponsive_path =
    "/fetch/api/resources/infinite-slow-response.py";
  return window.open(same_origin + unresponsive_path, popup_name);
});

