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

Unified Diff: modules/encoding/TextEncoder.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/encoding/TextDecoder.idl ('k') | modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/encoding/TextEncoder.idl
diff --git a/modules/encoding/TextEncoder.idl b/modules/encoding/TextEncoder.idl
index 0428015fb07cd540130112a9825fd582b68417db..dc86fef21bf7e7c28b73df77962e9c24168adc42 100644
--- a/modules/encoding/TextEncoder.idl
+++ b/modules/encoding/TextEncoder.idl
@@ -30,11 +30,12 @@
[
RuntimeEnabled=EncodingAPI,
- GlobalContext=Window&WorkerGlobalScope,
- Constructor([Default=NullString] optional DOMString utfLabel),
+ Exposed=Window&Worker,
+ Constructor(optional DOMString utfLabel = null),
RaisesException=Constructor,
- WillBeGarbageCollected
+ GarbageCollected,
+ MeasureAs=TextEncoderConstructor
] interface TextEncoder {
readonly attribute DOMString encoding;
- Uint8Array encode([Default=NullString] optional DOMString input, optional Dictionary options);
+ [MeasureAs=TextEncoderEncode] Uint8Array encode(optional ScalarValueString input = null, optional Dictionary options);
};
« no previous file with comments | « modules/encoding/TextDecoder.idl ('k') | modules/encryptedmedia/HTMLMediaElementEncryptedMedia.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698