https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a426a86ef8d3e3f846e8b746cef342385c994c5d authored by Boris Zbarsky on 28 July 2015, 16:53:24 UTC
Add a test for proto cycle checking on Windows.
Tip revision: a426a86
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