Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/browsers/browsing-the-web/navigating-across-documents/refresh/subresource.any.html - WPT Dashboard Interop Dashboard
- /html/browsers/browsing-the-web/navigating-across-documents/refresh/subresource.any.worker.html - WPT Dashboard Interop Dashboard
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.");