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

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

Issue 23534024: createRange.... (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
« no previous file with comments | « tests/html/safe_dom_test.dart ('k') | tools/dom/src/AttributeMap.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/htmlrenamer.py
diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
index 6834f8e0f250e69ae53696510d4f1da2662950c9..a6357819697d4d1b59664116a5c078b16ebcc72c 100644
--- a/tools/dom/scripts/htmlrenamer.py
+++ b/tools/dom/scripts/htmlrenamer.py
@@ -159,14 +159,8 @@ convert_to_future_members = monitored.Set(
dom_private_html_members = monitored.Set('htmlrenamer.private_html_members', [
'Document.createElement',
'Document.createElementNS',
- 'Document.createRange',
- 'Element.getAttribute',
- 'Element.getAttributeNS',
- 'Element.setAttribute',
- 'Element.setAttributeNS',
'EventTarget.addEventListener',
'EventTarget.removeEventListener',
- 'Node.childNodes',
])
# Members from the standard dom that should not be exposed publicly in dart:html
@@ -219,6 +213,10 @@ private_html_members = monitored.Set('htmlrenamer.private_html_members', [
'Element.childElementCount',
'Element.firstElementChild',
'Element.getElementsByTagName',
+ 'Element.getAttribute',
+ 'Element.getAttributeNS',
+ 'Element.setAttribute',
+ 'Element.setAttributeNS',
'Element.scrollIntoView',
'Element.scrollIntoViewIfNeeded',
'Element.removeAttribute',
@@ -279,6 +277,7 @@ private_html_members = monitored.Set('htmlrenamer.private_html_members', [
'MutationEvent.initMutationEvent',
'MutationObserver.observe',
'Node.attributes',
+ 'Node.childNodes',
'Node.localName',
'Node.namespaceURI',
'Node.removeChild',
« no previous file with comments | « tests/html/safe_dom_test.dart ('k') | tools/dom/src/AttributeMap.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698