https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4ca9a79adac1b65fc3eb7d888d92517de8798701 authored by Chris Rebert on 16 April 2016, 07:23:15 UTC
Test order of focus-related events
Tip revision: 4ca9a79
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