OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This is not a spec interface. Instead, it is used to generate bindings |
| 6 // so that Blink code which wishes to create a stream can derive from |
| 7 // ScriptQueuingStrategy, and a JavaScript object can then be generated |
| 8 // automatically for use in initializing a ScriptReadableStream. |
| 9 |
| 10 [NoInterfaceObject, GarbageCollected] |
| 11 interface ScriptQueuingStrategy { |
| 12 readonly attribute double highWaterMark; |
| 13 double size(any chunk); |
| 14 }; |
OLD | NEW |