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

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 24212)
+++ 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,8 @@
],
'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')",
kasperl 2013/06/21 06:03:55 Lots of long lines.
ngeoffray 2013/06/24 09:47:23 Done.
+ "@Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32List')",
],
'WebGLRenderingContext.getVertexAttrib': [
@@ -283,14 +283,14 @@
'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"
+ "@Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32List"
"|Framebuffer|Renderbuffer|Texture')",
- "@Returns('Null|num|String|bool|=List|Float32List|Int32List|Uint32List"
+ "@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)

Powered by Google App Engine
This is Rietveld 408576698