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

Unified Diff: tools/dom/scripts/htmlrenamer.py

Issue 16308002: Fixes for Blink roll to r151189 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: tools/dom/scripts/htmlrenamer.py
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
index b3d7354f22556135e41bb1ce44e1fcad1c1bce4a..4dde5dea184d736438accfc011ce95a6abcdb7fa 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -316,8 +316,6 @@ renamed_html_members = monitored.Dict('htmlrenamer.renamed_html_members', {
'Document.createCDATASection': 'createCDataSection',
'Document.defaultView': 'window',
'Document.querySelector': 'query',
- 'DOMURL.createObjectURL': 'createObjectUrl',
- 'DOMURL.revokeObjectURL': 'revokeObjectUrl',
'DOMWindow.CSS': 'css',
'DOMWindow.clearTimeout': '_clearTimeout',
'DOMWindow.clearInterval': '_clearInterval',
@@ -345,6 +343,8 @@ renamed_html_members = monitored.Dict('htmlrenamer.renamed_html_members', {
'StorageInfo.queryUsageAndQuota': '_queryUsageAndQuota',
'SVGElement.className': '$dom_svgClassName',
'SVGStopElement.offset': 'gradientOffset',
+ 'URL.createObjectURL': 'createObjectUrl',
+ 'URL.revokeObjectURL': 'revokeObjectUrl',
'WheelEvent.wheelDeltaX': '_wheelDeltaX',
'WheelEvent.wheelDeltaY': '_wheelDeltaY',
#'WorkerContext.webkitRequestFileSystem': '_requestFileSystem',
@@ -396,12 +396,10 @@ _removed_html_members = monitored.Set('htmlrenamer._removed_html_members', [
'Document.all',
'Document.applets',
'Document.bgColor',
- 'Document.captureEvents',
'Document.clear',
'Document.createAttribute',
'Document.createAttributeNS',
'Document.createComment',
- 'Document.createEntityReference',
'Document.createExpression',
'Document.createNSResolver',
'Document.createProcessingInstruction',
@@ -433,7 +431,6 @@ _removed_html_members = monitored.Set('htmlrenamer._removed_html_members', [
'Document.linkColor',
'Document.location',
'Document.open',
- 'Document.releaseEvents',
'Document.set:domain',
'Document.vlinkColor',
'Document.webkitCurrentFullScreenElement',
@@ -442,6 +439,7 @@ _removed_html_members = monitored.Set('htmlrenamer._removed_html_members', [
'Document.writeln',
'Document.xmlStandalone',
'Document.xmlVersion',
+ 'DocumentFragment.children',
'DocumentType.*',
'DOMCoreException.code',
'DOMCoreException.ABORT_ERR',
@@ -666,6 +664,10 @@ class HtmlRenamer(object):
"""
interface = self._database.GetInterface(interface_name)
+ if not member:
+ if 'ImplementedAs' in member_node.ext_attrs:
+ member = member_node.ext_attrs['ImplementedAs']
+
if self.ShouldSuppressMember(interface, member, member_prefix):
return None

Powered by Google App Engine
This is Rietveld 408576698