Skip to content

Commit

Permalink
Merge pull request #2913 from Orphis/binarytype
Browse files Browse the repository at this point in the history
Change the default value of binaryType to "arraybuffer"
  • Loading branch information
Orphis authored Dec 7, 2023
2 parents 5340dad + bf6b594 commit 35e0ca5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions amendments.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
}
2 changes: 1 addition & 1 deletion webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -14445,7 +14445,7 @@ <h2>
"RTCPeerConnection-createDataChannel.html">When an
{{RTCDataChannel}} object is created, the
{{binaryType}} attribute MUST be initialized
to the string {{BinaryType/"blob"}}.</span>
to the string {{BinaryType/"arraybuffer"}}.</span>
</p>
<p>
This attribute controls how binary data is exposed to
Expand Down

0 comments on commit 35e0ca5

Please sign in to comment.