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 // TODO(philipj): There is no spec for the Memory Info API, see blink-dev: |
6 ImplementedAs=ConsoleMemory, | 6 // https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJz71N
mPwJ |
7 ] partial interface Console { | 7 |
| 8 partial interface Console { |
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 // 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; | 10 [Measure] attribute MemoryInfo memory; |
10 }; | 11 }; |
OLD | NEW |