Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1114)

Unified Diff: Source/modules/encoding/TextDecoder.idl

Issue 564463002: Encoding API: Add TextDecodeOptions and TextDecoderOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@dic-webmidi
Patch Set: Rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/encoding/TextDecoder.cpp ('k') | Source/modules/encoding/TextDecoderOptions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encoding/TextDecoder.idl
diff --git a/Source/modules/encoding/TextDecoder.idl b/Source/modules/encoding/TextDecoder.idl
index af0ffacaf3441c79d9593746b9ae58e811a415b1..977a8653bc1feb5ddd018263e56d5f1557cf51df 100644
--- a/Source/modules/encoding/TextDecoder.idl
+++ b/Source/modules/encoding/TextDecoder.idl
@@ -31,7 +31,7 @@
[
RuntimeEnabled=EncodingAPI,
Exposed=(Window,Worker),
- Constructor(optional DOMString label = "utf-8", optional Dictionary options),
+ Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
RaisesException=Constructor,
GarbageCollected,
MeasureAs=TextDecoderConstructor
@@ -39,5 +39,5 @@
readonly attribute DOMString encoding;
readonly attribute boolean fatal;
readonly attribute boolean ignoreBOM;
- [RaisesException, MeasureAs=TextDecoderDecode] DOMString decode(optional ArrayBufferView input, optional Dictionary options);
+ [RaisesException, MeasureAs=TextDecoderDecode] DOMString decode(optional ArrayBufferView input, optional TextDecodeOptions options);
};
« no previous file with comments | « Source/modules/encoding/TextDecoder.cpp ('k') | Source/modules/encoding/TextDecoderOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698