mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
removed support for UTF-16 in TextEncoder
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* https://encoding.spec.whatwg.org/#interface-textencoder */
|
||||
[Constructor(optional DOMString utfLabel = "utf-8"), Exposed=(Window,Worker)]
|
||||
[Constructor, Exposed=(Window,Worker)]
|
||||
interface TextEncoder {
|
||||
readonly attribute DOMString encoding;
|
||||
[NewObject]
|
||||
|
||||
Reference in New Issue
Block a user