Revision 6ac7b645eb140904fbcd932a177c6eb9a9303990 authored by L. David Baron on 26 June 2018, 15:57:27 UTC, committed by GitHub on 26 June 2018, 15:57:27 UTC
1 parent 8de3fcb
referrer.any.js
// META: script=constants.js?pipe=sub
async_test(t => {
const ws = new WebSocket(SCHEME_DOMAIN_PORT + "/referrer");
ws.onmessage = t.step_func_done(e => {
assert_equals(e.data, "MISSING AS PER FETCH");
ws.close();
});
// Avoid timeouts in case of failure
ws.onclose = t.unreached_func("close");
ws.onerror = t.unreached_func("error");
}, "Ensure no Referer header is included");
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...