Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable webrtc by default, enable webrtc wpt tests #23377

Closed
wants to merge 13 commits into from

Enable webrtc wpt tests

  • Loading branch information
Manishearth committed May 16, 2019
commit 30de72d4f4b2980609046f63ddf5566733fcf7e0
@@ -0,0 +1,10 @@
[RTCCertificate-postMessage.html]
[Check cross-origin created RTCCertificate]
expected: FAIL

[Check cross-origin RTCCertificate serialization]
expected: FAIL

[Check same-origin RTCCertificate serialization]
expected: FAIL

@@ -0,0 +1,16 @@
[RTCCertificate.html]
[Constructing RTCPeerConnection with expired certificate should reject with InvalidAccessError]
expected: FAIL

[RTCCertificate should have at least one fingerprint]
expected: FAIL

[RTCPeerConnection({ certificates }) should generate offer SDP with fingerprint of provided certificate]
expected: FAIL

[RTCPeerConnection({ certificates }) should generate offer SDP with fingerprint of all provided certificates]
expected: FAIL

[Calling setConfiguration with different set of certs should reject with InvalidModificationError]
expected: FAIL

@@ -0,0 +1,46 @@
[RTCConfiguration-bundlePolicy.html]
[setConfiguration({ bundlePolicy: 'max-compat' }) with initial bundlePolicy max-bundle should throw InvalidModificationError]
expected: FAIL

[setConfiguration({ bundlePolicy: balanced }) with initial default bundlePolicy balanced should succeed]
expected: FAIL

[setConfiguration({ bundlePolicy: 'balanced' }) with initial bundlePolicy balanced should succeed]
expected: FAIL

[new RTCPeerConnection({ bundlePolicy: 'max-compat' }) should succeed]
expected: FAIL

[setConfiguration({}) with initial default bundlePolicy balanced should succeed]
expected: FAIL

[setConfiguration({ bundlePolicy: 'max-compat' }) with initial bundlePolicy max-compat should succeed]
expected: FAIL

[setConfiguration({}) with initial bundlePolicy max-bundle should throw InvalidModificationError]
expected: FAIL

[setConfiguration({ bundlePolicy: 'max-bundle' }) with initial bundlePolicy max-bundle should succeed]
expected: FAIL

[new RTCPeerConnection({ bundlePolicy: undefined }) should have bundlePolicy balanced]
expected: FAIL

[setConfiguration({}) with initial bundlePolicy balanced should succeed]
expected: FAIL

[new RTCPeerConnection({ bundlePolicy: 'max-bundle' }) should succeed]
expected: FAIL

[Default bundlePolicy should be balanced]
expected: FAIL

[new RTCPeerConnection({ bundlePolicy: 'invalid' }) should throw TypeError]
expected: FAIL

[new RTCPeerConnection({ bundlePolicy: null }) should throw TypeError]
expected: FAIL

[new RTCPeerConnection({ bundlePolicy: 'balanced' }) should succeed]
expected: FAIL

@@ -0,0 +1,28 @@
[RTCConfiguration-iceCandidatePoolSize.html]
[Initialize a new RTCPeerConnection with iceCandidatePoolSize: 255]
expected: FAIL

[Reconfigure RTCPeerConnection instance iceCandidatePoolSize to 0]
expected: FAIL

[Initialize a new RTCPeerConnection with iceCandidatePoolSize: 0]
expected: FAIL

[Reconfigure RTCPeerConnection instance iceCandidatePoolSize to 255]
expected: FAIL

[Reconfigure RTCPeerConnection instance iceCandidatePoolSize to 256 (Out Of Range)]
expected: FAIL

[Initialize a new RTCPeerConnection with iceCandidatePoolSize: 256 (Out Of Range)]
expected: FAIL

[Initialize a new RTCPeerConnection with no iceCandidatePoolSize]
expected: FAIL

[Initialize a new RTCPeerConnection with iceCandidatePoolSize: -1 (Out Of Range)]
expected: FAIL

[Reconfigure RTCPeerConnection instance iceCandidatePoolSize to -1 (Out Of Range)]
expected: FAIL

