Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
Pass ErrorEvent and Worker.dispatchEvent()
Asserts run
Pass
assert_equals("error", "error", "type")
    at Test.<anonymous> ( /workers/Worker_dispatchEvent_ErrorEvent.htm:16:5)
Pass
assert_equals("Hello Worker", "Hello Worker", "message")
    at Test.<anonymous> ( /workers/Worker_dispatchEvent_ErrorEvent.htm:17:5)
Pass
assert_equals("./support/ErrorEvent.js", "./support/ErrorEvent.js", "filename")
    at Test.<anonymous> ( /workers/Worker_dispatchEvent_ErrorEvent.htm:18:5)
Pass
assert_equals(5, 5, "lineno")
    at Test.<anonymous> ( /workers/Worker_dispatchEvent_ErrorEvent.htm:19:5)
Pass
assert_equals(6, 6, "colno")
    at Test.<anonymous> ( /workers/Worker_dispatchEvent_ErrorEvent.htm:20:5)
Pass
assert_equals(object "Error: test", object "Error: test", "error")
    at Test.<anonymous> ( /workers/Worker_dispatchEvent_ErrorEvent.htm:21:5)
PassinitErrorEvent
Asserts run
Pass
assert_false(false, "should not be supported")
    at Test.<anonymous> ( /workers/Worker_dispatchEvent_ErrorEvent.htm:29:3)
PassErrorEvent constructor called as normal function
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => ErrorEvent('')", "Calling ErrorEvent constructor without 'new' must throw")
    at Test.<anonymous> ( /workers/Worker_dispatchEvent_ErrorEvent.htm:33:3)