blob: 4e900cc43a77f732d6ceec06bc82e6cc130e074f [file] [log] [blame]
This is a testharness.js-based test.
PASS idl_test setup
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 PaymentRequest interface: operation abort()
PASS PaymentRequest interface: operation canMakePayment()
PASS PaymentRequest interface: attribute id
PASS PaymentRequest interface: attribute shippingAddress
PASS PaymentRequest interface: attribute shippingOption
PASS PaymentRequest interface: attribute shippingType
FAIL PaymentRequest interface: attribute onmerchantvalidation assert_true: The prototype object must have a property "onmerchantvalidation" expected true got false
PASS PaymentRequest interface: attribute onshippingaddresschange
PASS PaymentRequest interface: attribute onshippingoptionchange
PASS PaymentRequest interface: attribute onpaymentmethodchange
PASS PaymentRequest must be primary interface of paymentRequest
PASS Stringification of paymentRequest
PASS PaymentRequest interface: paymentRequest must inherit property "show([object Object])" with the proper type
PASS PaymentRequest interface: calling show([object Object]) on paymentRequest with too few arguments must throw TypeError
PASS PaymentRequest interface: paymentRequest must inherit property "abort()" with the proper type
PASS PaymentRequest interface: paymentRequest must inherit property "canMakePayment()" with the proper type
PASS PaymentRequest interface: paymentRequest must inherit property "id" with the proper type
PASS PaymentRequest interface: paymentRequest must inherit property "shippingAddress" with the proper type
PASS PaymentRequest interface: paymentRequest must inherit property "shippingOption" with the proper type
PASS PaymentRequest interface: paymentRequest must inherit property "shippingType" with the proper type
FAIL PaymentRequest interface: paymentRequest must inherit property "onmerchantvalidation" with the proper type assert_inherits: property "onmerchantvalidation" not found in prototype chain
PASS PaymentRequest interface: paymentRequest must inherit property "onshippingaddresschange" with the proper type
PASS PaymentRequest interface: paymentRequest must inherit property "onshippingoptionchange" with the proper type
PASS PaymentRequest interface: paymentRequest must inherit property "onpaymentmethodchange" 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 PaymentAddress interface: attribute city
PASS PaymentAddress interface: attribute country
PASS PaymentAddress interface: attribute dependentLocality
PASS PaymentAddress interface: attribute organization
PASS PaymentAddress interface: attribute phone
PASS PaymentAddress interface: attribute postalCode
PASS PaymentAddress interface: attribute recipient
PASS PaymentAddress interface: attribute region
FAIL PaymentAddress interface: attribute regionCode assert_true: The prototype object must have a property "regionCode" expected true got false
PASS PaymentAddress interface: attribute sortingCode
PASS PaymentAddress interface: attribute addressLine
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 PaymentResponse interface: attribute requestId
PASS PaymentResponse interface: attribute methodName
PASS PaymentResponse interface: attribute details
PASS PaymentResponse interface: attribute shippingAddress
PASS PaymentResponse interface: attribute shippingOption
PASS PaymentResponse interface: attribute payerName
PASS PaymentResponse interface: attribute payerEmail
PASS PaymentResponse interface: attribute payerPhone
PASS PaymentResponse interface: operation complete(PaymentComplete)
PASS PaymentResponse interface: operation retry(PaymentValidationErrors)
PASS PaymentResponse interface: attribute onpayerdetailchange
FAIL MerchantValidationEvent interface: existence and properties of interface object assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent interface object length assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent interface object name assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent interface: attribute methodName assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent interface: attribute validationURL assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent interface: operation complete([object Object]) assert_own_property: self does not have own property "MerchantValidationEvent" expected property "MerchantValidationEvent" missing
FAIL MerchantValidationEvent must be primary interface of new MerchantValidationEvent("merchantvalidation") assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: MerchantValidationEvent is not defined"
FAIL Stringification of new MerchantValidationEvent("merchantvalidation") assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: MerchantValidationEvent is not defined"
FAIL MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "methodName" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: MerchantValidationEvent is not defined"
FAIL MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "validationURL" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: MerchantValidationEvent is not defined"
FAIL MerchantValidationEvent interface: new MerchantValidationEvent("merchantvalidation") must inherit property "complete([object Object])" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: MerchantValidationEvent is not defined"
FAIL MerchantValidationEvent interface: calling complete([object Object]) on new MerchantValidationEvent("merchantvalidation") with too few arguments must throw TypeError assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: MerchantValidationEvent is not defined"
PASS PaymentMethodChangeEvent interface: existence and properties of interface object
PASS PaymentMethodChangeEvent interface object length
PASS PaymentMethodChangeEvent interface object name
PASS PaymentMethodChangeEvent interface: existence and properties of interface prototype object
PASS PaymentMethodChangeEvent interface: existence and properties of interface prototype object's "constructor" property
PASS PaymentMethodChangeEvent interface: existence and properties of interface prototype object's @@unscopables property
PASS PaymentMethodChangeEvent interface: attribute methodName
PASS PaymentMethodChangeEvent interface: attribute methodDetails
PASS PaymentMethodChangeEvent must be primary interface of new PaymentMethodChangeEvent("paymentmethodchange")
PASS Stringification of new PaymentMethodChangeEvent("paymentmethodchange")
PASS PaymentMethodChangeEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "methodName" with the proper type
PASS PaymentMethodChangeEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "methodDetails" with the proper type
PASS PaymentRequestUpdateEvent interface: new PaymentMethodChangeEvent("paymentmethodchange") must inherit property "updateWith([object Object])" with the proper type
PASS PaymentRequestUpdateEvent interface: calling updateWith([object Object]) on new PaymentMethodChangeEvent("paymentmethodchange") with too few arguments must throw TypeError
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 PaymentRequestUpdateEvent must be primary interface of new PaymentRequestUpdateEvent("paymentrequestupdate")
PASS Stringification of new PaymentRequestUpdateEvent("paymentrequestupdate")
PASS PaymentRequestUpdateEvent interface: new PaymentRequestUpdateEvent("paymentrequestupdate") must inherit property "updateWith([object Object])" with the proper type
PASS PaymentRequestUpdateEvent interface: calling updateWith([object Object]) on new PaymentRequestUpdateEvent("paymentrequestupdate") with too few arguments must throw TypeError
Harness: the test ran to completion.