removed support for UTF-16 in TextEncoder

This commit is contained in:
Ashwin R 2016-09-24 10:42:02 +05:30
parent 28ebab4398
commit 67a94d81d1
3 changed files with 11 additions and 152 deletions

View file

@ -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]