https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 02832764733119f0883cbdd8a50db41d745ea420 authored by Ms2ger on 07 April 2016, 11:57:32 UTC
Add @Sebmaster to url reviewers.
Tip revision: 0283276
WorkerGlobalScope_ErrorEvent_colno.htm
<!DOCTYPE html>
<title> WorkerGlobalScope onerror event handler argument: col </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/ErrorEvent.js');
  worker.onmessage = t.step_func_done(function(e) {
    assert_equals(typeof e.data.colno, "number");
  });
  worker.postMessage("Error Message");
});
</script>
back to top