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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 'Element.children', | 218 'Element.children', |
219 'Element.childElementCount', | 219 'Element.childElementCount', |
220 'Element.firstElementChild', | 220 'Element.firstElementChild', |
221 'Element.getElementsByTagName', | 221 'Element.getElementsByTagName', |
222 'Element.scrollIntoView', | 222 'Element.scrollIntoView', |
223 'Element.scrollIntoViewIfNeeded', | 223 'Element.scrollIntoViewIfNeeded', |
224 'Element.removeAttribute', | 224 'Element.removeAttribute', |
225 'Element.removeAttributeNS', | 225 'Element.removeAttributeNS', |
226 'Element.hasAttribute', | 226 'Element.hasAttribute', |
227 'Element.hasAttributeNS', | 227 'Element.hasAttributeNS', |
| 228 'Element.innerHTML', |
228 'Element.querySelectorAll', | 229 'Element.querySelectorAll', |
229 'Event.initEvent', | 230 'Event.initEvent', |
230 'Geolocation.clearWatch', | 231 'Geolocation.clearWatch', |
231 'Geolocation.getCurrentPosition', | 232 'Geolocation.getCurrentPosition', |
232 'Geolocation.watchPosition', | 233 'Geolocation.watchPosition', |
233 'HashChangeEvent.initHashChangeEvent', | 234 'HashChangeEvent.initHashChangeEvent', |
234 'HTMLCanvasElement.toDataURL', | 235 'HTMLCanvasElement.toDataURL', |
235 'HTMLTableElement.createCaption', | 236 'HTMLTableElement.createCaption', |
236 'HTMLTableElement.createTFoot', | 237 'HTMLTableElement.createTFoot', |
237 'HTMLTableElement.createTHead', | 238 'HTMLTableElement.createTHead', |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
896 | 897 |
897 # We're looking for a sequence of letters which start with capital letter | 898 # We're looking for a sequence of letters which start with capital letter |
898 # then a series of caps and finishes with either the end of the string or | 899 # then a series of caps and finishes with either the end of the string or |
899 # a capital letter. | 900 # a capital letter. |
900 # The [0-9] check is for names such as 2D or 3D | 901 # The [0-9] check is for names such as 2D or 3D |
901 # The following test cases should match as: | 902 # The following test cases should match as: |
902 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 903 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
903 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 904 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
904 # IFrameElement: (I)()(F)rameElement (no change) | 905 # IFrameElement: (I)()(F)rameElement (no change) |
905 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 906 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
OLD | NEW |