| OLD | NEW |
| 1 CONSOLE MESSAGE: line 15: onunhandledrejection1 | 1 CONSOLE MESSAGE: line 15: onunhandledrejection1 |
| 2 CONSOLE MESSAGE: line 22: onrejectionhandled1 | 2 CONSOLE MESSAGE: line 22: onrejectionhandled1 |
| 3 CONSOLE MESSAGE: line 31: onunhandledrejection2 | 3 CONSOLE MESSAGE: line 31: onunhandledrejection2 |
| 4 CONSOLE ERROR: line 29: Uncaught (in promise) Error: e | 4 CONSOLE ERROR: line 29: Uncaught (in promise) Error: e |
| 5 CONSOLE MESSAGE: line 37: onrejectionhandled2 | 5 CONSOLE MESSAGE: line 37: onrejectionhandled2 |
| 6 Tests that evt.preventDefault() in window.onunhandledrejection suppresses consol
e output. | 6 Tests that evt.preventDefault() in window.onunhandledrejection suppresses consol
e output. |
| 7 | 7 |
| 8 ----console messages start---- | 8 ----console messages start---- |
| 9 console-promise-reject-and-handle.html:15 onunhandledrejection1 | 9 console-promise-reject-and-handle.html:15 onunhandledrejection1 |
| 10 console-promise-reject-and-handle.html:22 onrejectionhandled1 | 10 console-promise-reject-and-handle.html:22 onrejectionhandled1 |
| 11 console-promise-reject-and-handle.html:31 onunhandledrejection2 | 11 console-promise-reject-and-handle.html:31 onunhandledrejection2 |
| 12 console-promise-reject-and-handle.html:29 Uncaught (in promise) Error: e(…) | 12 console-promise-reject-and-handle.html:29 Uncaught (in promise) Error: e |
| 13 at setupPromise2 (console-promise-reject-and-handle.html:29) |
| 13 console-promise-reject-and-handle.html:37 onrejectionhandled2 | 14 console-promise-reject-and-handle.html:37 onrejectionhandled2 |
| 14 ----console messages end---- | 15 ----console messages end---- |
| 15 | 16 |
| OLD | NEW |