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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 'UIEvent.initUIEvent', | 399 'UIEvent.initUIEvent', |
400 'UIEvent.layerX', | 400 'UIEvent.layerX', |
401 'UIEvent.layerY', | 401 'UIEvent.layerY', |
402 'UIEvent.pageX', | 402 'UIEvent.pageX', |
403 'UIEvent.pageY', | 403 'UIEvent.pageY', |
404 'UIEvent.which', | 404 'UIEvent.which', |
405 'KeyboardEvent.charCode', | 405 'KeyboardEvent.charCode', |
406 'KeyboardEvent.keyCode', | 406 'KeyboardEvent.keyCode', |
407 'KeyboardEvent.which', | 407 'KeyboardEvent.which', |
408 | 408 |
| 409 'WebGLRenderingContext.readPixels', |
| 410 'WebGL2RenderingContext.readPixels', |
409 'WheelEvent.initWebKitWheelEvent', | 411 'WheelEvent.initWebKitWheelEvent', |
410 'WheelEvent.deltaX', | 412 'WheelEvent.deltaX', |
411 'WheelEvent.deltaY', | 413 'WheelEvent.deltaY', |
412 'WorkerGlobalScope.webkitNotifications', | 414 'WorkerGlobalScope.webkitNotifications', |
413 'Window.getComputedStyle', | 415 'Window.getComputedStyle', |
414 'Window.clearInterval', | 416 'Window.clearInterval', |
415 'Window.clearTimeout', | 417 'Window.clearTimeout', |
416 # TODO(tll): These have been converted from int to double in Chrome 39 for | 418 # TODO(tll): These have been converted from int to double in Chrome 39 for |
417 # subpixel precision. Special case for backward compatibility. | 419 # subpixel precision. Special case for backward compatibility. |
418 'Window.scrollX', | 420 'Window.scrollX', |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 | 1103 |
1102 # We're looking for a sequence of letters which start with capital letter | 1104 # We're looking for a sequence of letters which start with capital letter |
1103 # then a series of caps and finishes with either the end of the string or | 1105 # then a series of caps and finishes with either the end of the string or |
1104 # a capital letter. | 1106 # a capital letter. |
1105 # The [0-9] check is for names such as 2D or 3D | 1107 # The [0-9] check is for names such as 2D or 3D |
1106 # The following test cases should match as: | 1108 # The following test cases should match as: |
1107 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 1109 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
1108 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 1110 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
1109 # IFrameElement: (I)()(F)rameElement (no change) | 1111 # IFrameElement: (I)()(F)rameElement (no change) |
1110 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 1112 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
OLD | NEW |