Index: modules/encoding/TextDecoderOptions.idl |
diff --git a/core/streams/ReadableStream.idl b/modules/encoding/TextDecoderOptions.idl |
similarity index 57% |
copy from core/streams/ReadableStream.idl |
copy to modules/encoding/TextDecoderOptions.idl |
index 927fa94b9a9604b286a95cbc8edbee1d4f3eb020..c2225155ee175eb72bf878e08864b2079a83be81 100644 |
--- a/core/streams/ReadableStream.idl |
+++ b/modules/encoding/TextDecoderOptions.idl |
@@ -2,8 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// http://encoding.spec.whatwg.org/#textdecoder |
+ |
[ |
- RuntimeEnabled=Stream, |
GarbageCollected |
-] interface ReadableStream { |
+] dictionary TextDecoderOptions { |
+ boolean fatal = false; |
+ boolean ignoreBOM = false; |
}; |