https://github.com/web-platform-tests/wpt
Raw File
Tip revision: b5ef37f1d7620f8fba03d5ad3bfa39e28e13fa64 authored by Lan Wei on 20 December 2018, 02:33:33 UTC
Support pen inputs in web platform tests
Tip revision: b5ef37f
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