| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 'Document.referrer', | 226 'Document.referrer', |
| 227 'Document.selectedStylesheetSet', | 227 'Document.selectedStylesheetSet', |
| 228 'Document.styleSheets', | 228 'Document.styleSheets', |
| 229 'Document.title', | 229 'Document.title', |
| 230 'Document.webkitCancelFullScreen', | 230 'Document.webkitCancelFullScreen', |
| 231 'Document.webkitExitFullscreen', | 231 'Document.webkitExitFullscreen', |
| 232 'Document.webkitFullscreenElement', | 232 'Document.webkitFullscreenElement', |
| 233 'Document.webkitFullscreenEnabled', | 233 'Document.webkitFullscreenEnabled', |
| 234 'Document.webkitHidden', | 234 'Document.webkitHidden', |
| 235 'Document.webkitIsFullScreen', | 235 'Document.webkitIsFullScreen', |
| 236 'Document.webkitPointerLockElement', | |
| 237 'Document.webkitVisibilityState', | 236 'Document.webkitVisibilityState', |
| 238 | 237 |
| 239 'Element.children', | 238 'Element.children', |
| 240 'Element.childElementCount', | 239 'Element.childElementCount', |
| 241 'Element.firstElementChild', | 240 'Element.firstElementChild', |
| 242 'Element.getElementsByTagName', | 241 'Element.getElementsByTagName', |
| 243 'Element.scrollIntoView', | 242 'Element.scrollIntoView', |
| 244 'Element.scrollIntoViewIfNeeded', | 243 'Element.scrollIntoViewIfNeeded', |
| 245 'Element.removeAttribute', | 244 'Element.removeAttribute', |
| 246 'Element.removeAttributeNS', | 245 'Element.removeAttributeNS', |
| (...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1021 | 1020 |
| 1022 # We're looking for a sequence of letters which start with capital letter | 1021 # We're looking for a sequence of letters which start with capital letter |
| 1023 # then a series of caps and finishes with either the end of the string or | 1022 # then a series of caps and finishes with either the end of the string or |
| 1024 # a capital letter. | 1023 # a capital letter. |
| 1025 # The [0-9] check is for names such as 2D or 3D | 1024 # The [0-9] check is for names such as 2D or 3D |
| 1026 # The following test cases should match as: | 1025 # The following test cases should match as: |
| 1027 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 1026 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
| 1028 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 1027 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
| 1029 # IFrameElement: (I)()(F)rameElement (no change) | 1028 # IFrameElement: (I)()(F)rameElement (no change) |
| 1030 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 1029 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
| OLD | NEW |