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

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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 PASS PaymentRequest constructor should throw for null required parameter. 53 PASS PaymentRequest constructor should throw for null required parameter.
54 PASS Empty list of supported payment method identifiers should throw TypeError. 54 PASS Empty list of supported payment method identifiers should throw TypeError.
55 PASS Empty supported payment method identifiers should throw TypeError. 55 PASS Empty supported payment method identifiers should throw TypeError.
56 PASS Absence of total should throw TypeError. 56 PASS Absence of total should throw TypeError.
57 PASS Negative total value should throw a TypeError. 57 PASS Negative total value should throw a TypeError.
58 PASS Negative total value in PaymentDetailsModifier should throw a TypeError. 58 PASS Negative total value in PaymentDetailsModifier should throw a TypeError.
59 PASS Null supportedMethods in modifiers should throw TypeError. 59 PASS Null supportedMethods in modifiers should throw TypeError.
60 PASS Undefined supportedMethods in modifiers should throw TypeError. 60 PASS Undefined supportedMethods in modifiers should throw TypeError.
61 PASS Empty supportedMethods in modifiers should throw TypeError. 61 PASS Empty supportedMethods in modifiers should throw TypeError.
62 PASS Absence of supportedMethods in modifiers should throw TypeError. 62 PASS Absence of supportedMethods in modifiers should throw TypeError.
63 PASS Empty modifiers should throw TypeError.
64 PASS Empty details should throw 63 PASS Empty details should throw
65 PASS Null items should throw 64 PASS Null items should throw
66 PASS Null shipping options should throw 65 PASS Null shipping options should throw
67 PASS Undefined PaymentShippingType value for shppingType should throw a TypeErro r 66 PASS Undefined PaymentShippingType value for shppingType should throw a TypeErro r
68 PASS Null for shppingType should throw a TypeError 67 PASS Null for shppingType should throw a TypeError
69 PASS Array value for shppingType should throw a TypeError 68 PASS Array value for shppingType should throw a TypeError
70 PASS Object value for shppingType should throw a TypeError 69 PASS Object value for shppingType should throw a TypeError
71 PASS Numeric value for shppingType should throw a TypeError 70 PASS Numeric value for shppingType should throw a TypeError
72 PASS Array value for payment method specific data parameter should throw 71 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
(...skipping 71 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