blob: 729b0df5c49a54c8bf2c8c36c2225a11cef2b8cc [file] [log] [blame]
This is a testharness.js-based test.
PASS Setup for Payment Request API IDL tests.
PASS PaymentRequest interface: existence and properties of interface object
PASS PaymentRequest interface object length
PASS PaymentRequest interface object name
PASS PaymentRequest interface: existence and properties of interface prototype object
PASS PaymentRequest interface: existence and properties of interface prototype object's "constructor" property
PASS PaymentRequest interface: existence and properties of interface prototype object's @@unscopables property
PASS PaymentRequest interface: operation show([object Object])
PASS Unscopable handled correctly for show([object Object]) on PaymentRequest
PASS PaymentRequest interface: operation abort()
PASS Unscopable handled correctly for abort() on PaymentRequest
PASS PaymentRequest interface: operation canMakePayment()
PASS Unscopable handled correctly for canMakePayment() on PaymentRequest
PASS PaymentRequest interface: attribute id
PASS Unscopable handled correctly for id property on PaymentRequest
PASS PaymentRequest interface: attribute shippingAddress
PASS Unscopable handled correctly for shippingAddress property on PaymentRequest
PASS PaymentRequest interface: attribute shippingOption
PASS Unscopable handled correctly for shippingOption property on PaymentRequest
PASS PaymentRequest interface: attribute shippingType
PASS Unscopable handled correctly for shippingType property on PaymentRequest
PASS PaymentRequest interface: attribute onshippingaddresschange
PASS Unscopable handled correctly for onshippingaddresschange property on PaymentRequest
PASS PaymentRequest interface: attribute onshippingoptionchange
PASS Unscopable handled correctly for onshippingoptionchange property on PaymentRequest
PASS PaymentRequest must be primary interface of new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} })
PASS Stringification of new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} })
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "show([object Object])" with the proper type
PASS PaymentRequest interface: calling show([object Object]) on new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) with too few arguments must throw TypeError
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "abort()" with the proper type
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "canMakePayment()" with the proper type
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "id" with the proper type
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "shippingAddress" with the proper type
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "shippingOption" with the proper type
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "shippingType" with the proper type
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "onshippingaddresschange" with the proper type
PASS PaymentRequest interface: new PaymentRequest([{supportedMethods: 'foo'}], {total: {label: 'bar', amount: {currency: 'USD', value: '0'}} }) must inherit property "onshippingoptionchange" with the proper type
PASS PaymentAddress interface: existence and properties of interface object
PASS PaymentAddress interface object length
PASS PaymentAddress interface object name
PASS PaymentAddress interface: existence and properties of interface prototype object
PASS PaymentAddress interface: existence and properties of interface prototype object's "constructor" property
PASS PaymentAddress interface: existence and properties of interface prototype object's @@unscopables property
PASS PaymentAddress interface: operation toJSON()
PASS Unscopable handled correctly for toJSON() on PaymentAddress
PASS PaymentAddress interface: attribute city
PASS Unscopable handled correctly for city property on PaymentAddress
PASS PaymentAddress interface: attribute country
PASS Unscopable handled correctly for country property on PaymentAddress
PASS PaymentAddress interface: attribute dependentLocality
PASS Unscopable handled correctly for dependentLocality property on PaymentAddress
PASS PaymentAddress interface: attribute languageCode
PASS Unscopable handled correctly for languageCode property on PaymentAddress
PASS PaymentAddress interface: attribute organization
PASS Unscopable handled correctly for organization property on PaymentAddress
PASS PaymentAddress interface: attribute phone
PASS Unscopable handled correctly for phone property on PaymentAddress
PASS PaymentAddress interface: attribute postalCode
PASS Unscopable handled correctly for postalCode property on PaymentAddress
PASS PaymentAddress interface: attribute recipient
PASS Unscopable handled correctly for recipient property on PaymentAddress
PASS PaymentAddress interface: attribute region
PASS Unscopable handled correctly for region property on PaymentAddress
FAIL PaymentAddress interface: attribute regionCode assert_true: The prototype object must have a property "regionCode" expected true got false
PASS Unscopable handled correctly for regionCode property on PaymentAddress
PASS PaymentAddress interface: attribute sortingCode
PASS Unscopable handled correctly for sortingCode property on PaymentAddress
PASS PaymentAddress interface: attribute addressLine
PASS Unscopable handled correctly for addressLine property on PaymentAddress
PASS PaymentResponse interface: existence and properties of interface object
PASS PaymentResponse interface object length
PASS PaymentResponse interface object name
PASS PaymentResponse interface: existence and properties of interface prototype object
PASS PaymentResponse interface: existence and properties of interface prototype object's "constructor" property
PASS PaymentResponse interface: existence and properties of interface prototype object's @@unscopables property
PASS PaymentResponse interface: operation toJSON()
PASS Unscopable handled correctly for toJSON() on PaymentResponse
PASS PaymentResponse interface: attribute requestId
PASS Unscopable handled correctly for requestId property on PaymentResponse
PASS PaymentResponse interface: attribute methodName
PASS Unscopable handled correctly for methodName property on PaymentResponse
PASS PaymentResponse interface: attribute details
PASS Unscopable handled correctly for details property on PaymentResponse
PASS PaymentResponse interface: attribute shippingAddress
PASS Unscopable handled correctly for shippingAddress property on PaymentResponse
PASS PaymentResponse interface: attribute shippingOption
PASS Unscopable handled correctly for shippingOption property on PaymentResponse
PASS PaymentResponse interface: attribute payerName
PASS Unscopable handled correctly for payerName property on PaymentResponse
PASS PaymentResponse interface: attribute payerEmail
PASS Unscopable handled correctly for payerEmail property on PaymentResponse
PASS PaymentResponse interface: attribute payerPhone
PASS Unscopable handled correctly for payerPhone property on PaymentResponse
PASS PaymentResponse interface: operation complete(PaymentComplete)
PASS Unscopable handled correctly for complete(PaymentComplete) on PaymentResponse
PASS PaymentRequestUpdateEvent interface: existence and properties of interface object
PASS PaymentRequestUpdateEvent interface object length
PASS PaymentRequestUpdateEvent interface object name
PASS PaymentRequestUpdateEvent interface: existence and properties of interface prototype object
PASS PaymentRequestUpdateEvent interface: existence and properties of interface prototype object's "constructor" property
PASS PaymentRequestUpdateEvent interface: existence and properties of interface prototype object's @@unscopables property
PASS PaymentRequestUpdateEvent interface: operation updateWith([object Object])
PASS Unscopable handled correctly for updateWith([object Object]) on PaymentRequestUpdateEvent
Harness: the test ran to completion.