@@ -0,0 +1,226 @@
[RTCConfiguration-iceServers.html]
[setConfiguration(config) - { iceServers: undefined } should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with turn server, username, credential should succeed]
expected: FAIL

[setConfiguration(config) - with turns server and no credentials should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with 2 stun servers should succeed]
expected: FAIL

[setConfiguration(config) - with url field should throw TypeError]
expected: FAIL

[setConfiguration(config) - with invalid credentialType should throw TypeError]
expected: FAIL

[new RTCPeerConnection(config) - with ["stun:stun1.example.net", ""\] url should throw SyntaxError]
expected: FAIL

[new RTCPeerConnection(config) - with turns server and only credential should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with stun server, credentialType oauth, and string credential should succeed]
expected: FAIL

[setConfiguration(config) - with one turns server, one turn server, username, credential should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with "" url should throw SyntaxError]
expected: FAIL

[new RTCPeerConnection(config) - with stun server, credentialType password, and RTCOAuthCredential credential should succeed]
expected: FAIL

[new RTCPeerConnection() should have default configuration.iceServers of undefined]
expected: FAIL

[new RTCPeerConnection(config) - with credentialType token should throw TypeError]
expected: FAIL

[setConfiguration(config) - with turns server, credentialType oauth and RTCOAuthCredential credential should succeed]
expected: FAIL

[setConfiguration(config) - { iceServers: null } should throw TypeError]
expected: FAIL

[new RTCPeerConnection(config) - { iceServers: undefined } should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with turns server and only username should throw InvalidAccessError]
expected: FAIL

[setConfiguration(config) - with stun server should succeed]
expected: FAIL

[new RTCPeerConnection(config) - {} should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with turns server, credentialType oauth and RTCOAuthCredential credential should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with stun server array should succeed]
expected: FAIL

[setConfiguration(config) - with stun server, credentialType oauth, and string credential should succeed]
expected: FAIL

[setConfiguration(config) - with invalid stun url should throw SyntaxError]
expected: FAIL

[setConfiguration(config) - with turn server, username, credential should succeed]
expected: FAIL

[setConfiguration(config) - with turns server and only credential should throw InvalidAccessError]
expected: FAIL

[setConfiguration(config) - with turns server, credentialType oauth, and string credential should throw InvalidAccessError]
expected: FAIL

[setConfiguration(config) - with turn server and only credential should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with http url should throw SyntaxError]
expected: FAIL

[setConfiguration(config) - with turns server and only username should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with turn server and only username should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with stun server should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with turns server, credentialType oauth, and string credential should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with turn server and only credential should throw InvalidAccessError]
expected: FAIL

[setConfiguration(config) - with turns server and empty string username, credential should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with both turns and stun server, credentialType oauth and RTCOAuthCredential credential should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with url field should throw TypeError]
expected: FAIL

[setConfiguration(config) - {} should succeed]
expected: FAIL

[setConfiguration(config) - with stun server and credentialType password should succeed]
expected: FAIL

[setConfiguration(config) - { iceServers: [{}\] } should throw TypeError]
expected: FAIL

[new RTCPeerConnection(config) - with turn server and no credentials should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with stun server and credentialType password should succeed]
expected: FAIL

[setConfiguration(config) - with empty urls should throw SyntaxError]
expected: FAIL

[setConfiguration(config) - with turn server and empty string username, credential should succeed]
expected: FAIL

[setConfiguration(config) - with 2 stun servers should succeed]
expected: FAIL

[setConfiguration(config) - with stun server array should succeed]
expected: FAIL

[setConfiguration(config) - with relative url should throw SyntaxError]
expected: FAIL

[new RTCPeerConnection(config) - with turns server, credentialType password, and RTCOauthCredential credential should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with invalid turn url should throw SyntaxError]
expected: FAIL

[setConfiguration(config) - { iceServers: [undefined\] } should throw TypeError]
expected: FAIL

[new RTCPeerConnection(config) - with turns server and empty string username, credential should succeed]
expected: FAIL

[setConfiguration(config) - with "" url should throw SyntaxError]
expected: FAIL

