| 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 // TODO(binji): spec |
| 5 // https://www.khronos.org/registry/typedarray/specs/latest/#ARRAYBUFFER | 6 // https://www.khronos.org/registry/typedarray/specs/latest/#ARRAYBUFFER |
| 6 | 7 |
| 7 [ | 8 [ |
| 8 ImplementedAs=DOMArrayBuffer, | 9 ImplementedAs=DOMSharedArrayBuffer, |
| 9 NoInterfaceObject, | 10 NoInterfaceObject, |
| 10 ] interface ArrayBuffer { | 11 RuntimeEnabled=SharedArrayBuffer, |
| 12 ] interface SharedArrayBuffer { |
| 11 readonly attribute unsigned long byteLength; | 13 readonly attribute unsigned long byteLength; |
| 12 }; | 14 }; |
| OLD | NEW |