https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 51bd1468f59c188c8a0cb143d8200cb101a0ea67 authored by Xidorn Quan on 07 April 2018, 06:37:41 UTC
Add test for checking property order after setting property on CSSStyleDeclaration
Tip revision: 51bd146
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");
back to top