html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/

174 / 176 WPT subtests passing

Failed
1
Timed out
1
Not run
0
Test files
15
Blocking files
0

Chrome 175 / 176 WPT subtests passing on the same files, none blocking, 1 without a result

Tests

15 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
allow-crossorigin.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Promise rejection event should be received for the cross-origin CORS script
disallow-crossorigin.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Promise rejection event should be muted for cross-origin non-CORS script
  2. Promise rejection should be muted if the rejected promise is handled in cross-origin non-CORS script
  3. Promise rejection should be muted if the rejected promise is handled in unhandledrejection event handler in cross-origin non-CORS script
promise-rejection-during-parsing-crash.htmlnone reportedChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run

/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-during-parsing-crash.html PASS none reported

No subtests were reported.

promise-rejection-event-constructor.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. This tests the constructor for the PromiseRejectionEvent DOM class.
promise-rejection-event-during-parse.html0 / 1 passingChrome 0 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

Crane fires the unhandledrejection for a parse-time rejected promise after readystatechange complete - DOMContentLoaded and load run in the task in which the parser stops - exactly as Safari does; Chrome fires it before interactive (a different failure) and Firefox between interactive and complete

Crane matches
Safari
Chrome
wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 1/1 (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
Ruling
the user, 2026-11-14 7:17 AM ET, by prompt: option b, keep Safari's order (after the user's 2026-11-12 ruling that DOMContentLoaded and load run in the parser's task, as all three browsers do; tools/wpt_loss_dispositions.txt, generation 225)
Revisit
when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
  1. FAILPromise rejection during initial parsing of document
    assert_array_equals: lengths differ, expected array ["readystatechange:interactive", "unhandledrejection", "readystatechange:complete"] length 3, got ["readystatechange:interactive", "readystatechange:complete"] length 2
promise-rejection-events-attached-in-event.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Attaching a handler in unhandledrejection should not trigger rejectionhandled.
promise-rejection-events-iframe.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. unhandledrejection: promise is created in iframe and being rejected elsewhere
  2. no unhandledrejection/rejectionhandled: promise is created in iframe and being rejected elsewhere
  3. delayed handling: promise is created in iframe and being rejected elsewhere
promise-rejection-events-many-promises.dedicatedworker.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. unhandledrejection: fires once for each of many rejections in one turn
  2. unhandledrejection: does not fire when many rejections are all handled in the same turn
  3. unhandledrejection: fires only for the rejections left unhandled
  4. unhandledrejection: does not fire when many rejections are handled in reverse order
  5. rejectionhandled: fires once for each of many rejections handled after they were reported
  6. unhandledrejection: handling a reported batch does not suppress a batch rejected after it
promise-rejection-events-many-promises.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. unhandledrejection: fires once for each of many rejections in one turn
  2. unhandledrejection: does not fire when many rejections are all handled in the same turn
  3. unhandledrejection: fires only for the rejections left unhandled
  4. unhandledrejection: does not fire when many rejections are handled in reverse order
  5. rejectionhandled: fires once for each of many rejections handled after they were reported
  6. unhandledrejection: handling a reported batch does not suppress a batch rejected after it
promise-rejection-events-onerror.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Throwing inside an unhandledrejection handler invokes the error handler.
promise-rejection-events.dedicatedworker.html36 / 36 passingChrome 36 / 360 failedClean
Standing
Clean runner status OK
Chrome
Clean 36 / 36 WPT subtests passing runner status OK
36 passing subtests
  1. unhandledrejection: from Promise.reject
  2. unhandledrejection: from a synchronous rejection in new Promise
  3. unhandledrejection: from a task-delayed rejection
  4. unhandledrejection: from a setTimeout-delayed rejection
  5. unhandledrejection: from a throw in a rejection handler chained off of Promise.reject
  6. unhandledrejection: from a throw in a rejection handler chained off of a setTimeout-delayed rejection
  7. unhandledrejection: from a throw in a rejection handler attached one microtask after a setTimeout-delayed rejection
  8. unhandledrejection: from returning a Promise.reject-created rejection in a fulfillment handler
  9. unhandledrejection: from a throw in a fulfillment handler
  10. unhandledrejection: from returning a setTimeout-delayed rejection in a fulfillment handler
  11. unhandledrejection: from Promise.reject, indirected through Promise.all
  12. unhandledrejection: from createImageBitmap which is UA triggered
  13. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject
  14. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject, indirecting through Promise.all
  15. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a synchronously-rejected promise created with new Promise
  16. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from throwing in a fulfillment handler
  17. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler
  18. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a setTimeout-delayed rejection in a fulfillment handler
  19. no unhandledrejection/rejectionhandled: all inside a queued task, a rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler
  20. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap
  21. delayed handling: a microtask delay before attaching a handler prevents both events (Promise.reject-created promise)
  22. delayed handling: a microtask delay before attaching a handler prevents both events (immediately-rejected new Promise-created promise)
  23. delayed handling: a microtask delay before attaching the handler, and before rejecting the promise, indirected through Promise.all
  24. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks
  25. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a queueTask
  26. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a setTimeout
  27. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask
  28. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a queueTask
  29. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a setTimeout
  30. delayed handling: a nested-task delay before attaching a handler causes unhandledrejection
  31. delayed handling: a nested-queueTask after promise creation/rejection, plus promise microtasks, is too late to attach a rejection handler
  32. delayed handling: a nested-queueTask before promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler
  33. delayed handling: a nested-queueTask after promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler
  34. delayed handling: delaying handling by setTimeout(,10) will cause both events to fire
  35. delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire
  36. mutationObserverMicrotask vs. queueTask ordering is not disturbed inside unhandledrejection events
promise-rejection-events.html43 / 43 passingChrome 43 / 430 failedClean
Standing
Clean runner status OK
Chrome
Clean 43 / 43 WPT subtests passing runner status OK
43 passing subtests
  1. unhandledrejection: from Promise.reject
  2. unhandledrejection: from a synchronous rejection in new Promise
  3. unhandledrejection: from a task-delayed rejection
  4. unhandledrejection: from a setTimeout-delayed rejection
  5. unhandledrejection: from a throw in a rejection handler chained off of Promise.reject
  6. unhandledrejection: from a throw in a rejection handler chained off of a setTimeout-delayed rejection
  7. unhandledrejection: from a throw in a rejection handler attached one microtask after a setTimeout-delayed rejection
  8. unhandledrejection: from returning a Promise.reject-created rejection in a fulfillment handler
  9. unhandledrejection: from a throw in a fulfillment handler
  10. unhandledrejection: from returning a setTimeout-delayed rejection in a fulfillment handler
  11. unhandledrejection: from Promise.reject, indirected through Promise.all
  12. unhandledrejection: from createImageBitmap which is UA triggered
  13. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject
  14. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject, indirecting through Promise.all
  15. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a synchronously-rejected promise created with new Promise
  16. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from throwing in a fulfillment handler
  17. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler
  18. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a setTimeout-delayed rejection in a fulfillment handler
  19. no unhandledrejection/rejectionhandled: all inside a queued task, a rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler
  20. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap
  21. delayed handling: a microtask delay before attaching a handler prevents both events (Promise.reject-created promise)
  22. delayed handling: a microtask delay before attaching a handler prevents both events (immediately-rejected new Promise-created promise)
  23. delayed handling: a microtask delay before attaching the handler, and before rejecting the promise, indirected through Promise.all
  24. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks
  25. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a queueTask
  26. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a setTimeout
  27. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask
  28. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a queueTask
  29. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a setTimeout
  30. delayed handling: a task delay before attaching a handler prevents unhandledrejection
  31. delayed handling: queueTask after promise creation/rejection, plus promise microtasks, is not too late to attach a rejection handler
  32. delayed handling: queueTask before promise creation/rejection, plus many promise microtasks, is not too late to attach a rejection handler
  33. delayed handling: queueTask after promise creation/rejection, plus many promise microtasks, is not too late to attach a rejection handler
  34. delayed handling: a nested-task delay before attaching a handler causes unhandledrejection
  35. delayed handling: a nested-queueTask after promise creation/rejection, plus promise microtasks, is too late to attach a rejection handler
  36. delayed handling: a nested-queueTask before promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler
  37. delayed handling: a nested-queueTask after promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler
  38. delayed handling: delaying handling by setTimeout(,10) will cause both events to fire
  39. delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire
  40. mutationObserverMicrotask vs. queueTask ordering is not disturbed inside unhandledrejection events
  41. queueTask ordering vs. the task queued for unhandled rejection notification (1)
  42. queueTask ordering vs. the task queued for unhandled rejection notification (2)
  43. rejectionhandled is dispatched from a queued task, and not immediately
promise-rejection-events.serviceworker.https.html37 / 37 passingChrome 37 / 370 failedClean
Standing
Clean runner status OK
Chrome
Clean 37 / 37 WPT subtests passing runner status OK
37 passing subtests
  1. Service worker setup
  2. unhandledrejection: from Promise.reject
  3. unhandledrejection: from a synchronous rejection in new Promise
  4. unhandledrejection: from a task-delayed rejection
  5. unhandledrejection: from a setTimeout-delayed rejection
  6. unhandledrejection: from a throw in a rejection handler chained off of Promise.reject
  7. unhandledrejection: from a throw in a rejection handler chained off of a setTimeout-delayed rejection
  8. unhandledrejection: from a throw in a rejection handler attached one microtask after a setTimeout-delayed rejection
  9. unhandledrejection: from returning a Promise.reject-created rejection in a fulfillment handler
  10. unhandledrejection: from a throw in a fulfillment handler
  11. unhandledrejection: from returning a setTimeout-delayed rejection in a fulfillment handler
  12. unhandledrejection: from Promise.reject, indirected through Promise.all
  13. unhandledrejection: from createImageBitmap which is UA triggered
  14. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject
  15. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject, indirecting through Promise.all
  16. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a synchronously-rejected promise created with new Promise
  17. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from throwing in a fulfillment handler
  18. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler
  19. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a setTimeout-delayed rejection in a fulfillment handler
  20. no unhandledrejection/rejectionhandled: all inside a queued task, a rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler
  21. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap
  22. delayed handling: a microtask delay before attaching a handler prevents both events (Promise.reject-created promise)
  23. delayed handling: a microtask delay before attaching a handler prevents both events (immediately-rejected new Promise-created promise)
  24. delayed handling: a microtask delay before attaching the handler, and before rejecting the promise, indirected through Promise.all
  25. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks
  26. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a queueTask
  27. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a setTimeout
  28. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask
  29. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a queueTask
  30. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a setTimeout
  31. delayed handling: a nested-task delay before attaching a handler causes unhandledrejection
  32. delayed handling: a nested-queueTask after promise creation/rejection, plus promise microtasks, is too late to attach a rejection handler
  33. delayed handling: a nested-queueTask before promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler
  34. delayed handling: a nested-queueTask after promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler
  35. delayed handling: delaying handling by setTimeout(,10) will cause both events to fire
  36. delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire
  37. mutationObserverMicrotask vs. queueTask ordering is not disturbed inside unhandledrejection events
promise-rejection-events.sharedworker.html36 / 36 passingChrome 36 / 360 failedClean
Standing
Clean runner status OK
Chrome
Clean 36 / 36 WPT subtests passing runner status OK
36 passing subtests
  1. unhandledrejection: from Promise.reject
  2. unhandledrejection: from a synchronous rejection in new Promise
  3. unhandledrejection: from a task-delayed rejection
  4. unhandledrejection: from a setTimeout-delayed rejection
  5. unhandledrejection: from a throw in a rejection handler chained off of Promise.reject
  6. unhandledrejection: from a throw in a rejection handler chained off of a setTimeout-delayed rejection
  7. unhandledrejection: from a throw in a rejection handler attached one microtask after a setTimeout-delayed rejection
  8. unhandledrejection: from returning a Promise.reject-created rejection in a fulfillment handler
  9. unhandledrejection: from a throw in a fulfillment handler
  10. unhandledrejection: from returning a setTimeout-delayed rejection in a fulfillment handler
  11. unhandledrejection: from Promise.reject, indirected through Promise.all
  12. unhandledrejection: from createImageBitmap which is UA triggered
  13. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject
  14. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise from Promise.reject, indirecting through Promise.all
  15. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a synchronously-rejected promise created with new Promise
  16. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from throwing in a fulfillment handler
  17. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler
  18. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from returning a setTimeout-delayed rejection in a fulfillment handler
  19. no unhandledrejection/rejectionhandled: all inside a queued task, a rejection handler attached synchronously to a promise created from returning a Promise.reject-created promise in a fulfillment handler
  20. no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap
  21. delayed handling: a microtask delay before attaching a handler prevents both events (Promise.reject-created promise)
  22. delayed handling: a microtask delay before attaching a handler prevents both events (immediately-rejected new Promise-created promise)
  23. delayed handling: a microtask delay before attaching the handler, and before rejecting the promise, indirected through Promise.all
  24. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks
  25. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a queueTask
  26. microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks, all inside a setTimeout
  27. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask
  28. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a queueTask
  29. microtask nesting: attaching a handler inside a combination of promise microtasks + mutationObserverMicrotask, all inside a setTimeout
  30. delayed handling: a nested-task delay before attaching a handler causes unhandledrejection
  31. delayed handling: a nested-queueTask after promise creation/rejection, plus promise microtasks, is too late to attach a rejection handler
  32. delayed handling: a nested-queueTask before promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler
  33. delayed handling: a nested-queueTask after promise creation/rejection, plus many promise microtasks, is too late to attach a rejection handler
  34. delayed handling: delaying handling by setTimeout(,10) will cause both events to fire
  35. delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire
  36. mutationObserverMicrotask vs. queueTask ordering is not disturbed inside unhandledrejection events
promise-resolution-order.html0 / 1 passingChrome 1 / 10 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Clean 1 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

its scripts' src is " ", which HTML encoding-parses to the document's base URL and fetches (only the empty string fires error), so the error events the test waits for never come and it times out in Crane and Firefox ("Promise rejection ordering": TIMEOUT); Chrome 157 and Safari 27.2 stable treat the src as empty and fire error (Chrome passes, Safari fires them in another order)

Crane matches
Firefox
Chrome
wpt.fyi run 4786307730243584: 1/1 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835; TIMEOUT)
Safari
wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
Ruling
WebKit adopted the spec in d0627f4a50 (2026-10-09); Safari 27.2 stable lags; spec + Firefox (the integrator, 2026-11-20 4:25 PM ET); whitespace-with-base.html and -module.html, which Firefox passes, pin the same rule
Revisit
when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves

/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-resolution-order.html TIMEOUT 0 / 1

  1. TIMEOUTPromise rejection ordering
    Test timed out

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.