summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/webrtc-identity
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/webrtc-identity')
-rw-r--r--testing/web-platform/meta/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html.ini28
-rw-r--r--testing/web-platform/meta/webrtc-identity/RTCPeerConnection-peerIdentity.https.html.ini16
-rw-r--r--testing/web-platform/meta/webrtc-identity/idlharness.https.window.js.ini65
3 files changed, 109 insertions, 0 deletions
diff --git a/testing/web-platform/meta/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html.ini b/testing/web-platform/meta/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html.ini
new file mode 100644
index 0000000000..065c32a18a
--- /dev/null
+++ b/testing/web-platform/meta/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html.ini
@@ -0,0 +1,28 @@
+[RTCPeerConnection-getIdentityAssertion.sub.https.html]
+ [getIdentityAssertion() should reject with RTCError('idp-execution-failure') if mock-idp.js throws error]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1538807
+ expected: FAIL
+
+ [getIdentityAssertion() should reject with RTCError('idp-bad-script-failure') if IdP proxy script do not register its callback]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1527916
+ expected: FAIL
+
+ [getIdentityAssertion() should reject with OperationError if mock-idp.js return invalid result]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1538778
+ expected: FAIL
+
+ [getIdentityAssertion() should reject with RTCError('idp-load-failure') if IdP cannot be loaded]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1527916
+ expected: FAIL
+
+ [getIdentityAssertion() should reject with RTCError('idp-need-login') when mock-idp.js requires login]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1527916
+ expected: FAIL
+
+ [createOffer() should reject with OperationError if identity assertion request fails]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1538778
+ expected: FAIL
+
+ [createAnswer() should reject with OperationError if identity assertion request fails]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1538778
+ expected: FAIL
diff --git a/testing/web-platform/meta/webrtc-identity/RTCPeerConnection-peerIdentity.https.html.ini b/testing/web-platform/meta/webrtc-identity/RTCPeerConnection-peerIdentity.https.html.ini
new file mode 100644
index 0000000000..fbdcf6592e
--- /dev/null
+++ b/testing/web-platform/meta/webrtc-identity/RTCPeerConnection-peerIdentity.https.html.ini
@@ -0,0 +1,16 @@
+[RTCPeerConnection-peerIdentity.https.html]
+ [setRemoteDescription() with peerIdentity set and with IdP proxy that return validationAssertion with mismatch contents should reject with OperationError]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1538778
+ expected: FAIL
+
+ [setRemoteDescription() and peerIdentity should reject with OperationError if IdP return validated identity that is different from its own domain]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1538778
+ expected: FAIL
+
+ [When IdP throws error and pc has target peer identity, setRemoteDescription() and peerIdentity rejected with RTCError('idp-execution-error')]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1527916
+ expected: FAIL
+
+ [IdP failure with no target peer identity should have following setRemoteDescription() succeed and replace pc.peerIdentity with a new promise]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1527916
+ expected: FAIL
diff --git a/testing/web-platform/meta/webrtc-identity/idlharness.https.window.js.ini b/testing/web-platform/meta/webrtc-identity/idlharness.https.window.js.ini
new file mode 100644
index 0000000000..1485c83384
--- /dev/null
+++ b/testing/web-platform/meta/webrtc-identity/idlharness.https.window.js.ini
@@ -0,0 +1,65 @@
+[idlharness.https.window.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
+ if (os == "linux") and not debug: [OK, TIMEOUT]
+ [MediaStreamTrack interface: track must inherit property "isolated" with the proper type]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface object name]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface: new RTCIdentityAssertion('idp', 'name') must inherit property "idp" with the proper type]
+ expected: FAIL
+
+ [RTCIdentityAssertion must be primary interface of new RTCIdentityAssertion('idp', 'name')]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface: attribute name]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [MediaStreamTrack interface: attribute isolated]
+ expected: FAIL
+
+ [MediaStreamTrack interface: track must inherit property "onisolationchange" with the proper type]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface: existence and properties of interface object]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface object length]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [RTCPeerConnection interface: attribute idpErrorInfo]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface: new RTCIdentityAssertion('idp', 'name') must inherit property "name" with the proper type]
+ expected: FAIL
+
+ [RTCPeerConnection interface: new RTCPeerConnection() must inherit property "idpErrorInfo" with the proper type]
+ expected: FAIL
+
+ [MediaStreamTrack interface: attribute onisolationchange]
+ expected: FAIL
+
+ [Stringification of new RTCIdentityAssertion('idp', 'name')]
+ expected: FAIL
+
+ [RTCIdentityAssertion interface: attribute idp]
+ expected: FAIL
+
+ [RTCError interface: attribute httpRequestStatusCode]
+ expected: FAIL
+
+ [idl_test setup]
+ expected:
+ if not debug and (os == "win") and (processor == "x86"): [PASS, TIMEOUT]
+ if not debug and (os == "linux"): [PASS, TIMEOUT]