[setConfiguration(config) - with credentialType token should throw TypeError]
expected: FAIL

[new RTCPeerConnection(config) - { iceServers: [{}\] } should throw TypeError]
expected: FAIL

[new RTCPeerConnection(config) - { iceServers: [null\] } should throw TypeError]
expected: FAIL

[setConfiguration(config) - { iceServers: [\] } should succeed]
expected: FAIL

[setConfiguration(config) - { iceServers: [null\] } should throw TypeError]
expected: FAIL

[setConfiguration(config) - with turn server and no credentials should throw InvalidAccessError]
expected: FAIL

[setConfiguration(config) - with stun server, credentialType password, and RTCOAuthCredential credential should succeed]
expected: FAIL

[setConfiguration(config) - with ["stun:stun1.example.net", ""\] url should throw SyntaxError]
expected: FAIL

[setConfiguration(config) - with turn server and only username should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - { iceServers: [\] } should succeed]
expected: FAIL

[setConfiguration(config) - with both turns and stun server, credentialType oauth and RTCOAuthCredential credential should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with relative url should throw SyntaxError]
expected: FAIL

[setConfiguration(config) - with invalid turn url should throw SyntaxError]
expected: FAIL

[new RTCPeerConnection(config) - with turn server and empty string username, credential should succeed]
expected: FAIL

[new RTCPeerConnection(config) - { iceServers: null } should throw TypeError]
expected: FAIL

[setConfiguration(config) - with http url should throw SyntaxError]
expected: FAIL

[new RTCPeerConnection(config) - with invalid stun url should throw SyntaxError]
expected: FAIL

[new RTCPeerConnection(config) - with empty urls should throw SyntaxError]
expected: FAIL

[new RTCPeerConnection(config) - { iceServers: [undefined\] } should throw TypeError]
expected: FAIL

[new RTCPeerConnection(config) - with invalid credentialType should throw TypeError]
expected: FAIL

[setConfiguration(config) - with turns server, credentialType password, and RTCOauthCredential credential should throw InvalidAccessError]
expected: FAIL

[new RTCPeerConnection(config) - with one turns server, one turn server, username, credential should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with turns server and no credentials should throw InvalidAccessError]
expected: FAIL

@@ -0,0 +1,49 @@
[RTCConfiguration-iceTransportPolicy.html]
[setConfiguration(config) - with null iceTransportPolicy should throw TypeError]
expected: FAIL

[new RTCPeerConnection(config) - with none iceTransportPolicy should throw TypeError]
expected: FAIL

[new RTCPeerConnection({ iceTransportPolicy: undefined }) should have default iceTransportPolicy all]
expected: FAIL

[setConfiguration({}) with initial iceTransportPolicy relay should set new value to all]
expected: FAIL

[new RTCPeerConnection(config) - with invalid iceTransportPolicy should throw TypeError]
expected: FAIL

[new RTCPeerConnection({ iceTransportPolicy: 'relay' }) should succeed]
expected: FAIL

[new RTCPeerConnection(config) - with null iceTransportPolicy should throw TypeError]
expected: FAIL

[setConfiguration({ iceTransportPolicy: 'relay' }) with initial iceTransportPolicy all should succeed]
expected: FAIL

[new RTCPeerConnection({ iceTransports: 'invalid' }) should have no effect]
expected: FAIL

[new RTCPeerConnection() should have default iceTransportPolicy all]
expected: FAIL

[new RTCPeerConnection({ iceTransports: 'relay' }) should have no effect]
expected: FAIL

[setConfiguration({ iceTransportPolicy: 'all' }) with initial iceTransportPolicy relay should succeed]
expected: FAIL

[new RTCPeerConnection({ iceTransports: null }) should have no effect]
expected: FAIL

[setConfiguration(config) - with none iceTransportPolicy should throw TypeError]
expected: FAIL

[setConfiguration(config) - with invalid iceTransportPolicy should throw TypeError]
expected: FAIL

[new RTCPeerConnection({ iceTransportPolicy: 'all' }) should succeed]
expected: FAIL

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.