https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a05b77effddf7fa74c48cc063f1692e3f03fd8fd authored by Marcos Caceres on 01 August 2017, 09:38:06 UTC
refactor: use assert_unreached instead
Tip revision: a05b77e
WorkerLocation_search.htm
<!DOCTYPE html>
<title> WorkerLocation URL decomposition IDL attribute: search </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function(t) {
  var worker = new Worker('./support/WorkerLocation.js?SearchString');
  worker.onmessage = t.step_func_done(function(e) {
      assert_equals(e.data.search, '?SearchString');
  });
});
</script>
back to top