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

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

Issue 18577002: Reapply expanding overloaded functions into separate functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | « tools/dom/scripts/monitored.py ('k') | tools/dom/templates/html/dart2js/impl_URL.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemhtml.py
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
index 6b28149f3889a483019851ff9fa400770441e498..47666a26a317c9c6e70137b720403ec4ca7ea4c7 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -58,6 +58,9 @@ _js_custom_members = monitored.Set('systemhtml._js_custom_members', [
'DOMException.name',
'HTMLTableElement.createTBody',
'IDBDatabase.transaction',
+ 'IDBDatabase.transactionList',
+ 'IDBDatabase.transactionStore',
+ 'IDBDatabase.transactionStores',
'KeyboardEvent.initKeyboardEvent',
'Location.origin',
'MouseEvent.offsetX',
@@ -66,6 +69,9 @@ _js_custom_members = monitored.Set('systemhtml._js_custom_members', [
'Navigator.webkitGetUserMedia',
'ScriptProcessorNode._setEventListener',
'URL.createObjectURL',
+ 'URL.createObjectUrlFromSource',
+ 'URL.createObjectUrlFromStream',
+ 'URL.createObjectUrlFromBlob',
'URL.revokeObjectURL',
'WebGLRenderingContext.texImage2D',
'WebGLRenderingContext.texSubImage2D',
@@ -962,7 +968,8 @@ class Dart2JSBackend(HtmlDartGenerator):
def GenerateCall(
stmts_emitter, call_emitter, version, operation, argument_count):
- target = '_%s_%d' % (html_name, version);
+ target = '_%s_%d' % (
+ html_name[1:] if html_name.startswith('_') else html_name, version);
arguments = []
target_parameters = []
for position, arg in enumerate(operation.arguments[:argument_count]):
« no previous file with comments | « tools/dom/scripts/monitored.py ('k') | tools/dom/templates/html/dart2js/impl_URL.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698