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 pref for webrtc folder

  • Loading branch information
Manishearth committed May 16, 2019
commit 350157fd655cb9627df434cc984fc28474fcc7d6
@@ -35,12 +35,6 @@
[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

@@ -14,15 +14,9 @@
[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

@@ -38,9 +38,6 @@
[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

@@ -56,9 +53,6 @@
[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

@@ -107,9 +101,6 @@
[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

@@ -158,12 +149,6 @@
[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

@@ -197,9 +182,6 @@
[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

@@ -209,12 +191,6 @@
[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

@@ -2,24 +2,15 @@
[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

@@ -14,9 +14,6 @@
[new RTCPeerConnection({ rtcpMuxPolicy: 'negotiate' }) may succeed or throw NotSupportedError]
expected: FAIL

[new RTCPeerConnection(config) - with { rtcpMuxPolicy: 'invalid' } should throw TypeError]
expected: FAIL

[setConfiguration({ rtcpMuxPolicy: 'require' }) with initial rtcpMuxPolicy negotiate should throw InvalidModificationError]
expected: FAIL

@@ -35,6 +32,3 @@
[new RTCPeerConnection() should have default rtcpMuxPolicy require]
expected: FAIL

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

@@ -1,55 +1,7 @@
[RTCIceCandidate-constructor.html]
[new RTCIceCandidate({ sdpMLineIndex: 0 })]
expected: FAIL

[new RTCIceCandidate({ ... }) with invalid sdpMid]
expected: FAIL

[new RTCIceCandidate({ ... }) with invalid sdpMLineIndex]
expected: FAIL

[new RTCIceCandidate()]
expected: FAIL

[new RTCIceCandidate({ sdpMid: null, sdpMLineIndex: null })]
expected: FAIL

[new RTCIceCandidate({ ... }) with valid candidate string and sdpMid]
expected: FAIL

[new RTCIceCandidate({ ... }) with nondefault values for all fields, tcp candidate]
expected: FAIL

[new RTCIceCandidate({ candidate: '', sdpMid: 'audio' }]
expected: FAIL

[new RTCIceCandidate({ candidate: null })]
expected: FAIL

[new RTCIceCandidate({})]
expected: FAIL

[new RTCIceCandidate({ sdpMid: 'audio' })]
expected: FAIL

[new RTCIceCandidate({ ... }) with manually filled default values]
expected: FAIL

[new RTCIceCandidate({ candidate: '', sdpMLineIndex: 0 }]
expected: FAIL

[new RTCIceCandidate({ ... }) with nondefault values for all fields]
expected: FAIL

[new RTCIceCandidate({ candidate: '' })]
expected: FAIL

[new RTCIceCandidate({ ... }) with invalid candidate string and sdpMid]
expected: FAIL

[new RTCIceCandidate({ ... }) with valid candidate string only]
expected: FAIL

[new RTCIceCandidate({ sdpMid: 'audio', sdpMLineIndex: 0 })]
expected: FAIL

@@ -1,5 +1,4 @@
[RTCIceTransport-extension.https.html]
expected: ERROR
[RTCIceTransport initial properties are set]
expected: FAIL

@@ -54,3 +53,36 @@
[gather() throws if closed]
expected: FAIL

[addRemoteCandidate() throws if closed]
expected: FAIL

[Two RTCIceTransports configured with the controlled role resolve the conflict in band and still connect.]
expected: FAIL

[addRemoteCandidate() transitions state to 'checking' if start() had been called before]
expected: FAIL

[Selected candidate pair changes once the RTCIceTransports connect.]
expected: FAIL

[Two RTCIceTransports connect to each other]
expected: FAIL

[start() flushes remote candidates and transitions state to 'new' if later called with different remote parameters]
expected: FAIL

[start() throws if later called with a different role]
expected: FAIL

[addRemoteCandidate() throws on invalid candidate]
expected: FAIL

[Two RTCIceTransports configured with the controlling role resolve the conflict in band and still connect.]
expected: FAIL

[start() transitions state to 'checking' if one remote candidate had been added]
expected: FAIL

[getSelectedCandidatePair() returns null once the RTCIceTransport is stopped.]
expected: FAIL

@@ -1,4 +1,5 @@
[RTCPeerConnection-add-track-no-deadlock.https.html]
expected: ERROR
[RTCPeerConnection addTrack does not deadlock.]
expected: FAIL

@@ -1,7 +1,4 @@
[RTCPeerConnection-addIceCandidate.html]
[Add candidate with only valid sdpMLineIndex should succeed]
expected: FAIL

[addIceCandidate({usernameFragment: usernameFragment1, sdpMid: sdpMid1}) should work, and add a=end-of-candidates to the first m-section]
expected: FAIL

@@ -11,18 +8,9 @@
[Add candidate with only valid sdpMid should succeed]
expected: FAIL

[Add ICE candidate after setting remote description should succeed]
expected: FAIL

[addIceCandidate({usernameFragment: "no such ufrag"}) should not work]
expected: FAIL

[Add candidate with invalid candidate string and both sdpMid and sdpMLineIndex null should reject with TypeError]
expected: FAIL

[Add candidate with both sdpMid and sdpMLineIndex manually set to null should reject with TypeError]
expected: FAIL

[addIceCandidate with second sdpMid and sdpMLineIndex should add candidate to second media stream]
expected: FAIL

@@ -32,15 +20,9 @@
[Add candidate with sdpMid belonging to different usernameFragment should reject with OperationError]
expected: FAIL

[Add candidate with only valid candidate string should reject with TypeError]
expected: FAIL

[Add candidate with invalid sdpMLineIndex should reject with OperationError]
expected: FAIL

[Add ICE candidate with RTCIceCandidate should succeed]
expected: FAIL

[Add candidate for first media stream with null usernameFragment should add candidate to first media stream]
expected: FAIL

@@ -77,6 +59,3 @@
[addIceCandidate({"candidate":"","sdpMid":null,"sdpMLineIndex":null}) should work, and add a=end-of-candidates to both m-sections]
expected: FAIL

[Invalid sdpMLineIndex should be ignored if valid sdpMid is provided]
expected: FAIL

@@ -1,28 +1,29 @@
[RTCPeerConnection-addTrack.https.html]
expected: ERROR
[addTrack with existing sender that has been used to send should create new sender]
expected: FAIL
expected: NOTRUN

[addTrack with single track argument and multiple streams should succeed]
expected: FAIL
expected: NOTRUN

[addTrack with existing sender with null track, different kind, and recvonly direction should create new sender]
expected: FAIL
expected: NOTRUN

[addTrack with single track argument and no stream should succeed]
expected: FAIL
expected: NOTRUN

[addTrack with existing sender that has not been used to send should reuse the sender]
expected: FAIL
expected: NOTRUN

[addTrack with single track argument and single stream should succeed]
expected: FAIL
expected: NOTRUN

[addTrack when pc is closed should throw InvalidStateError]
expected: FAIL

[addTrack with existing sender with null track, same kind, and recvonly direction should reuse sender]
expected: FAIL
expected: NOTRUN

[Adding the same track multiple times should throw InvalidAccessError]
expected: FAIL
expected: NOTRUN

@@ -1,4 +1,5 @@
[RTCPeerConnection-addTransceiver.https.html]
expected: ERROR
[addTransceiver() with direction inactive should have result transceiver.direction be the same]
expected: FAIL

@@ -33,5 +34,5 @@
expected: FAIL

[addTransceiver(track) multiple times should create multiple transceivers]
expected: FAIL
expected: NOTRUN

@@ -1,12 +1,13 @@
[RTCPeerConnection-connectionState.https.html]
expected: ERROR
[Initial connectionState should be new]
expected: FAIL

[connectionState remains new when not adding remote ice candidates]
expected: FAIL

[connectionState transitions to connected via connecting]
expected: FAIL
expected: NOTRUN

[connection with one data channel should eventually have transports in connected state]
expected: FAIL
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.