diff --git a/amendments.json b/amendments.json index 89c591147..a160757fb 100644 --- a/amendments.json +++ b/amendments.json @@ -529,5 +529,17 @@ "status": "candidate", "id": 38 } + ], + "dom-datachannel-binarytype-desc": [ + { + "description": "Fix binaryType setter requriements", + "pr": 2909, + "type": "correction", + "status": "candidate", + "tests": [ + "webrtc/RTCDataChannel-binaryType.window.js" + ], + "id": 39 + } ] } diff --git a/base-rec.html b/base-rec.html index c6f6cd1f4..e22bc886b 100644 --- a/base-rec.html +++ b/base-rec.html @@ -14120,7 +14120,7 @@
binaryType
of type
BinaryType
-
The
attribute MUST, on getting, return the
value to which it was last set. On setting, if the new value
diff --git a/webrtc.html b/webrtc.html
index c78989ef9..92c21d23f 100644
--- a/webrtc.html
+++ b/webrtc.html
@@ -14438,18 +14438,14 @@ binaryType
- The {{binaryType}} attribute MUST, on getting, return the
- value to which it was last set. On setting, if the new value
- is either the string "blob"
or the
- string "arraybuffer"
, then set the
- IDL attribute to this new value. Otherwise, [=
- exception/throw =] a {{SyntaxError}}. When an
{{RTCDataChannel}} object is created, the
- {{RTCDataChannel/binaryType}} attribute MUST be initialized
- to the string "blob"
.
+ {{binaryType}} attribute MUST be initialized
+ to the string {{BinaryType/"blob"}}.
This attribute controls how binary data is exposed to