Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
FailMerchantValidationEvent can be constructed in secure-context.MerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:32:3)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:31:1
Asserts runNo asserts ran
FailMerchantValidationEvent can be constructed with an EventInitDict, even if not trusted.MerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:36:14)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:35:1
Asserts runNo asserts ran
FailMerchantValidationEvent can be dispatched, even if not trusted.MerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:51:14)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:49:1
Asserts runNo asserts ran
FailMust have a validationURL IDL attribute, which is initialized with to the validationURL dictionary value.MerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:60:17)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:58:1
Asserts runNo asserts ran
FailMust throw TypeError if initialized with an invalid URL.assert_throws_js: function "() => { new MerchantValidationEvent("test", { validationURL }); }" threw object "ReferenceError: MerchantValidationEvent is not defined" ("ReferenceError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:67:3)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:65:1
Asserts run
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "() => {     new MerchantValidationEvent("test", { validationURL });   }")
    at Test.<anonymous> ( /merchant-validation/constructor.tentative.https.html:67:3)
FailRelative validationURLs use the document as the base.MerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:76:19)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:72:1
Asserts runNo asserts ran
FailRelative validationURLs use the document.baseURI as the base.MerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:87:17)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:82:1
Asserts runNo asserts ran
FailMust have a methodName IDL attribute, which is initialized with to the methodName dictionary value.MerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:98:17)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:96:1
Asserts runNo asserts ran
FailWhen no methodName is passed, methodName attribute defaults to the empty stringMerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:104:17)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:103:1
Asserts runNo asserts ran
FailMerchantValidationEvent can be constructed with valid PMIsMerchantValidationEvent is not defined
ReferenceError: MerchantValidationEvent is not defined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:119:19)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:108:1
Asserts runNo asserts ran
FailMerchantValidationEvent can't be constructed with invalid PMIsassert_throws_js: expected to throw when constructed with invalid PMI: 'secure-πŸ’³' function "() => { const event = new MerchantValidationEvent("test", { methodName }); }" threw object "ReferenceError: MerchantValidationEvent is not defined" ("ReferenceError") expected instance of function "function RangeError() { [native code] }" ("RangeError")
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at assert_throws_js_impl (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2142:13)
    at assert_throws_js (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2091:9)
    at assert_wrapper (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:1467:30)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:138:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/merchant-validation/constructor.tentative.https.html:124:1
Asserts run
Fail
assert_throws_js(function "function RangeError() { [native code] }", function "() => {         const event = new MerchantValidationEvent("test", { methodName });       }", "expected to throw when constructed with invalid PMI: 'secure-πŸ’³'")
Error