Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-statsPromise-expected.txt

Issue 2156063002: Preparation for new Promise-based RTCPeerConnection.getStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced TODO /w comment what happens if function != 1 args Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-statsPromise-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-statsPromise-expected.txt b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-statsPromise-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2aafc9493f422b0bd0f6620e0b662ee69a1cadd0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-statsPromise-expected.txt
@@ -0,0 +1,18 @@
+Tests the promise-based RTCPeerConnection.getStats function.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pc = new webkitRTCPeerConnection(null) did not throw exception.
+PASS getUserMedia({audio:true, video:true}, gotStream) did not throw exception.
+PASS Got a stream.
+PASS selector = pc.getLocalStreams()[0].getVideoTracks()[0] did not throw exception.
+PASS selector is non-null.
+PASS pc.getStats(selector).then(onResolve, onReject1) did not throw exception.
+PASS pc.getStats(selector) was rejected.
+PASS pc.getStats().then(onResolve, onReject2) did not throw exception.
+PASS pc.getStats() was rejected.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698