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

Side by Side Diff: third_party/WebKit/LayoutTests/payments/payment-request-interface-expected.txt

Issue 2851383002: Verify behavior of PaymentRequest constructor. (Closed)
Patch Set: Comments Created 3 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 unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: line 160: Duplicate shipping option identifier 'express' is tre ated as an invalid address indicator. 1 CONSOLE WARNING: line 160: Duplicate shipping option identifier 'express' is tre ated as an invalid address indicator.
2 CONSOLE WARNING: line 248: Cannot yet distinguish credit, debit, and prepaid car ds. 2 CONSOLE WARNING: line 248: Cannot yet distinguish credit, debit, and prepaid car ds.
3 CONSOLE WARNING: line 252: Cannot yet distinguish credit, debit, and prepaid car ds. 3 CONSOLE WARNING: line 252: Cannot yet distinguish credit, debit, and prepaid car ds.
4 This is a testharness.js-based test. 4 This is a testharness.js-based test.
5 PASS Creating a PaymentRequest with empty parameters should not throw or crash. 5 PASS Creating a PaymentRequest with empty parameters should not throw or crash.
6 PASS Creating a PaymentRequest with extra parameters should not throw or crash. 6 PASS Creating a PaymentRequest with extra parameters should not throw or crash.
7 PASS Creating a PaymentRequest with omitted optional parameters should not throw or crash. 7 PASS Creating a PaymentRequest with omitted optional parameters should not throw or crash.
8 PASS Creating a PaymentRequest with undefined optional parameters should not thr ow or crash. 8 PASS Creating a PaymentRequest with undefined optional parameters should not thr ow or crash.
9 PASS Creating a PaymentRequest with null optional parameters should not throw or crash. 9 PASS Creating a PaymentRequest with null optional parameters should not throw or crash.
10 PASS PaymentRequest should have readonly shippingAddress and shippingOption prop erties. 10 PASS PaymentRequest should have readonly shippingAddress and shippingOption prop erties.
(...skipping 29 matching lines...) Expand all
40 PASS Duplicate supported payment method identifiers in separate methoData object s of modifiers should not throw. 40 PASS Duplicate supported payment method identifiers in separate methoData object s of modifiers should not throw.
41 PASS Android Pay parameters for test environment with gateway token should not t hrow. 41 PASS Android Pay parameters for test environment with gateway token should not t hrow.
42 PASS Android Pay parameters for produciton environment with network token should not throw. 42 PASS Android Pay parameters for produciton environment with network token should not throw.
43 PASS Basic card parameters should not throw. 43 PASS Basic card parameters should not throw.
44 PASS Empty basic card parameters should not throw. 44 PASS Empty basic card parameters should not throw.
45 PASS Invalid basic card parameters should not throw when method name is not "bas ic-card". 45 PASS Invalid basic card parameters should not throw when method name is not "bas ic-card".
46 PASS Invalid basic card parameters should not throw even when method name is "ba sic-card". 46 PASS Invalid basic card parameters should not throw even when method name is "ba sic-card".
47 PASS Android Pay parameters for network token without environment key should not throw. 47 PASS Android Pay parameters for network token without environment key should not throw.
48 PASS Invalid Android Pay parameters should not throw when method name is not "ht tps://android.com/pay". 48 PASS Invalid Android Pay parameters should not throw when method name is not "ht tps://android.com/pay".
49 PASS Invalid Android Pay parameters should not throw even when method name is "h ttps://android.com/pay". 49 PASS Invalid Android Pay parameters should not throw even when method name is "h ttps://android.com/pay".
50 PASS Array value for payment method specific data parameter should not throw
50 PASS abort() without show() should reject with error 51 PASS abort() without show() should reject with error
51 PASS PaymentRequest constructor should throw for incorrect parameter types. 52 PASS PaymentRequest constructor should throw for incorrect parameter types.
52 PASS PaymentRequest constructor should throw for undefined required parameters. 53 PASS PaymentRequest constructor should throw for undefined required parameters.
53 PASS PaymentRequest constructor should throw for null required parameter. 54 PASS PaymentRequest constructor should throw for null required parameter.
54 PASS Empty list of supported payment method identifiers should throw TypeError. 55 PASS Empty list of supported payment method identifiers should throw TypeError.
55 PASS Empty supported payment method identifiers should throw TypeError. 56 PASS Empty supported payment method identifiers should throw TypeError.
56 PASS Absence of total should throw TypeError. 57 PASS Absence of total should throw TypeError.
57 PASS Negative total value should throw a TypeError. 58 PASS Negative total value should throw a TypeError.
58 PASS Negative total value in PaymentDetailsModifier should throw a TypeError. 59 PASS Negative total value in PaymentDetailsModifier should throw a TypeError.
59 PASS Null supportedMethods in modifiers should throw TypeError. 60 PASS Null supportedMethods in modifiers should throw TypeError.
60 PASS Undefined supportedMethods in modifiers should throw TypeError. 61 PASS Undefined supportedMethods in modifiers should throw TypeError.
61 PASS Empty supportedMethods in modifiers should throw TypeError. 62 PASS Empty supportedMethods in modifiers should throw TypeError.
62 PASS Absence of supportedMethods in modifiers should throw TypeError. 63 PASS Absence of supportedMethods in modifiers should throw TypeError.
63 PASS Empty modifiers should throw TypeError.
64 PASS Empty details should throw 64 PASS Empty details should throw
65 PASS Null items should throw 65 PASS Null items should throw
66 PASS Null shipping options should throw 66 PASS Null shipping options should throw
67 PASS Undefined PaymentShippingType value for shppingType should throw a TypeErro r 67 PASS Undefined PaymentShippingType value for shppingType should throw a TypeErro r
68 PASS Null for shppingType should throw a TypeError 68 PASS Null for shppingType should throw a TypeError
69 PASS Array value for shppingType should throw a TypeError 69 PASS Array value for shppingType should throw a TypeError
70 PASS Object value for shppingType should throw a TypeError 70 PASS Object value for shppingType should throw a TypeError
71 PASS Numeric value for shppingType should throw a TypeError 71 PASS Numeric value for shppingType should throw a TypeError
72 PASS Array value for payment method specific data parameter should throw
73 PASS String value for payment method specific data parameter should throw 72 PASS String value for payment method specific data parameter should throw
74 PASS Numeric value for payment method specific data parameter should throw 73 PASS Numeric value for payment method specific data parameter should throw
75 PASS Infinite JSON value for one of the payment method specific data pieces shou ld throw 74 PASS Infinite JSON value for one of the payment method specific data pieces shou ld throw
76 PASS Null for payment method specific data parameter should throw 75 PASS Null for payment method specific data parameter should throw
77 PASS Empty string for payment method specific data parameter should throw 76 PASS Empty string for payment method specific data parameter should throw
78 PASS Undefined currency code in total should throw 77 PASS Undefined currency code in total should throw
79 PASS Invalid amount "-" in total should throw 78 PASS Invalid amount "-" in total should throw
80 PASS Invalid amount "notdigits" in total should throw 79 PASS Invalid amount "notdigits" in total should throw
81 PASS Invalid amount "ALSONOTDIGITS" in total should throw 80 PASS Invalid amount "ALSONOTDIGITS" in total should throw
82 PASS Invalid amount "10." in total should throw 81 PASS Invalid amount "10." in total should throw
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 PASS Invalid amount "-.99" in modifiers.0.additionalDisplayItems.0 should throw 144 PASS Invalid amount "-.99" in modifiers.0.additionalDisplayItems.0 should throw
146 PASS Invalid amount "10-" in modifiers.0.additionalDisplayItems.0 should throw 145 PASS Invalid amount "10-" in modifiers.0.additionalDisplayItems.0 should throw
147 PASS Invalid amount "1-0" in modifiers.0.additionalDisplayItems.0 should throw 146 PASS Invalid amount "1-0" in modifiers.0.additionalDisplayItems.0 should throw
148 PASS Invalid amount "1.0.0" in modifiers.0.additionalDisplayItems.0 should throw 147 PASS Invalid amount "1.0.0" in modifiers.0.additionalDisplayItems.0 should throw
149 PASS Invalid amount "1/3" in modifiers.0.additionalDisplayItems.0 should throw 148 PASS Invalid amount "1/3" in modifiers.0.additionalDisplayItems.0 should throw
150 PASS Empty amount in modifiers.0.additionalDisplayItems.0 should throw 149 PASS Empty amount in modifiers.0.additionalDisplayItems.0 should throw
151 PASS Null amount in modifiers.0.additionalDisplayItems.0 should throw 150 PASS Null amount in modifiers.0.additionalDisplayItems.0 should throw
152 PASS Undefined amount in modifiers.0.additionalDisplayItems.0 should throw 151 PASS Undefined amount in modifiers.0.additionalDisplayItems.0 should throw
153 Harness: the test ran to completion. 152 Harness: the test ran to completion.
154 153
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698