blob: 2aba051ead3a6ae3c856b11dd86db3275cc96044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// META: script=/common/utils.js
// META: script=resources/early-hints-helpers.sub.js
test(() => {
const params = new URLSearchParams();
params.set("first-preload", SAME_ORIGIN_RESOURCES_URL + "/empty.js?" + token());
params.set("second-preload", CROSS_ORIGIN_RESOURCES_URL + "/empty.js?" + token());
params.set("second-preload-origin", CROSS_ORIGIN);
const test_url = "resources/multiple-early-hints-responses.h2.py?" + params.toString();
window.location.replace(new URL(test_url, window.location));
});
|