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

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

Issue 23454012: Adding conversion support for JSON XHR requests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/xhr_test.dart ('k') | tools/dom/src/dart2js_Conversions.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/generator.py
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
index 1a0580b8248acc50af595959fa79c62ad82b78aa..1de4ede9fc4924e1c0cc1b6854f73273e0aa158c 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -588,6 +588,10 @@ dart2js_conversions = monitored.Dict('generator.dart2js_conversions', {
# Should be either a DOMString, an Array of DOMStrings or null.
'IDBAny get IDBObjectStore.keyPath': None,
+
+ '* get XMLHttpRequest.response':
+ Conversion('_convertNativeToDart_XHR_Response',
+ 'dynamic', 'dynamic'),
}, dart2jsOnly=True)
def FindConversion(idl_type, direction, interface, member):
« no previous file with comments | « tests/html/xhr_test.dart ('k') | tools/dom/src/dart2js_Conversions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698