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

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

Issue 2748093003: PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. (Closed)
Patch Set: PaymentRequest: Introduce PaymentDetailsInit and PaymentDetailsUpdate. Created 3 years, 9 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: 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 5e9a8312e9636db86760d39df97715108b7eea3c..aaf6dae84d67e2e622d75b9287bbbc75542c80a7 100644
--- a/third_party/WebKit/LayoutTests/payments/payment-request-interface.html
+++ b/third_party/WebKit/LayoutTests/payments/payment-request-interface.html
@@ -361,15 +361,6 @@ generate_tests(assert_throws, [
}],
['Empty string for payment method specific data parameter should throw', null, function() {
new PaymentRequest([{'supportedMethods': ['foo'], 'data': ''}], buildDetails())
- }],
- ['If details contains a null value for error, then throw a TypeError', new TypeError(), function() {
- new PaymentRequest([{'supportedMethods': ['foo']}], {'total': buildItem(), 'error': null})
- }],
- ['If details contains an empty string value for error, then throw a TypeError', new TypeError(), function() {
- new PaymentRequest([{'supportedMethods': ['foo']}], {'total': buildItem(), 'error': ''})
- }],
- ['If details contains a non-empty string value for error, then throw a TypeError', new TypeError(), function() {
- new PaymentRequest([{'supportedMethods': ['foo']}], {'total': buildItem(), 'error': 'Message'})
}]
]);

Powered by Google App Engine
This is Rietveld 408576698