11Tests that uncaught promise rejections are logged into console.
22
33console-uncaught-promise.js:26 Uncaught (in promise) Error: err1
44promiseTest1 @ console-uncaught-promise.js:26
55timeout @ console-uncaught-promise.js:19
6Promise rejected (async)
6Promise.then (async)
77promiseTest1 @ console-uncaught-promise.js:29
88timeout @ console-uncaught-promise.js:19
99setTimeout (async)
1212console-uncaught-promise.js:47 Uncaught (in promise) Error: err2
1313promiseTest2 @ console-uncaught-promise.js:47
1414timeout @ console-uncaught-promise.js:19
15Promise rejected (async)
15Promise.then (async)
1616(anonymous) @ console-uncaught-promise.js:43
17Promise rejected (async)
17Promise.catch (async)
1818(anonymous) @ console-uncaught-promise.js:42
19Promise rejected (async)
19Promise.catch (async)
2020(anonymous) @ console-uncaught-promise.js:41
21Promise rejected (async)
21Promise.catch (async)
2222promiseTest2 @ console-uncaught-promise.js:40
2323timeout @ console-uncaught-promise.js:19
2424setTimeout (async)
2727console-uncaught-promise.js:65 Uncaught (in promise) DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
2828throwDOMException @ console-uncaught-promise.js:65
2929catcher @ console-uncaught-promise.js:57
30Promise rejected (async)
30Promise.catch (async)
3131promiseTest3 @ console-uncaught-promise.js:56
3232timeout @ console-uncaught-promise.js:19
3333setTimeout (async)
6868A bad HTTP response code (404) was received when fetching the script.
6969:8000/devtools/console/404 Failed to load resource: net::ERR_INVALID_RESPONSE
7070inspected-page.html:1 Uncaught (in promise) TypeError: Failed to register a ServiceWorker: A bad HTTP response code (404) was received when fetching the script.
71Promise (async)
72promiseTest9 @ console-uncaught-promise.js:96
73timeout @ console-uncaught-promise.js:19
74setTimeout (async)
75runNextPromiseTest @ console-uncaught-promise.js:18
76(anonymous) @ console-uncaught-promise.js:106
7771