Revision 5f32ba4f5129de8d87c9111d09754820d959ae68 authored by Jonathon Kereliuk on 04 April 2018, 18:16:38 UTC, committed by Jonathon Kereliuk on 04 April 2018, 18:16:38 UTC
1 parent e502344
access-control-expose-headers-parsing.window.js
function exposeTest(resource, desc) {
const url = new URL("resources/" + resource, location.href).href.replace("://", "://élève.");
promise_test(() => {
return fetch(url).then(res => {
assert_equals(res.headers.get("content-language"), "sure")
assert_equals(res.headers.get("x-custom"), null);
})
}, "Access-Control-Expose-Headers parsing: " + desc);
}
exposeTest("access-control-expose-headers-parsing.asis", "#1");
exposeTest("access-control-expose-headers-parsing-2.asis", "#2")
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...