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

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

Issue 12253011: Reapply remove setInterval. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
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 html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', { 9 html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
10 'CDATASection': 'CDataSection', 10 'CDATASection': 'CDataSection',
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 'CanvasRenderingContext2D.setLineJoin', 235 'CanvasRenderingContext2D.setLineJoin',
236 'CanvasRenderingContext2D.setLineWidth', 236 'CanvasRenderingContext2D.setLineWidth',
237 'CanvasRenderingContext2D.setMiterLimit', 237 'CanvasRenderingContext2D.setMiterLimit',
238 'CanvasRenderingContext2D.setShadow', 238 'CanvasRenderingContext2D.setShadow',
239 'CanvasRenderingContext2D.setStrokeColor', 239 'CanvasRenderingContext2D.setStrokeColor',
240 'CanvasRenderingContext2D.webkitLineDashOffset', 240 'CanvasRenderingContext2D.webkitLineDashOffset',
241 'CharacterData.remove', 241 'CharacterData.remove',
242 'DOMWindow.call:blur', 242 'DOMWindow.call:blur',
243 'DOMWindow.clientInformation', 243 'DOMWindow.clientInformation',
244 'DOMWindow.call:focus', 244 'DOMWindow.call:focus',
245 'DOMWindow.clearTimeout',
246 'DOMWindow.clearInterval',
245 'DOMWindow.get:frames', 247 'DOMWindow.get:frames',
246 'DOMWindow.get:length', 248 'DOMWindow.get:length',
247 'DOMWindow.prompt', 249 'DOMWindow.prompt',
250 'DOMWindow.setTimeout',
251 'DOMWindow.setInterval',
248 'DOMWindow.webkitCancelAnimationFrame', 252 'DOMWindow.webkitCancelAnimationFrame',
249 'DOMWindow.webkitCancelRequestAnimationFrame', 253 'DOMWindow.webkitCancelRequestAnimationFrame',
250 'DOMWindow.webkitIndexedDB', 254 'DOMWindow.webkitIndexedDB',
251 'DOMWindow.webkitRequestAnimationFrame', 255 'DOMWindow.webkitRequestAnimationFrame',
252 'Document.adoptNode', 256 'Document.adoptNode',
253 'Document.alinkColor', 257 'Document.alinkColor',
254 'Document.all', 258 'Document.all',
255 'Document.applets', 259 'Document.applets',
256 'Document.bgColor', 260 'Document.bgColor',
257 'Document.captureEvents', 261 'Document.captureEvents',
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 594
591 # We're looking for a sequence of letters which start with capital letter 595 # We're looking for a sequence of letters which start with capital letter
592 # then a series of caps and finishes with either the end of the string or 596 # then a series of caps and finishes with either the end of the string or
593 # a capital letter. 597 # a capital letter.
594 # The [0-9] check is for names such as 2D or 3D 598 # The [0-9] check is for names such as 2D or 3D
595 # The following test cases should match as: 599 # The following test cases should match as:
596 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue 600 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue
597 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) 601 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change)
598 # IFrameElement: (I)()(F)rameElement (no change) 602 # IFrameElement: (I)()(F)rameElement (no change)
599 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) 603 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name)
OLDNEW
« no previous file with comments | « tests/html/window_open_test.dart ('k') | tools/dom/templates/html/dart2js/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698