Commit 45e0194e authored by Harald Alvestrand's avatar Harald Alvestrand Committed by Commit Bot

Revert "Disable tests for landing a WebRTC name change"

and rebase changed tests.

This reverts commit 328f27b7.

Reason for revert: Change has now landed

Original change's description:
> Disable tests for landing a WebRTC name change
> 
> Bug: webrtc:8787
> Change-Id: I5a166726bf236e088426734456f2d503e3c6875e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2232554
> Reviewed-by: Guido Urdaneta <guidou@chromium.org>
> Commit-Queue: Harald Alvestrand <hta@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#775594}

TBR=hta@chromium.org,hbos@chromium.org,guidou@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: webrtc:8787
Change-Id: Ic074a1b1231f90363bf6af7a581c8044bef947c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2235041Reviewed-by: default avatarHarald Alvestrand <hta@chromium.org>
Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776151}
parent c3109c83
...@@ -257,9 +257,8 @@ IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, ...@@ -257,9 +257,8 @@ IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest,
kKeygenAlgorithmEcdsa, kKeygenAlgorithmRsa); kKeygenAlgorithmEcdsa, kKeygenAlgorithmRsa);
} }
IN_PROC_BROWSER_TEST_F( IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest,
MAYBE_WebRtcBrowserTest, RunsAudioVideoWebRTCCallInTwoTabsGetStatsCallback) {
DISABLED_RunsAudioVideoWebRTCCallInTwoTabsGetStatsCallback) {
StartServerAndOpenTabs(); StartServerAndOpenTabs();
SetupPeerconnectionWithLocalStream(left_tab_); SetupPeerconnectionWithLocalStream(left_tab_);
SetupPeerconnectionWithLocalStream(right_tab_); SetupPeerconnectionWithLocalStream(right_tab_);
...@@ -287,9 +286,8 @@ IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest, ...@@ -287,9 +286,8 @@ IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest,
EXPECT_EQ(0u, GetPeerToPeerConnectionsCountChangeFromNetworkService()); EXPECT_EQ(0u, GetPeerToPeerConnectionsCountChangeFromNetworkService());
} }
IN_PROC_BROWSER_TEST_F( IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcBrowserTest,
MAYBE_WebRtcBrowserTest, RunsAudioVideoWebRTCCallInTwoTabsGetStatsPromise) {
DISABLED_RunsAudioVideoWebRTCCallInTwoTabsGetStatsPromise) {
StartServerAndOpenTabs(); StartServerAndOpenTabs();
SetupPeerconnectionWithLocalStream(left_tab_); SetupPeerconnectionWithLocalStream(left_tab_);
SetupPeerconnectionWithLocalStream(right_tab_); SetupPeerconnectionWithLocalStream(right_tab_);
......
...@@ -477,7 +477,7 @@ addRTCStatsToWhitelist( ...@@ -477,7 +477,7 @@ addRTCStatsToWhitelist(
let kRTCDataChannelStats = new RTCStats(null, { let kRTCDataChannelStats = new RTCStats(null, {
label: 'string', label: 'string',
protocol: 'string', protocol: 'string',
datachannelid: 'number', dataChannelIdentifier: 'number',
state: 'string', state: 'string',
messagesSent: 'number', messagesSent: 'number',
bytesSent: 'number', bytesSent: 'number',
......
...@@ -6708,10 +6708,6 @@ crbug.com/1084637 compositing/video/video-reflection.html [ Pass Failure ] ...@@ -6708,10 +6708,6 @@ crbug.com/1084637 compositing/video/video-reflection.html [ Pass Failure ]
crbug.com/1083362 compositing/reflections/load-video-in-reflection.html [ Pass Failure ] crbug.com/1083362 compositing/reflections/load-video-in-reflection.html [ Pass Failure ]
crbug.com/1087471 [ Linux ] virtual/threaded/synthetic_gestures/synthetic-pinch-zoom-gesture-touchscreen-zoom-in-slow.html [ Pass Failure ] crbug.com/1087471 [ Linux ] virtual/threaded/synthetic_gestures/synthetic-pinch-zoom-gesture-touchscreen-zoom-in-slow.html [ Pass Failure ]
# Temporary disabling to allow landing https://webrtc-review.googlesource.com/c/src/+/176509
crbug.com/webrtc/8787 external/wpt/webrtc/RTCPeerConnection-mandatory-getStats.https.html [ Pass Failure ]
crbug.com/webrtc/8787 external/wpt/webrtc/RTCPeerConnection-getStats.https.html [ Pass Failure ]
# Sheriff 2020-06-01 # Sheriff 2020-06-01
# Also see crbug.com/626703, these timed-out before but now fail as well. # Also see crbug.com/626703, these timed-out before but now fail as well.
crbug.com/1088220 [ Linux ] external/wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-domain-failure.https.sub.html [ Pass Failure Timeout ] crbug.com/1088220 [ Linux ] external/wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-domain-failure.https.sub.html [ Pass Failure Timeout ]
......
This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string
Harness: the test ran to completion.
This is a testharness.js-based test. This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string FAIL Do not expose in stats remote addresses that are not known to be already exposed to JS assert_equals: address should be null expected (object) null but got (undefined) undefined
PASS Expose in stats remote addresses that are already exposed to JS
Harness: the test ran to completion. Harness: the test ran to completion.
This is a testharness.js-based test. This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string PASS getStats() with no argument should succeed
PASS getStats(null) should succeed
PASS getStats() with track not added to connection should reject with InvalidAccessError
PASS getStats() with track added via addTrack should succeed
PASS getStats() with track added via addTransceiver should succeed
PASS getStats() with track associated with more than one sender should reject with InvalidAccessError
PASS getStats() with track associated with both sender and receiver should reject with InvalidAccessError
PASS getStats() with no argument should return stats report containing peer-connection stats on an empty PC
FAIL getStats() with no argument should return stats report containing peer-connection stats and outbound-track-stats assert_true: Expect statsReport to contain stats object of type outbound-rtp expected true got false
FAIL getStats() with no argument should return stats for no-stream tracks assert_equals: Expect dictionary.totalAudioEnergy to be number expected "number" but got "undefined"
FAIL getStats() on track associated with RtpSender should return stats report containing outbound-rtp stats assert_equals: Expect dictionary.codecType to be string expected "string" but got "undefined"
FAIL getStats() on track associated with RtpReceiver should return stats report containing inbound-rtp stats assert_equals: Expect dictionary.codecId to be string expected "string" but got "undefined"
FAIL getStats() with connected peer connections having tracks and data channel should return all mandatory to implement stats assert_unreached: test failed with error: Error: assert_equals: Expect dictionary.codecType to be string expected "string" but got "undefined" Reached unreachable code
Harness: the test ran to completion. Harness: the test ran to completion.
This is a testharness.js-based test. This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string Found 76 tests; 52 PASS, 24 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS getStats succeeds
PASS RTCRtpStreamStats's ssrc
PASS RTCRtpStreamStats's kind
PASS RTCRtpStreamStats's transportId
PASS RTCRtpStreamStats's codecId
PASS RTCReceivedRtpStreamStats's packetsReceived
PASS RTCReceivedRtpStreamStats's packetsLost
PASS RTCReceivedRtpStreamStats's jitter
FAIL RTCReceivedRtpStreamStats's packetsDiscarded assert_true: Is packetsDiscarded present expected true got false
PASS RTCInboundRtpStreamStats's trackId
FAIL RTCInboundRtpStreamStats's receiverId assert_true: Is receiverId present expected true got false
FAIL RTCInboundRtpStreamStats's remoteId assert_true: Is remoteId present expected true got false
PASS RTCInboundRtpStreamStats's framesDecoded
PASS RTCRemoteInboundRtpStreamStats's localId
PASS RTCRemoteInboundRtpStreamStats's roundTripTime
PASS RTCSentRtpStreamStats's packetsSent
PASS RTCSentRtpStreamStats's bytesSent
PASS RTCOutboundRtpStreamStats's trackId
FAIL RTCOutboundRtpStreamStats's senderId assert_true: Is senderId present expected true got false
PASS RTCOutboundRtpStreamStats's remoteId
PASS RTCOutboundRtpStreamStats's framesEncoded
FAIL RTCRemoteOutboundRtpStreamStats's localId assert_true: Is localId present expected true got false
FAIL RTCRemoteOutboundRtpStreamStats's remoteTimestamp assert_true: Is remoteTimestamp present expected true got false
PASS RTCPeerConnectionStats's dataChannelsOpened
PASS RTCPeerConnectionStats's dataChannelsClosed
PASS RTCDataChannelStats's protocol
PASS RTCDataChannelStats's dataChannelIdentifier
PASS RTCDataChannelStats's state
PASS RTCDataChannelStats's messagesSent
PASS RTCDataChannelStats's bytesSent
PASS RTCDataChannelStats's messagesReceived
PASS RTCDataChannelStats's bytesReceived
FAIL RTCMediaStreamStats's streamIdentifer assert_true: Is streamIdentifer present expected true got false
PASS RTCMediaStreamStats's trackIds
FAIL RTCMediaHandlerStats's trackIdentifier assert_true: Is trackIdentifier present expected true got false
FAIL RTCMediaHandlerStats's remoteSource assert_true: Is remoteSource present expected true got false
FAIL RTCMediaHandlerStats's ended assert_true: Is ended present expected true got false
FAIL RTCAudioHandlerStats's audioLevel assert_true: Is audioLevel present expected true got false
FAIL RTCVideoHandlerStats's frameWidth assert_true: Is frameWidth present expected true got false
FAIL RTCVideoHandlerStats's frameHeight assert_true: Is frameHeight present expected true got false
FAIL RTCVideoHandlerStats's framesPerSecond assert_true: Is framesPerSecond present expected true got false
FAIL RTCVideoSenderStats's framesSent assert_true: Is framesSent present expected true got false
FAIL RTCVideoReceiverStats's framesReceived assert_true: Is framesReceived present expected true got false
FAIL RTCVideoReceiverStats's framesDecoded assert_true: Is framesDecoded present expected true got false
FAIL RTCVideoReceiverStats's framesDropped assert_true: Is framesDropped present expected true got false
FAIL RTCVideoReceiverStats's partialFramesLost assert_true: Is partialFramesLost present expected true got false
PASS RTCCodecStats's payloadType
FAIL RTCCodecStats's codecType assert_true: Is codecType present expected true got false
PASS RTCCodecStats's clockRate
PASS RTCCodecStats's channels
PASS RTCCodecStats's sdpFmtpLine
PASS RTCTransportStats's bytesSent
PASS RTCTransportStats's bytesReceived
FAIL RTCTransportStats's rtcpTransportStatsId assert_true: Is rtcpTransportStatsId present expected true got false
PASS RTCTransportStats's selectedCandidatePairId
PASS RTCTransportStats's localCertificateId
PASS RTCTransportStats's remoteCertificateId
PASS RTCIceCandidatePairStats's transportId
PASS RTCIceCandidatePairStats's localCandidateId
PASS RTCIceCandidatePairStats's remoteCandidateId
PASS RTCIceCandidatePairStats's state
PASS RTCIceCandidatePairStats's priority
PASS RTCIceCandidatePairStats's nominated
PASS RTCIceCandidatePairStats's bytesSent
PASS RTCIceCandidatePairStats's bytesReceived
PASS RTCIceCandidatePairStats's totalRoundTripTime
PASS RTCIceCandidatePairStats's currentRoundTripTime
FAIL RTCIceCandidateStats's address assert_true: Is address present expected true got false
PASS RTCIceCandidateStats's port
PASS RTCIceCandidateStats's protocol
PASS RTCIceCandidateStats's candidateType
FAIL RTCIceCandidateStats's url assert_true: Is url present expected true got false
PASS RTCCertificateStats's fingerprint
PASS RTCCertificateStats's fingerprintAlgorithm
PASS RTCCertificateStats's base64Certificate
FAIL RTCCertificateStats's issuerCertificateId assert_true: Is issuerCertificateId present expected true got false
Harness: the test ran to completion. Harness: the test ran to completion.
This is a testharness.js-based test. This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string PASS addTrack() without setLocalDescription() yields track stats
PASS addTrack() without setLocalDescription() yields media stream stats
PASS addTrack() with setLocalDescription() yields track stats
PASS addTrack() with setLocalDescription() yields media stream stats
PASS addTrack(): Media stream stats references track stats
PASS Media stream stats references track stats
PASS O/A exchange yields outbound RTP stream stats for sending track
PASS O/A exchange yields inbound RTP stream stats for receiving track
PASS replaceTrack() before offer: new track attachment stats present
PASS replaceTrack() after offer, before answer: new track attachment stats present
PASS replaceTrack() after answer: new track attachment stats present
FAIL replaceTrack(): original track attachment stats present after replacing assert_true: Has stats for original track expected true got false
PASS RTCRtpSender.getStats() contains only outbound-rtp and related stats
PASS RTCRtpReceiver.getStats() contains only inbound-rtp and related stats
PASS RTCPeerConnection.getStats(sendingTrack) is the same as RTCRtpSender.getStats()
PASS RTCPeerConnection.getStats(receivingTrack) is the same as RTCRtpReceiver.getStats()
PASS RTCPeerConnection.getStats(track) throws InvalidAccessError when there are zero senders or receivers for the track
PASS RTCPeerConnection.getStats(track) throws InvalidAccessError when there are multiple senders for the track
Harness: the test ran to completion. Harness: the test ran to completion.
This is a testharness.js-based test. This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string FAIL receiver.getStats() via addTransceiver should return stats report containing inbound-rtp stats assert_equals: Expect dictionary.codecId to be string expected "string" but got "undefined"
FAIL receiver.getStats() via addTrack should return stats report containing inbound-rtp stats assert_equals: Expect dictionary.codecId to be string expected "string" but got "undefined"
Harness: the test ran to completion. Harness: the test ran to completion.
This is a testharness.js-based test. This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string FAIL sender.getStats() via addTransceiver should return stats report containing outbound-rtp stats assert_equals: Expect dictionary.codecType to be string expected "string" but got "undefined"
FAIL sender.getStats() via addTrack should return stats report containing outbound-rtp stats assert_equals: Expect dictionary.codecType to be string expected "string" but got "undefined"
Harness: the test ran to completion. Harness: the test ran to completion.
R'use strict'; 'use strict';
// Test is based on the following editor draft: // Test is based on the following editor draft:
// webrtc-pc 20171130 // webrtc-pc 20171130
......
This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string
Harness: the test ran to completion.
This is a testharness.js-based test. This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Uncaught SyntaxError: Unexpected string PASS tlsVersion is acceptable on data-only
PASS tlsVersion is acceptable on video-only
PASS dtlsCipher is acceptable on data-only
PASS dtlsCipher is acceptable on video-only
PASS srtpCipher is acceptable on data-only
PASS srtpCipher is acceptable on video-only
FAIL tlsGroup is acceptable on data-only assert_true: Value present: expected true got false
FAIL tlsGroup is acceptable on video-only assert_true: Value present: expected true got false
Harness: the test ran to completion. Harness: the test ran to completion.
This is a testharness.js-based test.
PASS getStats() with no argument should succeed
PASS getStats(null) should succeed
PASS getStats() with track not added to connection should reject with InvalidAccessError
PASS getStats() with track added via addTrack should succeed
FAIL getStats() with track added via addTransceiver should succeed promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL getStats() with track associated with more than one sender should reject with InvalidAccessError promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL getStats() with track associated with both sender and receiver should reject with InvalidAccessError Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'.
PASS getStats() with no argument should return stats report containing peer-connection stats on an empty PC
FAIL getStats() with no argument should return stats report containing peer-connection stats and outbound-track-stats assert_true: Expect statsReport to contain stats object of type outbound-rtp expected true got false
FAIL getStats() with no argument should return stats for no-stream tracks assert_equals: Expect dictionary.totalAudioEnergy to be number expected "number" but got "undefined"
FAIL getStats() on track associated with RtpSender should return stats report containing outbound-rtp stats assert_equals: Expect dictionary.codecType to be string expected "string" but got "undefined"
FAIL getStats() on track associated with RtpReceiver should return stats report containing inbound-rtp stats assert_equals: Expect dictionary.codecId to be string expected "string" but got "undefined"
FAIL getStats() with connected peer connections having tracks and data channel should return all mandatory to implement stats assert_unreached: test failed with error: Error: assert_equals: Expect dictionary.codecType to be string expected "string" but got "undefined" Reached unreachable code
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL receiver.getStats() via addTransceiver should return stats report containing inbound-rtp stats promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL receiver.getStats() via addTrack should return stats report containing inbound-rtp stats assert_equals: Expect dictionary.codecId to be string expected "string" but got "undefined"
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL sender.getStats() via addTransceiver should return stats report containing outbound-rtp stats promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL sender.getStats() via addTrack should return stats report containing outbound-rtp stats assert_equals: Expect dictionary.codecType to be string expected "string" but got "undefined"
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL tlsVersion is acceptable on data-only promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'transport' of null"
FAIL tlsVersion is acceptable on video-only promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL dtlsCipher is acceptable on data-only promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'transport' of null"
FAIL dtlsCipher is acceptable on video-only promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL srtpCipher is acceptable on data-only promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'transport' of null"
FAIL srtpCipher is acceptable on video-only promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
FAIL tlsGroup is acceptable on data-only promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'transport' of null"
FAIL tlsGroup is acceptable on video-only promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'."
Harness: the test ran to completion.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment