Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { PromiseRejectionEvent('', { promise: p }); }", "Calling PromiseRejectionEvent constructor without 'new' must throw")
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:12:3) |
Pass | assert_equals(false, false)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:19:3) |
Pass | assert_equals(false, false)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:20:3) |
Pass | assert_equals(object "[object Promise]", object "[object Promise]")
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:21:3) |
Pass | assert_equals(undefined, undefined)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:22:3) |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new PromiseRejectionEvent('eventType', { bubbles: false }); }", "Cannot construct PromiseRejectionEventInit without promise")
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:25:3) |
Pass | assert_equals(false, false)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:32:3) |
Pass | assert_equals(true, true)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:33:3) |
Pass | assert_equals(false, false)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:36:3) |
Pass | assert_equals(true, true)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:37:3) |
Pass | assert_equals(object "Error", object "Error")
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:41:3) |
Pass | assert_equals(null, null)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:42:3) |
Pass | assert_equals(true, true)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:45:3) |
Pass | assert_equals(true, true)
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:46:3) |
Pass | assert_equals(object "[object Promise]", object "[object Promise]")
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:47:3) |
Pass | assert_equals(object "Error", object "Error")
at Test.<anonymous> ( /html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-event-constructor.html:48:3) |