Index: modules/encoding/TextDecodeOptions.idl |
diff --git a/core/streams/ReadableStream.idl b/modules/encoding/TextDecodeOptions.idl |
similarity index 63% |
copy from core/streams/ReadableStream.idl |
copy to modules/encoding/TextDecodeOptions.idl |
index 927fa94b9a9604b286a95cbc8edbee1d4f3eb020..a4e0974b5c067bc27e96d02afce969a09e66b446 100644 |
--- a/core/streams/ReadableStream.idl |
+++ b/modules/encoding/TextDecodeOptions.idl |
@@ -2,8 +2,10 @@ |
// 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 TextDecodeOptions { |
+ boolean stream = false; |
}; |