Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This type is marked NoInterfaceObject while we work to replace it with the | |
| 6 // V8 extras implementation. It is still used for now to implement fetch body | |
| 7 // streams, and so we can't remove it quite yet. | |
| 8 | |
| 5 [ | 9 [ |
| 6 GarbageCollected, | 10 GarbageCollected, |
| 7 Exposed=(Window,Worker), | 11 Exposed=(Window,Worker), |
| 12 NoInterfaceObject | |
|
domenic
2015/11/11 21:56:07
Probably a better idea: use Exposed=(Window Featur
| |
| 8 ] interface ReadableStream { | 13 ] interface ReadableStream { |
| 9 [CallWith=ExecutionContext, RaisesException] ReadableStreamReader getReader( ); | 14 [CallWith=ExecutionContext, RaisesException] ReadableStreamReader getReader( ); |
| 10 [CallWith=ScriptState] Promise<void> cancel(optional any reason); | 15 [CallWith=ScriptState] Promise<void> cancel(optional any reason); |
| 11 }; | 16 }; |
| OLD | NEW |