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

Unified Diff: LayoutTests/fast/mediastream/RTCPeerConnection-datachannel-blob-expected.txt

Issue 268923002: Add support of sending blob data for RTCDataChannel Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: LayoutTests/fast/mediastream/RTCPeerConnection-datachannel-blob-expected.txt
diff --git a/LayoutTests/fast/mediastream/RTCPeerConnection-datachannel-blob-expected.txt b/LayoutTests/fast/mediastream/RTCPeerConnection-datachannel-blob-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6dd4f33710695767f21e9d6223be2aac0f24061e
--- /dev/null
+++ b/LayoutTests/fast/mediastream/RTCPeerConnection-datachannel-blob-expected.txt
@@ -0,0 +1,33 @@
+Tests RTCDataChannel sending blob data.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS pc is connected
+PASS dc = pc.createDataChannel("label"); did not throw exception.
+PASS dc.readyState is 'connecting'
+PASS dc.binaryType is "blob"
+PASS pc_ondatachannel was called
+PASS dc_onopen was called
+PASS dc.readyState is 'open'
+PASS dc.label is 'label'
+PASS dc.send(blob); did not throw exception.
+PASS dc_onmessage_blob was called
+PASS data instanceof window.Blob is true
+PASS Blob data was reveived correctly.
+PASS Got fileSystem
+PASS File created.
+PASS fileEntry.isFile is true
+PASS Wrote to file.
+PASS Got File object successfully.
+PASS dc.send(fileObject); did not throw exception.
+PASS dc_onmessage_file was called
+PASS data instanceof window.Blob is true
+PASS File data is received correctly.
+PASS Deleting the file.
+PASS dc_onclose was called
+PASS dc.readyState is 'closed'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698