ndow.location.search.startsWith("?origin="));
  origin = decodeURIComponent(window.location.search.slice(
      window.location.search.indexOf("?origin=") + 8));
}, "Cross-site window opened correctly");

// Cookies set by the parent window in a 1P context.
const cookieNames = ["1P_http", "1P_dom"];
if (window.cookieStore) {
  cookieNames.push("1P_cs");
}

// Third-party cookies are blocked by default.
assertThirdPartyHttpCookies({
  desc: "3P fetch",
  origin,
  cookieNames,
  expectsCookie: false,
});

//