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

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

Issue 292243003: Encoding API: Expose 'fatal' and 'ignoreBOM' readonly attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Regen test results Created 6 years, 7 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.h ('k') | no next file » | 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 b0f2a8f69b08fd66de7ae88a5a4d87a1e612cde1..91be920b13f71665e196420fcdd10e0ac2644505 100644
--- a/Source/modules/encoding/TextDecoder.idl
+++ b/Source/modules/encoding/TextDecoder.idl
@@ -37,5 +37,7 @@
MeasureAs=TextDecoderConstructor
] interface TextDecoder {
readonly attribute DOMString encoding;
+ readonly attribute boolean fatal;
+ readonly attribute boolean ignoreBOM;
[RaisesException, MeasureAs=TextDecoderDecode] DOMString decode(optional ArrayBufferView input, optional Dictionary options);
};
« no previous file with comments | « Source/modules/encoding/TextDecoder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698