Commit f3c8d8d0 authored by Guido Urdaneta's avatar Guido Urdaneta Committed by Commit Bot

Move WebRTC insertable streams web tests to WPT

Bug: 1114029
Change-Id: I732e4c3c1820aec2c6b6cd1aa5fee3b52dae98b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367078Reviewed-by: default avatarHarald Alvestrand <hta@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800176}
parent 5b97e32f
...@@ -6426,9 +6426,6 @@ crbug.com/1073792 [ Mac ] virtual/threaded-prefer-compositing/fast/scrolling/eve ...@@ -6426,9 +6426,6 @@ crbug.com/1073792 [ Mac ] virtual/threaded-prefer-compositing/fast/scrolling/eve
# the inspector-protocol/media tests only work in the virtual test environment. # the inspector-protocol/media tests only work in the virtual test environment.
crbug.com/1074129 inspector-protocol/media/media-player.js [ TIMEOUT ] crbug.com/1074129 inspector-protocol/media/media-player.js [ TIMEOUT ]
# Sheriff 2020-04-30
crbug.com/1068681 fast/peerconnection/RTCPeerConnection-insertable-streams.html [ Pass Timeout ]
# Sheriff 2020-05-04 # Sheriff 2020-05-04
crbug.com/952717 [ Debug ] http/tests/xmlhttprequest/redirect-cross-origin-post.html [ Pass Failure ] crbug.com/952717 [ Debug ] http/tests/xmlhttprequest/redirect-cross-origin-post.html [ Pass Failure ]
crbug.com/984467 fast/canvas/canvas-composite-stroke-alpha.html [ Pass Timeout ] crbug.com/984467 fast/canvas/canvas-composite-stroke-alpha.html [ Pass Timeout ]
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<html> <html>
<head> <head>
<title>RTCPeerConnection Insertable Streams Audio</title> <title>RTCPeerConnection Insertable Streams Audio</title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../../external/wpt/webrtc/RTCPeerConnection-helper.js"></script> <script src="../webrtc/RTCPeerConnection-helper.js"></script>
<script src="./RTCPeerConnection-insertable-streams.js"></script> <script src="./RTCPeerConnection-insertable-streams.js"></script>
</head> </head>
<body> <body>
...@@ -55,7 +55,7 @@ async function testAudioFlow(t, negotiationFunction) { ...@@ -55,7 +55,7 @@ async function testAudioFlow(t, negotiationFunction) {
if (numVerifiedFrames == numFramesToSend) if (numVerifiedFrames == numFramesToSend)
resolve(); resolve();
})).catch(e=>console.error(e)); }));
} }
}); });
}); });
......
<!doctype html> <!doctype html>
<meta charset=utf-8> <meta charset=utf-8>
<title>RTCPeerConnection Insertable Streams Simulcast</title> <title>RTCPeerConnection Insertable Streams Simulcast</title>
<script src="../../external/wpt/webrtc/third_party/sdp/sdp.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../external/wpt/webrtc/simulcast/simulcast.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../../external/wpt/webrtc/RTCPeerConnection-helper.js"></script> <script src="../webrtc/RTCPeerConnection-helper.js"></script>
<script src="../../resources/testharness.js"></script> <script src="../webrtc/third_party/sdp/sdp.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="../webrtc/simulcast/simulcast.js"></script>
<script> <script>
// Test based on wpt/webrtc/simulcast/basic.https.html // Test based on wpt/webrtc/simulcast/basic.https.html
promise_test(async t => { promise_test(async t => {
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<html> <html>
<head> <head>
<title>RTCPeerConnection Insertable Streams</title> <title>RTCPeerConnection Insertable Streams</title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../../external/wpt/webrtc/RTCPeerConnection-helper.js"></script> <script src="../webrtc/RTCPeerConnection-helper.js"></script>
<script src="./RTCPeerConnection-insertable-streams.js"></script> <script src="./RTCPeerConnection-insertable-streams.js"></script>
</head> </head>
<body> <body>
...@@ -268,11 +268,11 @@ async function testNormalDataFlowWithInsertableStreamsForOtherKind(t, normalKind ...@@ -268,11 +268,11 @@ async function testNormalDataFlowWithInsertableStreamsForOtherKind(t, normalKind
promise_test(t => { promise_test(t => {
return testNormalDataFlowWithInsertableStreamsForOtherKind(t, 'audio'); return testNormalDataFlowWithInsertableStreamsForOtherKind(t, 'audio');
}, 'Audio flows when insertable streams is enabled for video and disabled for audio.'); }, 'Legacy: Audio flows when insertable streams is enabled for video and disabled for audio.');
promise_test(t => { promise_test(t => {
return testNormalDataFlowWithInsertableStreamsForOtherKind(t, 'video'); return testNormalDataFlowWithInsertableStreamsForOtherKind(t, 'video');
}, 'Video flows when insertable streams is enabled for audio and disabled for audio.'); }, 'Legacy: Video flows when insertable streams is enabled for audio and disabled for audio.');
promise_test(async t => { promise_test(async t => {
const caller = new RTCPeerConnection({encodedInsertableStreams:true}); const caller = new RTCPeerConnection({encodedInsertableStreams:true});
......
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