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

Unified Diff: third_party/WebKit/Source/core/streams/ReadableStream.idl

Issue 1404523005: Implement author-constructible ReadableStream using V8 extras (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: third_party/WebKit/Source/core/streams/ReadableStream.idl
diff --git a/third_party/WebKit/Source/core/streams/ReadableStream.idl b/third_party/WebKit/Source/core/streams/ReadableStream.idl
index 33fbddc153a7d6508c76482eae7ab735bd8bdf9c..c4eca58eb076a63944bb41d0d4fab8344036dc6f 100644
--- a/third_party/WebKit/Source/core/streams/ReadableStream.idl
+++ b/third_party/WebKit/Source/core/streams/ReadableStream.idl
@@ -2,9 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// This type is marked NoInterfaceObject while we work to replace it with the
+// V8 extras implementation. It is still used for now to implement fetch body
+// streams, and so we can't remove it quite yet.
+
[
GarbageCollected,
Exposed=(Window,Worker),
+ NoInterfaceObject
] interface ReadableStream {
[CallWith=ExecutionContext, RaisesException] ReadableStreamReader getReader();
[CallWith=ScriptState] Promise<void> cancel(optional any reason);

Powered by Google App Engine
This is Rietveld 408576698