Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: tools/dom/scripts/htmlrenamer.py

Issue 1890983002: Remove MutationEvent bad entries in both removed list and renamed list (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Re-gened Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 'FileWriterSync', # Workers 90 'FileWriterSync', # Workers
91 'HTMLAllCollection', 91 'HTMLAllCollection',
92 'HTMLAppletElement', 92 'HTMLAppletElement',
93 'HTMLBaseFontElement', 93 'HTMLBaseFontElement',
94 'HTMLDirectoryElement', 94 'HTMLDirectoryElement',
95 'HTMLFontElement', 95 'HTMLFontElement',
96 'HTMLFrameElement', 96 'HTMLFrameElement',
97 'HTMLFrameSetElement', 97 'HTMLFrameSetElement',
98 'HTMLMarqueeElement', 98 'HTMLMarqueeElement',
99 'IDBAny', 99 'IDBAny',
100 'MutationEvent',
101 'Notation', 100 'Notation',
102 'PagePopupController', 101 'PagePopupController',
103 'RGBColor', 102 'RGBColor',
104 'RadioNodeList', # Folded onto NodeList in dart2js. 103 'RadioNodeList', # Folded onto NodeList in dart2js.
105 'Rect', 104 'Rect',
106 'Response', # TODO: Symbol conflicts with Angular: dartbug.com/20937 105 'Response', # TODO: Symbol conflicts with Angular: dartbug.com/20937
107 'ServiceWorker', 106 'ServiceWorker',
108 'SQLTransactionSync', # Workers 107 'SQLTransactionSync', # Workers
109 'SQLTransactionSyncCallback', # Workers 108 'SQLTransactionSyncCallback', # Workers
110 'SVGAltGlyphDefElement', # Webkit only. 109 'SVGAltGlyphDefElement', # Webkit only.
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 'MouseEvent.clientX', 316 'MouseEvent.clientX',
318 'MouseEvent.clientY', 317 'MouseEvent.clientY',
319 'MouseEvent.movementX', 318 'MouseEvent.movementX',
320 'MouseEvent.movementY', 319 'MouseEvent.movementY',
321 'MouseEvent.webkitMovementX', 320 'MouseEvent.webkitMovementX',
322 'MouseEvent.webkitMovementY', 321 'MouseEvent.webkitMovementY',
323 'MouseEvent.offsetX', 322 'MouseEvent.offsetX',
324 'MouseEvent.offsetY', 323 'MouseEvent.offsetY',
325 'MouseEvent.screenX', 324 'MouseEvent.screenX',
326 'MouseEvent.screenY', 325 'MouseEvent.screenY',
327 'MutationEvent.initMutationEvent',
328 'MutationObserver.observe', 326 'MutationObserver.observe',
329 'Node.attributes', 327 'Node.attributes',
330 'Node.localName', 328 'Node.localName',
331 'Node.namespaceURI', 329 'Node.namespaceURI',
332 'Node.removeChild', 330 'Node.removeChild',
333 'Node.replaceChild', 331 'Node.replaceChild',
334 'ParentNode.childElementCount', 332 'ParentNode.childElementCount',
335 'ParentNode.children', 333 'ParentNode.children',
336 'ParentNode.firstElementChild', 334 'ParentNode.firstElementChild',
337 'ParentNode.lastElementChild', 335 'ParentNode.lastElementChild',
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 1024
1027 # We're looking for a sequence of letters which start with capital letter 1025 # We're looking for a sequence of letters which start with capital letter
1028 # then a series of caps and finishes with either the end of the string or 1026 # then a series of caps and finishes with either the end of the string or
1029 # a capital letter. 1027 # a capital letter.
1030 # The [0-9] check is for names such as 2D or 3D 1028 # The [0-9] check is for names such as 2D or 3D
1031 # The following test cases should match as: 1029 # The following test cases should match as:
1032 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 1030 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
1033 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 1031 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
1034 # IFrameElement: (I)()(F)rameElement (no change) 1032 # IFrameElement: (I)()(F)rameElement (no change)
1035 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 1033 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name)
OLDNEW
« no previous file with comments | « tools/dom/idl/dart/dart.idl ('k') | tools/dom/templates/html/impl/impl_MutationEvent.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698