Summary

Harness status: OK

Found 12 tests

Details

ResultTest NameMessage
FailgetIdentityAssertion() should load IdP proxy and return assertion generatedpc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:46:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
FailgetIdentityAssertion() should succeed if mock-idp.js return different domain and protocol in assertionpc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:107:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts run
Pass
assert_not_equals("www.wpt.live", "www2.wpt.live", "Sanity check two idpDomains are different")
    at Test.<anonymous> ( /webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:103:5)
FailgetIdentityAssertion() should reject with RTCError('idp-execution-failure') if mock-idp.js throws errorassert_equals: Expect initial pc.idpErrorInfo to be null expected (object) null but got (undefined) undefined
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:142:5)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts run
Fail
assert_equals(undefined, null, "Expect initial pc.idpErrorInfo to be null")
    at Test.<anonymous> ( /webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:142:5)
FailgetIdentityAssertion() should reject with RTCError('idp-bad-script-failure') if IdP proxy script do not register its callbackpc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:176:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
FailgetIdentityAssertion() should reject with OperationError if mock-idp.js return invalid resultpc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:200:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
FailgetIdentityAssertion() should reject with RTCError('idp-load-failure') if IdP cannot be loadedpc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:220:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
FailgetIdentityAssertion() should reject with RTCError('idp-need-login') when mock-idp.js requires loginassert_equals: Expect initial pc.idpLoginUrl to be null expected (object) null but got (undefined) undefined
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:246:5)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts run
Fail
assert_equals(undefined, null, "Expect initial pc.idpLoginUrl to be null")
    at Test.<anonymous> ( /webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:246:5)
FailsetIdentityProvider() with no peerIdentity provided should use peerIdentity value from getConfiguration()pc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:290:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
FailCalling setIdentityProvider() multiple times should reset identity assertionspc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:311:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
FailcreateOffer() should return SDP containing identity assertion string if identity provider is setpc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:338:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
FailcreateOffer() should reject with OperationError if identity assertion request failspc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:369:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran
FailcreateAnswer() should reject with OperationError if identity assertion request failspc.setIdentityProvider is not a function
TypeError: pc.setIdentityProvider is not a function
    at Test.<anonymous> (https://www1.wpt.live/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html:383:8)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at https://www1.wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://www1.wpt.live/resources/testharness.js:737:20
Asserts runNo asserts ran