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 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 'HTMLTableRowElement.vAlign', | 788 'HTMLTableRowElement.vAlign', |
789 'HTMLTableSectionElement.align', | 789 'HTMLTableSectionElement.align', |
790 'HTMLTableSectionElement.ch', | 790 'HTMLTableSectionElement.ch', |
791 'HTMLTableSectionElement.chOff', | 791 'HTMLTableSectionElement.chOff', |
792 'HTMLTableSectionElement.vAlign', | 792 'HTMLTableSectionElement.vAlign', |
793 'HTMLTitleElement.text', | 793 'HTMLTitleElement.text', |
794 'HTMLUListElement.compact', | 794 'HTMLUListElement.compact', |
795 'HTMLUListElement.type', | 795 'HTMLUListElement.type', |
796 'IDBDatabase.transaction', # We do this in a template without the generated
implementation at all. | 796 'IDBDatabase.transaction', # We do this in a template without the generated
implementation at all. |
797 'Location.valueOf', | 797 'Location.valueOf', |
| 798 'MessageEvent.data', |
798 'MessageEvent.ports', | 799 'MessageEvent.ports', |
799 'MessageEvent.webkitInitMessageEvent', | 800 'MessageEvent.webkitInitMessageEvent', |
800 'MouseEvent.x', | 801 'MouseEvent.x', |
801 'MouseEvent.y', | 802 'MouseEvent.y', |
802 'Navigator.registerServiceWorker', | 803 'Navigator.registerServiceWorker', |
803 'Navigator.unregisterServiceWorker', | 804 'Navigator.unregisterServiceWorker', |
804 'Navigator.isProtocolHandlerRegistered', | 805 'Navigator.isProtocolHandlerRegistered', |
805 'Navigator.unregisterProtocolHandler', | 806 'Navigator.unregisterProtocolHandler', |
806 'Node.compareDocumentPosition', | 807 'Node.compareDocumentPosition', |
807 'Node.get:DOCUMENT_POSITION_CONTAINED_BY', | 808 'Node.get:DOCUMENT_POSITION_CONTAINED_BY', |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 | 1060 |
1060 # We're looking for a sequence of letters which start with capital letter | 1061 # We're looking for a sequence of letters which start with capital letter |
1061 # then a series of caps and finishes with either the end of the string or | 1062 # then a series of caps and finishes with either the end of the string or |
1062 # a capital letter. | 1063 # a capital letter. |
1063 # The [0-9] check is for names such as 2D or 3D | 1064 # The [0-9] check is for names such as 2D or 3D |
1064 # The following test cases should match as: | 1065 # The following test cases should match as: |
1065 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 1066 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
1066 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 1067 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
1067 # IFrameElement: (I)()(F)rameElement (no change) | 1068 # IFrameElement: (I)()(F)rameElement (no change) |
1068 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 1069 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
OLD | NEW |