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

Unified Diff: third_party/WebKit/LayoutTests/payments/payment-request-interface.html

Issue 2022283004: Empty list of payment methods should throw TypeError. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New TypeError Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/payments/payment-request-interface.html
diff --git a/third_party/WebKit/LayoutTests/payments/payment-request-interface.html b/third_party/WebKit/LayoutTests/payments/payment-request-interface.html
index c86077723b2b9a665513c21c57e1cf35f6b7a2bf..50bce3bda726d0f61fa5a25b4b88310bf71abe07 100644
--- a/third_party/WebKit/LayoutTests/payments/payment-request-interface.html
+++ b/third_party/WebKit/LayoutTests/payments/payment-request-interface.html
@@ -124,7 +124,7 @@ generate_tests(assert_throws, [
['PaymentRequest constructor should throw for null required parameter.', null, function() {
new PaymentRequest(null, null)
}],
- ['Empty list of supported payment method identifiers should throw.', null, function() {
+ ['Empty list of supported payment method identifiers should throw TypeError.', new TypeError(), function() {
new PaymentRequest([], buildDetails())
}],
['Keys in payment method specific data object should match accepted method identifiers.', null, function() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698