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

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

Issue 2891463002: Update testharness.js and idlharness.js. (Closed)
Patch Set: Update expectations 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 30 matching lines...) Expand all
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 Array value for payment method specific data parameter should not throw
51 PASS abort() without show() should reject with error 51 FAIL abort() without show() should reject with error Test bug: need to pass exce ption to assert_throws()
52 PASS PaymentRequest constructor should throw for incorrect parameter types. 52 FAIL PaymentRequest constructor should throw for incorrect parameter types. Test bug: need to pass exception to assert_throws()
53 PASS PaymentRequest constructor should throw for undefined required parameters. 53 FAIL PaymentRequest constructor should throw for undefined required parameters. Test bug: need to pass exception to assert_throws()
54 PASS PaymentRequest constructor should throw for null required parameter. 54 FAIL PaymentRequest constructor should throw for null required parameter. Test b ug: need to pass exception to assert_throws()
55 PASS Empty list of supported payment method identifiers should throw TypeError. 55 PASS Empty list of supported payment method identifiers should throw TypeError.
56 PASS Empty supported payment method identifiers should throw TypeError. 56 FAIL Empty supported payment method identifiers should throw TypeError. Test bug : need to pass exception to assert_throws()
57 PASS Absence of total should throw TypeError. 57 FAIL Absence of total should throw TypeError. Test bug: need to pass exception t o assert_throws()
58 PASS Negative total value should throw a TypeError. 58 FAIL Negative total value should throw a TypeError. Test bug: need to pass excep tion to assert_throws()
59 PASS Negative total value in PaymentDetailsModifier should throw a TypeError. 59 FAIL Negative total value in PaymentDetailsModifier should throw a TypeError. Te st bug: need to pass exception to assert_throws()
60 PASS Null supportedMethods in modifiers should throw TypeError. 60 FAIL Null supportedMethods in modifiers should throw TypeError. Test bug: need t o pass exception to assert_throws()
61 PASS Undefined supportedMethods in modifiers should throw TypeError. 61 FAIL Undefined supportedMethods in modifiers should throw TypeError. Test bug: n eed to pass exception to assert_throws()
62 PASS Empty supportedMethods in modifiers should throw TypeError. 62 FAIL Empty supportedMethods in modifiers should throw TypeError. Test bug: need to pass exception to assert_throws()
63 PASS Absence of supportedMethods in modifiers should throw TypeError. 63 FAIL Absence of supportedMethods in modifiers should throw TypeError. Test bug: need to pass exception to assert_throws()
64 PASS Empty details should throw 64 FAIL Empty details should throw Test bug: need to pass exception to assert_throw s()
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 String value for payment method specific data parameter should throw 72 FAIL String value for payment method specific data parameter should throw Test b ug: need to pass exception to assert_throws()
73 PASS Numeric value for payment method specific data parameter should throw 73 FAIL Numeric value for payment method specific data parameter should throw Test bug: need to pass exception to assert_throws()
74 PASS Infinite JSON value for one of the payment method specific data pieces shou ld throw 74 FAIL Infinite JSON value for one of the payment method specific data pieces shou ld throw Test bug: need to pass exception to assert_throws()
75 PASS Null for payment method specific data parameter should throw 75 FAIL Null for payment method specific data parameter should throw Test bug: need to pass exception to assert_throws()
76 PASS Empty string for payment method specific data parameter should throw 76 FAIL Empty string for payment method specific data parameter should throw Test b ug: need to pass exception to assert_throws()
77 PASS Undefined currency code in total should throw 77 FAIL Undefined currency code in total should throw Test bug: need to pass except ion to assert_throws()
78 PASS Invalid amount "-" in total should throw 78 FAIL Invalid amount "-" in total should throw Test bug: need to pass exception t o assert_throws()
79 PASS Invalid amount "notdigits" in total should throw 79 FAIL Invalid amount "notdigits" in total should throw Test bug: need to pass exc eption to assert_throws()
80 PASS Invalid amount "ALSONOTDIGITS" in total should throw 80 FAIL Invalid amount "ALSONOTDIGITS" in total should throw Test bug: need to pass exception to assert_throws()
81 PASS Invalid amount "10." in total should throw 81 FAIL Invalid amount "10." in total should throw Test bug: need to pass exception to assert_throws()
82 PASS Invalid amount ".99" in total should throw 82 FAIL Invalid amount ".99" in total should throw Test bug: need to pass exception to assert_throws()
83 PASS Invalid amount "-10." in total should throw 83 FAIL Invalid amount "-10." in total should throw Test bug: need to pass exceptio n to assert_throws()
84 PASS Invalid amount "-.99" in total should throw 84 FAIL Invalid amount "-.99" in total should throw Test bug: need to pass exceptio n to assert_throws()
85 PASS Invalid amount "10-" in total should throw 85 FAIL Invalid amount "10-" in total should throw Test bug: need to pass exception to assert_throws()
86 PASS Invalid amount "1-0" in total should throw 86 FAIL Invalid amount "1-0" in total should throw Test bug: need to pass exception to assert_throws()
87 PASS Invalid amount "1.0.0" in total should throw 87 FAIL Invalid amount "1.0.0" in total should throw Test bug: need to pass excepti on to assert_throws()
88 PASS Invalid amount "1/3" in total should throw 88 FAIL Invalid amount "1/3" in total should throw Test bug: need to pass exception to assert_throws()
89 PASS Empty amount in total should throw 89 FAIL Empty amount in total should throw Test bug: need to pass exception to asse rt_throws()
90 PASS Null amount in total should throw 90 FAIL Null amount in total should throw Test bug: need to pass exception to asser t_throws()
91 PASS Undefined amount in total should throw 91 FAIL Undefined amount in total should throw Test bug: need to pass exception to assert_throws()
92 PASS Undefined currency code in displayItems.0 should throw 92 FAIL Undefined currency code in displayItems.0 should throw Test bug: need to pa ss exception to assert_throws()
93 PASS Invalid amount "-" in displayItems.0 should throw 93 FAIL Invalid amount "-" in displayItems.0 should throw Test bug: need to pass ex ception to assert_throws()
94 PASS Invalid amount "notdigits" in displayItems.0 should throw 94 FAIL Invalid amount "notdigits" in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
95 PASS Invalid amount "ALSONOTDIGITS" in displayItems.0 should throw 95 FAIL Invalid amount "ALSONOTDIGITS" in displayItems.0 should throw Test bug: nee d to pass exception to assert_throws()
96 PASS Invalid amount "10." in displayItems.0 should throw 96 FAIL Invalid amount "10." in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
97 PASS Invalid amount ".99" in displayItems.0 should throw 97 FAIL Invalid amount ".99" in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
98 PASS Invalid amount "-10." in displayItems.0 should throw 98 FAIL Invalid amount "-10." in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
99 PASS Invalid amount "-.99" in displayItems.0 should throw 99 FAIL Invalid amount "-.99" in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
100 PASS Invalid amount "10-" in displayItems.0 should throw 100 FAIL Invalid amount "10-" in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
101 PASS Invalid amount "1-0" in displayItems.0 should throw 101 FAIL Invalid amount "1-0" in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
102 PASS Invalid amount "1.0.0" in displayItems.0 should throw 102 FAIL Invalid amount "1.0.0" in displayItems.0 should throw Test bug: need to pas s exception to assert_throws()
103 PASS Invalid amount "1/3" in displayItems.0 should throw 103 FAIL Invalid amount "1/3" in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
104 PASS Empty amount in displayItems.0 should throw 104 FAIL Empty amount in displayItems.0 should throw Test bug: need to pass exceptio n to assert_throws()
105 PASS Null amount in displayItems.0 should throw 105 FAIL Null amount in displayItems.0 should throw Test bug: need to pass exception to assert_throws()
106 PASS Undefined amount in displayItems.0 should throw 106 FAIL Undefined amount in displayItems.0 should throw Test bug: need to pass exce ption to assert_throws()
107 PASS Undefined currency code in shippingOptions.0 should throw 107 FAIL Undefined currency code in shippingOptions.0 should throw Test bug: need to pass exception to assert_throws()
108 PASS Invalid amount "-" in shippingOptions.0 should throw 108 FAIL Invalid amount "-" in shippingOptions.0 should throw Test bug: need to pass exception to assert_throws()
109 PASS Invalid amount "notdigits" in shippingOptions.0 should throw 109 FAIL Invalid amount "notdigits" in shippingOptions.0 should throw Test bug: need to pass exception to assert_throws()
110 PASS Invalid amount "ALSONOTDIGITS" in shippingOptions.0 should throw 110 FAIL Invalid amount "ALSONOTDIGITS" in shippingOptions.0 should throw Test bug: need to pass exception to assert_throws()
111 PASS Invalid amount "10." in shippingOptions.0 should throw 111 FAIL Invalid amount "10." in shippingOptions.0 should throw Test bug: need to pa ss exception to assert_throws()
112 PASS Invalid amount ".99" in shippingOptions.0 should throw 112 FAIL Invalid amount ".99" in shippingOptions.0 should throw Test bug: need to pa ss exception to assert_throws()
113 PASS Invalid amount "-10." in shippingOptions.0 should throw 113 FAIL Invalid amount "-10." in shippingOptions.0 should throw Test bug: need to p ass exception to assert_throws()
114 PASS Invalid amount "-.99" in shippingOptions.0 should throw 114 FAIL Invalid amount "-.99" in shippingOptions.0 should throw Test bug: need to p ass exception to assert_throws()
115 PASS Invalid amount "10-" in shippingOptions.0 should throw 115 FAIL Invalid amount "10-" in shippingOptions.0 should throw Test bug: need to pa ss exception to assert_throws()
116 PASS Invalid amount "1-0" in shippingOptions.0 should throw 116 FAIL Invalid amount "1-0" in shippingOptions.0 should throw Test bug: need to pa ss exception to assert_throws()
117 PASS Invalid amount "1.0.0" in shippingOptions.0 should throw 117 FAIL Invalid amount "1.0.0" in shippingOptions.0 should throw Test bug: need to pass exception to assert_throws()
118 PASS Invalid amount "1/3" in shippingOptions.0 should throw 118 FAIL Invalid amount "1/3" in shippingOptions.0 should throw Test bug: need to pa ss exception to assert_throws()
119 PASS Empty amount in shippingOptions.0 should throw 119 FAIL Empty amount in shippingOptions.0 should throw Test bug: need to pass excep tion to assert_throws()
120 PASS Null amount in shippingOptions.0 should throw 120 FAIL Null amount in shippingOptions.0 should throw Test bug: need to pass except ion to assert_throws()
121 PASS Undefined amount in shippingOptions.0 should throw 121 FAIL Undefined amount in shippingOptions.0 should throw Test bug: need to pass e xception to assert_throws()
122 PASS Undefined currency code in modifiers.0.total should throw 122 FAIL Undefined currency code in modifiers.0.total should throw Test bug: need to pass exception to assert_throws()
123 PASS Invalid amount "-" in modifiers.0.total should throw 123 FAIL Invalid amount "-" in modifiers.0.total should throw Test bug: need to pass exception to assert_throws()
124 PASS Invalid amount "notdigits" in modifiers.0.total should throw 124 FAIL Invalid amount "notdigits" in modifiers.0.total should throw Test bug: need to pass exception to assert_throws()
125 PASS Invalid amount "ALSONOTDIGITS" in modifiers.0.total should throw 125 FAIL Invalid amount "ALSONOTDIGITS" in modifiers.0.total should throw Test bug: need to pass exception to assert_throws()
126 PASS Invalid amount "10." in modifiers.0.total should throw 126 FAIL Invalid amount "10." in modifiers.0.total should throw Test bug: need to pa ss exception to assert_throws()
127 PASS Invalid amount ".99" in modifiers.0.total should throw 127 FAIL Invalid amount ".99" in modifiers.0.total should throw Test bug: need to pa ss exception to assert_throws()
128 PASS Invalid amount "-10." in modifiers.0.total should throw 128 FAIL Invalid amount "-10." in modifiers.0.total should throw Test bug: need to p ass exception to assert_throws()
129 PASS Invalid amount "-.99" in modifiers.0.total should throw 129 FAIL Invalid amount "-.99" in modifiers.0.total should throw Test bug: need to p ass exception to assert_throws()
130 PASS Invalid amount "10-" in modifiers.0.total should throw 130 FAIL Invalid amount "10-" in modifiers.0.total should throw Test bug: need to pa ss exception to assert_throws()
131 PASS Invalid amount "1-0" in modifiers.0.total should throw 131 FAIL Invalid amount "1-0" in modifiers.0.total should throw Test bug: need to pa ss exception to assert_throws()
132 PASS Invalid amount "1.0.0" in modifiers.0.total should throw 132 FAIL Invalid amount "1.0.0" in modifiers.0.total should throw Test bug: need to pass exception to assert_throws()
133 PASS Invalid amount "1/3" in modifiers.0.total should throw 133 FAIL Invalid amount "1/3" in modifiers.0.total should throw Test bug: need to pa ss exception to assert_throws()
134 PASS Empty amount in modifiers.0.total should throw 134 FAIL Empty amount in modifiers.0.total should throw Test bug: need to pass excep tion to assert_throws()
135 PASS Null amount in modifiers.0.total should throw 135 FAIL Null amount in modifiers.0.total should throw Test bug: need to pass except ion to assert_throws()
136 PASS Undefined amount in modifiers.0.total should throw 136 FAIL Undefined amount in modifiers.0.total should throw Test bug: need to pass e xception to assert_throws()
137 PASS Undefined currency code in modifiers.0.additionalDisplayItems.0 should thro w 137 FAIL Undefined currency code in modifiers.0.additionalDisplayItems.0 should thro w Test bug: need to pass exception to assert_throws()
138 PASS Invalid amount "-" in modifiers.0.additionalDisplayItems.0 should throw 138 FAIL Invalid amount "-" in modifiers.0.additionalDisplayItems.0 should throw Tes t bug: need to pass exception to assert_throws()
139 PASS Invalid amount "notdigits" in modifiers.0.additionalDisplayItems.0 should t hrow 139 FAIL Invalid amount "notdigits" in modifiers.0.additionalDisplayItems.0 should t hrow Test bug: need to pass exception to assert_throws()
140 PASS Invalid amount "ALSONOTDIGITS" in modifiers.0.additionalDisplayItems.0 shou ld throw 140 FAIL Invalid amount "ALSONOTDIGITS" in modifiers.0.additionalDisplayItems.0 shou ld throw Test bug: need to pass exception to assert_throws()
141 PASS Invalid amount "10." in modifiers.0.additionalDisplayItems.0 should throw 141 FAIL Invalid amount "10." in modifiers.0.additionalDisplayItems.0 should throw T est bug: need to pass exception to assert_throws()
142 PASS Invalid amount ".99" in modifiers.0.additionalDisplayItems.0 should throw 142 FAIL Invalid amount ".99" in modifiers.0.additionalDisplayItems.0 should throw T est bug: need to pass exception to assert_throws()
143 PASS Invalid amount "-10." in modifiers.0.additionalDisplayItems.0 should throw 143 FAIL Invalid amount "-10." in modifiers.0.additionalDisplayItems.0 should throw Test bug: need to pass exception to assert_throws()
144 PASS Invalid amount "-.99" in modifiers.0.additionalDisplayItems.0 should throw 144 FAIL Invalid amount "-.99" in modifiers.0.additionalDisplayItems.0 should throw Test bug: need to pass exception to assert_throws()
145 PASS Invalid amount "10-" in modifiers.0.additionalDisplayItems.0 should throw 145 FAIL Invalid amount "10-" in modifiers.0.additionalDisplayItems.0 should throw T est bug: need to pass exception to assert_throws()
146 PASS Invalid amount "1-0" in modifiers.0.additionalDisplayItems.0 should throw 146 FAIL Invalid amount "1-0" in modifiers.0.additionalDisplayItems.0 should throw T est bug: need to pass exception to assert_throws()
147 PASS Invalid amount "1.0.0" in modifiers.0.additionalDisplayItems.0 should throw 147 FAIL Invalid amount "1.0.0" in modifiers.0.additionalDisplayItems.0 should throw Test bug: need to pass exception to assert_throws()
148 PASS Invalid amount "1/3" in modifiers.0.additionalDisplayItems.0 should throw 148 FAIL Invalid amount "1/3" in modifiers.0.additionalDisplayItems.0 should throw T est bug: need to pass exception to assert_throws()
149 PASS Empty amount in modifiers.0.additionalDisplayItems.0 should throw 149 FAIL Empty amount in modifiers.0.additionalDisplayItems.0 should throw Test bug: need to pass exception to assert_throws()
150 PASS Null amount in modifiers.0.additionalDisplayItems.0 should throw 150 FAIL Null amount in modifiers.0.additionalDisplayItems.0 should throw Test bug: need to pass exception to assert_throws()
151 PASS Undefined amount in modifiers.0.additionalDisplayItems.0 should throw 151 FAIL Undefined amount in modifiers.0.additionalDisplayItems.0 should throw Test bug: need to pass exception to assert_throws()
152 Harness: the test ran to completion. 152 Harness: the test ran to completion.
153 153
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698