Revision c6e42ae9ffe6cddd051c82b3fe0cb982f5861032 authored by Robert Ma on 22 March 2018, 19:02:06 UTC, committed by Robert Ma on 22 March 2018, 19:03:42 UTC
1 parent 9e22798
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 ...