blob: 912cf6e5a28e28bf689dc49792c30871467a66dc [file] [log] [blame]
<!DOCTYPE html>
<title> AbstractWorker ErrorEvent.lineno </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.onerror = t.step_func_done(function(e) {
assert_equals(e.lineno, 3);
});
worker.postMessage("Error Message");
});
</script>