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

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

Issue 26971005: Tighter native type annotations for some elements returning Lists (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/dartmetadata.py
diff --git a/tools/dom/scripts/dartmetadata.py b/tools/dom/scripts/dartmetadata.py
index 928c1ccbd7137c16291db839ea7749e5406ecbec..c25100ac08deb0fd77af7e0c1f3d11a93a1c44c7 100644
--- a/tools/dom/scripts/dartmetadata.py
+++ b/tools/dom/scripts/dartmetadata.py
@@ -83,6 +83,11 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
"@Creates('Null')",
],
+ 'Element.webkitGetRegionFlowRanges': [
+ "@Creates('JSExtendableArray')",
+ "@Returns('JSExtendableArray')",
+ ],
+
"ErrorEvent.error": [
"@Creates('Null')", # Only returns values created elsewhere.
],
@@ -202,6 +207,16 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
"@Returns('int|String|Null')",
],
+ 'MediaStream.getAudioTracks': [
+ "@Creates('JSExtendableArray')",
+ "@Returns('JSExtendableArray')",
+ ],
+
+ 'MediaStream.getVideoTracks': [
+ "@Creates('JSExtendableArray')",
+ "@Returns('JSExtendableArray')",
+ ],
+
'MessageEvent.data': [
"@annotation_Creates_SerializedScriptValue",
"@annotation_Returns_SerializedScriptValue",
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698