OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
5 import logging | 5 import logging |
6 import monitored | 6 import monitored |
7 import re | 7 import re |
8 | 8 |
9 typed_array_renames = { | 9 typed_array_renames = { |
10 'ArrayBuffer': 'ByteBuffer', | 10 'ArrayBuffer': 'ByteBuffer', |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 'Element.hasAttribute', | 261 'Element.hasAttribute', |
262 'Element.hasAttributeNS', | 262 'Element.hasAttributeNS', |
263 'Element.innerHTML', | 263 'Element.innerHTML', |
264 'Element.querySelectorAll', | 264 'Element.querySelectorAll', |
265 # TODO(vsm): These have been converted from int to double in Chrome 36. | 265 # TODO(vsm): These have been converted from int to double in Chrome 36. |
266 # Special case them so we run on 34, 35, and 36. | 266 # Special case them so we run on 34, 35, and 36. |
267 'Element.scrollLeft', | 267 'Element.scrollLeft', |
268 'Element.scrollTop', | 268 'Element.scrollTop', |
269 'Element.scrollWidth', | 269 'Element.scrollWidth', |
270 'Element.scrollHeight', | 270 'Element.scrollHeight', |
| 271 'Element.clientLeft', |
| 272 'Element.clientTop', |
| 273 'Element.clientWidth', |
| 274 'Element.clientHeight', |
271 | 275 |
272 'Event.initEvent', | 276 'Event.initEvent', |
273 'EventTarget.addEventListener', | 277 'EventTarget.addEventListener', |
274 'EventTarget.removeEventListener', | 278 'EventTarget.removeEventListener', |
275 'FileReader.result', | 279 'FileReader.result', |
276 'Geolocation.clearWatch', | 280 'Geolocation.clearWatch', |
277 'Geolocation.getCurrentPosition', | 281 'Geolocation.getCurrentPosition', |
278 'Geolocation.watchPosition', | 282 'Geolocation.watchPosition', |
279 'HashChangeEvent.initHashChangeEvent', | 283 'HashChangeEvent.initHashChangeEvent', |
280 'HTMLCanvasElement.toDataURL', | 284 'HTMLCanvasElement.toDataURL', |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 | 1064 |
1061 # We're looking for a sequence of letters which start with capital letter | 1065 # We're looking for a sequence of letters which start with capital letter |
1062 # then a series of caps and finishes with either the end of the string or | 1066 # then a series of caps and finishes with either the end of the string or |
1063 # a capital letter. | 1067 # a capital letter. |
1064 # The [0-9] check is for names such as 2D or 3D | 1068 # The [0-9] check is for names such as 2D or 3D |
1065 # The following test cases should match as: | 1069 # The following test cases should match as: |
1066 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 1070 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
1067 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 1071 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
1068 # IFrameElement: (I)()(F)rameElement (no change) | 1072 # IFrameElement: (I)()(F)rameElement (no change) |
1069 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 1073 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
OLD | NEW |