Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: LayoutTests/inspector/console/console-revoke-error-expected.txt

Issue 1095943002: DevTools: [console] Logged promise rejections do not change state once handled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: comments addressed Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/console/console-revoke-error-expected.txt
diff --git a/LayoutTests/inspector/console/console-revoke-error-expected.txt b/LayoutTests/inspector/console/console-revoke-error-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2fa2c1793b49e0bcafcecae50f7d2eed1e75849
--- /dev/null
+++ b/LayoutTests/inspector/console/console-revoke-error-expected.txt
@@ -0,0 +1,22 @@
+CONSOLE ERROR: line 11: Uncaught (in promise) Error: Handled error
+CONSOLE MESSAGE: Handler added to rejected promise
+Tests that console revokes lazily handled promise rejections.
+
+Creating promise
+
+Message added: error log
+errors: 1
+revokedErrors: 0
+ console-revoke-error.html:11 Uncaught (in promise) Error: Handled error
+ createPromise @ console-revoke-error.html:11
+ (anonymous function) @ VM:1 console-message-wrapper console-error-level > console-message > outline-disclosure outline-disclosure-no-padding > parent > console-message-text source-code > console-message-url webkit-html-resource-link > object-value-error source-code > object-value-error source-code > webkit-html-resource-link > children > stack-preview-container > webkit-html-resource-link > webkit-html-resource-link > children
+
+Handling promise
+
+Message added: revokedError log
+errors: 0
+revokedErrors: 1
+ console-revoke-error.html:11 Uncaught (in promise) Error: Handled error
+ createPromise @ console-revoke-error.html:11
+ (anonymous function) @ VM:1 console-message-wrapper console-revokedError-level > console-message > outline-disclosure outline-disclosure-no-padding > parent > console-message-text source-code > console-message-url webkit-html-resource-link > object-value-error source-code > object-value-error source-code > webkit-html-resource-link > children > stack-preview-container > webkit-html-resource-link > webkit-html-resource-link > children
+

Powered by Google App Engine
This is Rietveld 408576698