https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e7944b7ba52ab7a830ee4115bbcc188f406105a4 authored by Guido Urdaneta on 06 August 2018, 12:06:09 UTC
Add SpeechRecognition Web Platform Tests
Tip revision: e7944b7
WorkerLocation_search_fragment.htm
<!DOCTYPE html>
<title> WorkerLocation.search with &lt;fragment&gt; in &lt;query&gt; </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?test#');
  worker.onmessage = t.step_func_done(function(e) {
    assert_equals(e.data.search, "?test");
  });
});
</script>
back to top