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

Unified Diff: LayoutTests/fast/dom/promise-rejection-events-console.html

Issue 1181353005: Return null when no promise/reason is given in PromiseRejectionEvent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 5 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/constructors/promise-rejection-event-constructor.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/promise-rejection-events-console.html
diff --git a/LayoutTests/fast/dom/promise-rejection-events-console.html b/LayoutTests/fast/dom/promise-rejection-events-console.html
index 375a11ac517c028dc7a6aaf05dcf0da5858bd5e5..b6701c825742802edd097cd78f64dfcddd9ae2d6 100644
--- a/LayoutTests/fast/dom/promise-rejection-events-console.html
+++ b/LayoutTests/fast/dom/promise-rejection-events-console.html
@@ -29,7 +29,7 @@ async_test(function(t) {
t.step(function() {
assert_false(evt.cancelable);
assert_equals(evt.promise, p);
- assert_equals(evt.reason, undefined);
+ assert_equals(evt.reason, null);
});
setTimeout(function() {
if (window.internals) {
« no previous file with comments | « no previous file | LayoutTests/fast/events/constructors/promise-rejection-event-constructor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698