From bf6b5940f61c2a2c1b27a2e28ce540f471f69196 Mon Sep 17 00:00:00 2001
From: Florent Castelli
Date: Thu, 7 Dec 2023 12:54:31 +0100
Subject: [PATCH] Change the default value of binaryType to "arraybuffer"
---
amendments.json | 7 +++++++
webrtc.html | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/amendments.json b/amendments.json
index a160757fb..841277e61 100644
--- a/amendments.json
+++ b/amendments.json
@@ -540,6 +540,13 @@
"webrtc/RTCDataChannel-binaryType.window.js"
],
"id": 39
+ },
+ {
+ "description": "Change the default value of binaryType",
+ "pr": 2913,
+ "type": "correction",
+ "status": "candidate",
+ "id": 40
}
]
}
diff --git a/webrtc.html b/webrtc.html
index 87ef3570e..0f6d137cc 100644
--- a/webrtc.html
+++ b/webrtc.html
@@ -14445,7 +14445,7 @@
"RTCPeerConnection-createDataChannel.html">When an
{{RTCDataChannel}} object is created, the
{{binaryType}} attribute MUST be initialized
- to the string {{BinaryType/"blob"}}.
+ to the string {{BinaryType/"arraybuffer"}}.
This attribute controls how binary data is exposed to