https://github.com/web-platform-tests/wpt
Raw File
Tip revision: b699ef52775a67a43b22243c151597a789e3acaf authored by Raveendra Karu on 27 October 2017, 04:44:08 UTC
[LayoutTests] Remove Save-Data header from CORS-safelisted request headers.
Tip revision: b699ef5
subresource.any.js
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.");
back to top