Pass | Must have a shippingType IDL attribute | Asserts runPass | assert_idl_attribute(object "[object PaymentRequest]", "shippingType")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:35:3) |
|
Pass | If options.requestShipping is false, then request.shippingType attribute is null. | Asserts runPass | assert_equals(null, null, "must be null")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:40:3) | Pass | assert_equals(null, null, "must be null")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:44:3) | Pass | assert_equals(null, null, "must be null")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:50:5) | Pass | assert_equals(null, null, "must be null")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:50:5) | Pass | assert_equals(null, null, "must be null")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:50:5) |
|
Pass | If options.requestShipping is true, request.shippingType will be options.shippingType. | Asserts runPass | assert_equals("shipping", "shipping", "must be shipping")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:59:3) | Pass | assert_equals("delivery", "delivery", "must be delivery")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:65:5) | Pass | assert_equals("pickup", "pickup", "must be pickup")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:65:5) | Pass | assert_equals("shipping", "shipping", "must be shipping")
at Test.<anonymous> ( /payment-request/payment-request-shippingType-attribute.https.html:65:5) |
|