https://github.com/web-platform-tests/wpt
Raw File
Tip revision: cf66d533ef3ca1491f85b715e52a792f292ce896 authored by Simon Pieters on 25 August 2016, 09:30:34 UTC
Update DOMTokenList IDL to current DOM spec
Tip revision: cf66d53
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