OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 // User-visible strings shared between ReadableStream and WritableStream. |
| 6 |
| 7 (function(global, binding, v8) { |
| 8 'use strict'; |
| 9 |
| 10 binding.streamErrors = { |
| 11 illegalInvocation: 'Illegal invocation', |
| 12 illegalConstructor: 'Illegal constructor', |
| 13 invalidType: 'Invalid type is specified', |
| 14 invalidSize: 'The return value of a queuing strategy\'s size function must b
e a finite, non-NaN, non-negative number', |
| 15 sizeNotAFunction: 'A queuing strategy\'s size property must be a function', |
| 16 invalidHWM: 'A queueing strategy\'s highWaterMark property must be a nonnega
tive, non-NaN number', |
| 17 }; |
| 18 }); |
OLD | NEW |