404-with-early-hints.h2.window.js (387B)
1 // META: script=/common/utils.js 2 // META: script=resources/early-hints-helpers.sub.js 3 4 test(() => { 5 const params = new URLSearchParams(); 6 params.set("resource-url", 7 SAME_ORIGIN_RESOURCES_URL + "/square.png?" + token()); 8 const test_url = "resources/404-with-early-hints.h2.py?" + params.toString(); 9 window.location.replace(new URL(test_url, window.location)); 10 });