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

Unified Diff: sdk/lib/html/scripts/htmlrenamer.py

Issue 11348111: Adding support for accessing attributes in alternate namespaces. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 years, 1 month 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/html/src/AttributeMap.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/scripts/htmlrenamer.py
diff --git a/sdk/lib/html/scripts/htmlrenamer.py b/sdk/lib/html/scripts/htmlrenamer.py
index 2f26d06702cc179b48dbffa11a58ad642506ff6d..74d135d04479d492907f6f2cbed6b448defa9564 100644
--- a/sdk/lib/html/scripts/htmlrenamer.py
+++ b/sdk/lib/html/scripts/htmlrenamer.py
@@ -75,14 +75,18 @@ _private_html_members = set([
'Element.className',
'Element.firstElementChild',
'Element.getAttribute',
+ 'Element.getAttributeNS',
'Element.getElementsByClassName',
'Element.getElementsByTagName',
'Element.hasAttribute',
+ 'Element.hasAttributeNS',
'Element.lastElementChild',
'Element.querySelector',
'Element.querySelectorAll',
'Element.removeAttribute',
+ 'Element.removeAttributeNS',
'Element.setAttribute',
+ 'Element.setAttributeNS',
'Event.initEvent',
'EventTarget.addEventListener',
'EventTarget.dispatchEvent',
@@ -94,6 +98,8 @@ _private_html_members = set([
'Node.childNodes',
'Node.firstChild',
'Node.lastChild',
+ "Node.localName",
+ 'Node.namespaceURI',
'Node.removeChild',
'Node.replaceChild',
'ShadowRoot.getElementById',
@@ -191,15 +197,11 @@ _removed_html_members = set([
'Document.webkitCurrentFullScreenElement',
'Document.webkitFullScreenKeyboardInputAllowed',
"DocumentType.*",
- "Element.hasAttributeNS",
- "Element.getAttributeNS",
"Element.setAttributeNode",
"Element.getAttributeNode",
"Element.removeAttributeNode",
- "Element.removeAttributeNS",
"Element.setAttributeNodeNS",
"Element.getAttributeNodeNS",
- "Element.setAttributeNS",
"Event.srcElement",
"BodyElement.text",
"AnchorElement.text",
@@ -260,9 +262,7 @@ _removed_html_members = set([
"Node.get:DOCUMENT_POSITION_FOLLOWING",
"Node.lookupNamespaceURI",
"Node.get:ELEMENT_NODE",
- "Node.get:namespaceURI",
"Node.get:DOCUMENT_FRAGMENT_NODE",
- "Node.get:localName",
"Node.isDefaultNamespace",
"Node.compareDocumentPosition",
"Node.get:baseURI",
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/html/src/AttributeMap.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698