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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 'CanvasRenderingContext2D.setLineCap', | 556 'CanvasRenderingContext2D.setLineCap', |
557 'CanvasRenderingContext2D.setLineJoin', | 557 'CanvasRenderingContext2D.setLineJoin', |
558 'CanvasRenderingContext2D.setLineWidth', | 558 'CanvasRenderingContext2D.setLineWidth', |
559 'CanvasRenderingContext2D.setMiterLimit', | 559 'CanvasRenderingContext2D.setMiterLimit', |
560 'CanvasRenderingContext2D.setShadow', | 560 'CanvasRenderingContext2D.setShadow', |
561 'CanvasRenderingContext2D.setStrokeColor', | 561 'CanvasRenderingContext2D.setStrokeColor', |
562 # Disable the webKit version, imageSmoothingEnabled is exposed. | 562 # Disable the webKit version, imageSmoothingEnabled is exposed. |
563 'CanvasRenderingContext2D.webkitImageSmoothingEnabled', | 563 'CanvasRenderingContext2D.webkitImageSmoothingEnabled', |
564 'CharacterData.remove', | 564 'CharacterData.remove', |
565 'ChildNode.replaceWith', | 565 'ChildNode.replaceWith', |
| 566 'CSSStyleDeclaration.__getter__', |
| 567 'CSSStyleDeclaration.__setter__', |
566 'Window.call:blur', | 568 'Window.call:blur', |
567 'Window.call:focus', | 569 'Window.call:focus', |
568 'Window.clientInformation', | 570 'Window.clientInformation', |
569 'Window.createImageBitmap', | 571 'Window.createImageBitmap', |
570 'Window.get:frames', | 572 'Window.get:frames', |
571 'Window.get:length', | 573 'Window.get:length', |
572 'Window.on:beforeUnload', | 574 'Window.on:beforeUnload', |
573 'Window.on:webkitTransitionEnd', | 575 'Window.on:webkitTransitionEnd', |
574 'Window.pagePopupController', | 576 'Window.pagePopupController', |
575 'Window.prompt', | 577 'Window.prompt', |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 'Node.lookupNamespaceURI', | 823 'Node.lookupNamespaceURI', |
822 'Node.lookupPrefix', | 824 'Node.lookupPrefix', |
823 'Node.normalize', | 825 'Node.normalize', |
824 'Node.set:nodeValue', | 826 'Node.set:nodeValue', |
825 'NodeFilter.acceptNode', | 827 'NodeFilter.acceptNode', |
826 'NodeIterator.expandEntityReferences', | 828 'NodeIterator.expandEntityReferences', |
827 'NodeIterator.filter', | 829 'NodeIterator.filter', |
828 'NodeList.item', | 830 'NodeList.item', |
829 'ParentNode.append', | 831 'ParentNode.append', |
830 'ParentNode.prepend', | 832 'ParentNode.prepend', |
| 833 'ServiceWorkerMessageEvent.data', |
831 'ShadowRoot.getElementsByTagNameNS', | 834 'ShadowRoot.getElementsByTagNameNS', |
832 'SVGElement.getPresentationAttribute', | 835 'SVGElement.getPresentationAttribute', |
833 'SVGElementInstance.on:wheel', | 836 'SVGElementInstance.on:wheel', |
834 'Touch.get:webkitRadiusX', | 837 'Touch.get:webkitRadiusX', |
835 'Touch.get:webkitRadiusY', | 838 'Touch.get:webkitRadiusY', |
836 'Touch.get:webkitForce', | 839 'Touch.get:webkitForce', |
837 'Touch.get:webkitRotationAngle', | 840 'Touch.get:webkitRotationAngle', |
838 'WheelEvent.wheelDelta', | 841 'WheelEvent.wheelDelta', |
839 'WheelEvent.wheelDeltaX', | 842 'WheelEvent.wheelDeltaX', |
840 'WheelEvent.wheelDeltaY', | 843 'WheelEvent.wheelDeltaY', |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 | 1058 |
1056 # We're looking for a sequence of letters which start with capital letter | 1059 # We're looking for a sequence of letters which start with capital letter |
1057 # then a series of caps and finishes with either the end of the string or | 1060 # then a series of caps and finishes with either the end of the string or |
1058 # a capital letter. | 1061 # a capital letter. |
1059 # The [0-9] check is for names such as 2D or 3D | 1062 # The [0-9] check is for names such as 2D or 3D |
1060 # The following test cases should match as: | 1063 # The following test cases should match as: |
1061 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 1064 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
1062 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 1065 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
1063 # IFrameElement: (I)()(F)rameElement (no change) | 1066 # IFrameElement: (I)()(F)rameElement (no change) |
1064 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 1067 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
OLD | NEW |