Name Description Size
coep-frame.html A page with COEP set that will respond when asked 171
coep-frame.html.headers 86
crashy-popup.sub.html This page helps exhibit a crash bug when window.open()ed (see ../popups-crash.https.html) 449
crashy-popup.sub.html.headers 25
frame.html A frame included by a test page 314
frame.html.headers 25
helpers.mjs Inserts an iframe usable for origin-keyed agent cluster testing, and returns a promise fulfilled when the iframe is loaded and its document.domain is set. The iframe will point to the send-oac-header.py file, on the designated host. @param {string} host - The host used to calculate the iframe's src="" @param {string=} header - The value of the Origin-Agent-Cluster header that the iframe will set. Omit this to set no header. @param {object=} options - Rarely-used options. @param {boolean=} options.redirectFirst - Whether to do a 302 redirect first before arriving at the page that sets the header. The redirecting page will not set the Origin-Agent-Cluster header. @returns {HTMLIFrameElement} The created iframe element 15985
helpers.mjs.headers 31
README.md Why are there `.headers` files here for the `.mjs` scripts? 313
send-header-page-script.mjs 2399
send-header-page-script.mjs.headers 31
send-oac-header.py Send a response with the Origin-Agent-Cluster header given in the "header" query parameter, or no header if that is not provided. Other query parameters (only their presence/absence matters) are "send-loaded-message" and "redirect-first", which modify the behavior a bit. In either case, the response will listen for various messages posted and coordinate with the sender. See ./helpers.mjs for how these handlers are used. 1699