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

Unified Diff: modules/encoding/TextDecoder.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: 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 | « modules/device_orientation/WindowDeviceOrientation.idl ('k') | modules/encoding/TextEncoder.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/encoding/TextDecoder.idl
diff --git a/modules/encoding/TextDecoder.idl b/modules/encoding/TextDecoder.idl
index 2a1f987209370aa92bdc985ca10b0b0866d40820..f71c7b896474def93df016c4ab0b4fce48dae88c 100644
--- a/modules/encoding/TextDecoder.idl
+++ b/modules/encoding/TextDecoder.idl
@@ -30,11 +30,14 @@
[
RuntimeEnabled=EncodingAPI,
- GlobalContext=Window&WorkerGlobalScope,
- Constructor([Default=NullString] optional DOMString label, optional Dictionary options),
+ Exposed=Window&Worker,
+ Constructor(optional DOMString label = null, optional Dictionary options),
RaisesException=Constructor,
- WillBeGarbageCollected
+ GarbageCollected,
+ MeasureAs=TextDecoderConstructor
] interface TextDecoder {
readonly attribute DOMString encoding;
- [RaisesException] DOMString decode(optional ArrayBufferView input, optional Dictionary options);
+ readonly attribute boolean fatal;
+ readonly attribute boolean ignoreBOM;
+ [RaisesException, MeasureAs=TextDecoderDecode] DOMString decode(optional ArrayBufferView input, optional Dictionary options);
};
« no previous file with comments | « modules/device_orientation/WindowDeviceOrientation.idl ('k') | modules/encoding/TextEncoder.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698