mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
6 lines
367 B
JavaScript
6 lines
367 B
JavaScript
promise_test(() => {
|
|
return fetch("resources/refresh.py").then(response => {
|
|
assert_equals(response.headers.get("refresh"), "0;./refreshed.txt?\u0080\u00FF"); // Make sure bytes got mapped to code points of the same value
|
|
assert_equals(response.url, (new URL("resources/refresh.py", self.location)).href);
|
|
});
|
|
}, "Refresh does not affect subresources.");
|