OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 [ | 5 [ |
6 ImplementedAs=ConsoleMemory, | 6 ImplementedAs=ConsoleMemory, |
7 ] partial interface Console { | 7 ] partial interface Console { |
8 readonly attribute MemoryInfo memory; | 8 // We can't make the attribute readonly as it breaks existing code that reli
es on being able to assign to console.memory in strict mode. Instead, the setter
just ignores the passed value. http://crbug.com/468611 |
| 9 attribute MemoryInfo memory; |
9 }; | 10 }; |
OLD | NEW |