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

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

Issue 17301008: Remove =List in JS, use JSExtendableArray instead. (Closed) Base URL: http://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
Index: tools/dom/scripts/dartmetadata.py
===================================================================
--- tools/dom/scripts/dartmetadata.py (revision 24309)
+++ tools/dom/scripts/dartmetadata.py (working copy)
@@ -198,7 +198,7 @@
"@Returns('int|String|Null')",
],
- 'MessageEvent.ports': ["@Creates('=List')"],
+ 'MessageEvent.ports': ["@Creates('JSExtendableArray')"],
'MessageEvent.data': [
"@annotation_Creates_SerializedScriptValue",
@@ -271,8 +271,10 @@
],
'WebGLRenderingContext.getUniform': [
- "@Creates('Null|num|String|bool|=List|Float32List|Int32List|Uint32List')",
- "@Returns('Null|num|String|bool|=List|Float32List|Int32List|Uint32List')",
+ "@Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List"
+ "|Uint32List')",
+ "@Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List"
+ "|Uint32List')",
],
'WebGLRenderingContext.getVertexAttrib': [
@@ -283,14 +285,15 @@
'WebGLRenderingContext.getParameter': [
# Taken from http://www.khronos.org/registry/webgl/specs/latest/
# Section 5.14.3 Setting and getting state
- "@Creates('Null|num|String|bool|=List|Float32List|Int32List|Uint32List"
- "|Framebuffer|Renderbuffer|Texture')",
- "@Returns('Null|num|String|bool|=List|Float32List|Int32List|Uint32List"
- "|Framebuffer|Renderbuffer|Texture')",
+ "@Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List"
+ "|Uint32List|Framebuffer|Renderbuffer|Texture')",
+ "@Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List"
+ "|Uint32List|Framebuffer|Renderbuffer|Texture')",
],
'XMLHttpRequest.response': [
- "@Creates('ByteBuffer|Blob|Document|=Object|=List|String|num')",
+ "@Creates('ByteBuffer|Blob|Document|=Object|JSExtendableArray|String"
+ "|num')",
],
}, dart2jsOnly=True)
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | tools/dom/templates/html/dart2js/html_dart2js.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698