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

Unified Diff: LayoutTests/http/tests/dom/resources/promise-rejection-events.js

Issue 1189513004: Fix memory leaks caused by PromiseRejectionEvents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: LayoutTests/http/tests/dom/resources/promise-rejection-events.js
diff --git a/LayoutTests/http/tests/dom/resources/promise-rejection-events.js b/LayoutTests/http/tests/dom/resources/promise-rejection-events.js
index 8c1555588ae4e1d7c0c84647d32ecdd92e118744..1a7a590a8138a0e7f3732e3aa168de24da3a59ab 100644
--- a/LayoutTests/http/tests/dom/resources/promise-rejection-events.js
+++ b/LayoutTests/http/tests/dom/resources/promise-rejection-events.js
@@ -490,7 +490,7 @@ async_test(function(t) {
assert_array_equals(unhandledPromises, [p]);
assert_array_equals(unhandledReasons, [e]);
assert_equals(ev.promise, p);
- assert_equals(ev.reason, e);
+ assert_equals(ev.reason, undefined);
});
}
};

Powered by Google App Engine
This is Rietveld 408576698