https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 41f3538c0d392a6e2f5ca962527ec9fbcf4100fc authored by Philip Jägenstedt on 04 April 2018, 15:24:36 UTC
Simplify assert_throws in two places where error messages were passed
Tip revision: 41f3538
WorkerLocation_search_empty.htm
<!DOCTYPE html>
<title> WorkerLocation.search with empty &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?");
  worker.onmessage = t.step_func_done(function(e) {
    assert_equals(e.data.search, "");
  });
});
</script>
back to top