Index: LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-expected.txt |
diff --git a/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-expected.txt b/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3e183da03a527ae9405da8706c18f9e022865d70 |
--- /dev/null |
+++ b/LayoutTests/inspector-enabled/console/console-uncaught-promise-no-inspector-expected.txt |
@@ -0,0 +1,18 @@ |
+CONSOLE ERROR: line 9: Unhandled promise rejection |
+CONSOLE ERROR: line 28: Unhandled promise rejection |
+CONSOLE ERROR: line 47: Unhandled promise rejection |
+Tests that uncaught promise rejection messages have line numbers when the inspector is closed and stack traces are not collected. |
+ |
+console-uncaught-promise-no-inspector.html:9 Unhandled promise rejection Promise |
+ __proto__: Promise |
+ [[PromiseStatus]]: "rejected" |
+ [[PromiseValue]]: Error: err1 |
+console-uncaught-promise-no-inspector.html:28 Unhandled promise rejection Promise |
+ __proto__: Promise |
+ [[PromiseStatus]]: "rejected" |
+ [[PromiseValue]]: Error: err2 |
+console-uncaught-promise-no-inspector.html:47 Unhandled promise rejection Promise |
+ __proto__: Promise |
+ [[PromiseStatus]]: "rejected" |
+ [[PromiseValue]]: DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. |
+ |