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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/webrtc/RTCPeerConnection-createDataChannel-expected.txt

Issue 2501163002: RTCPeerConnection: match createDataChannel signature in spec (Closed)
Patch Set: expand id tests Created 3 years, 8 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/external/wpt/webrtc/RTCPeerConnection-createDataChannel-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webrtc/RTCPeerConnection-createDataChannel-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/webrtc/RTCPeerConnection-createDataChannel-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0904300997fb59375c46075c5a5d035ca9dfd5a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/webrtc/RTCPeerConnection-createDataChannel-expected.txt
@@ -0,0 +1,30 @@
+This is a testharness.js-based test.
+PASS createDataChannel required arguments
+PASS createDataChannel with closed connection
+FAIL createDataChannel defaults assert_equals: maxPacketLifeTime expected (object) null but got (undefined) undefined
+PASS createDataChannel with label "foo"
+PASS createDataChannel with label null
+PASS createDataChannel with label undefined
+PASS createDataChannel with label lone surrogate
+PASS createDataChannel with ordered false
+PASS createDataChannel with ordered null/undefined
+FAIL createDataChannel with maxPacketLifeTime 0 assert_equals: expected (number) 0 but got (undefined) undefined
+PASS createDataChannel with maxRetransmits 0
+FAIL createDataChannel with both maxPacketLifeTime and maxRetransmits assert_throws: function "() => pc.createDataChannel('', {
+ maxPacketLifeTime: 0,
+ maxRetransmits: 0
+ })" did not throw
+PASS createDataChannel with protocol "foo"
+PASS createDataChannel with protocol null
+PASS createDataChannel with protocol undefined
+PASS createDataChannel with protocol lone surrogate
+PASS createDataChannel with negotiated true
+PASS createDataChannel with id -1
+PASS createDataChannel with id 0
+PASS createDataChannel with id 1
+PASS createDataChannel with id 65534
+FAIL createDataChannel with id 65535 assert_throws: function "() => pc.createDataChannel('', { id: id })" did not throw
+PASS createDataChannel with id 65536
+FAIL createDataChannel with priority "high" assert_equals: expected (string) "high" but got (undefined) undefined
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698