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

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: Minor cleanup 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
Index: sdk/lib/html/scripts/htmlrenamer.py
diff --git a/sdk/lib/html/scripts/htmlrenamer.py b/sdk/lib/html/scripts/htmlrenamer.py
index c513e494a976bd4db63ed5a3de0973a95c17ebc1..8fd9f0d6f5bccd44b0cefa9c1fcef36731dbe24c 100644
--- a/sdk/lib/html/scripts/htmlrenamer.py
+++ b/sdk/lib/html/scripts/htmlrenamer.py
@@ -71,14 +71,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',
@@ -90,6 +94,8 @@ _private_html_members = set([
'Node.childNodes',
'Node.firstChild',
'Node.lastChild',
+ "Node.localName",
+ 'Node.namespaceURI',
'Node.removeChild',
'Node.replaceChild',
'ShadowRoot.getElementById',
@@ -187,15 +193,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",
@@ -256,9 +258,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",

Powered by Google App Engine
This is Rietveld 408576698