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

Side by Side Diff: sdk/lib/web_sql/dartium/web_sql_dartium.dart

Issue 1383903002: wrap_jso should wrap JsArray as well, not always call wrap on its contents (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « sdk/lib/js/dartium/js_dartium.dart ('k') | tests/html/html.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * An API for storing data in the browser that can be queried with SQL. 2 * An API for storing data in the browser that can be queried with SQL.
3 * 3 *
4 * **Caution:** this specification is no longer actively maintained by the Web 4 * **Caution:** this specification is no longer actively maintained by the Web
5 * Applications Working Group and may be removed at any time. 5 * Applications Working Group and may be removed at any time.
6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /) 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase /)
7 * for more information. 7 * for more information.
8 * 8 *
9 * The [dart:indexed_db] APIs is a recommended alternatives. 9 * The [dart:indexed_db] APIs is a recommended alternatives.
10 */ 10 */
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 return new SqlTransaction.internal_(); 405 return new SqlTransaction.internal_();
406 } 406 }
407 407
408 SqlTransaction.internal_() { } 408 SqlTransaction.internal_() { }
409 409
410 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other); 410 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical( this, other);
411 int get hashCode => unwrap_jso(this).hashCode; 411 int get hashCode => unwrap_jso(this).hashCode;
412 412
413 @DomName('SQLTransaction.executeSql') 413 @DomName('SQLTransaction.executeSql')
414 @DocsEditable() 414 @DocsEditable()
415 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall back callback, SqlStatementErrorCallback errorCallback]) => _blink.BlinkSQLTrans action.instance.executeSql_Callback_4_(unwrap_jso(this), sqlStatement, arguments , unwrap_jso((transaction, resultSet) => callback(wrap_jso(transaction), wrap_js o(resultSet))), unwrap_jso((transaction, error) => errorCallback(wrap_jso(transa ction), wrap_jso(error)))); 415 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall back callback, SqlStatementErrorCallback errorCallback]) => _blink.BlinkSQLTrans action.instance.executeSql_Callback_4_(unwrap_jso(this), sqlStatement, unwrap_js o(arguments), unwrap_jso((transaction, resultSet) => callback(wrap_jso(transacti on), wrap_jso(resultSet))), unwrap_jso((transaction, error) => errorCallback(wra p_jso(transaction), wrap_jso(error))));
416 416
417 } 417 }
OLDNEW
« no previous file with comments | « sdk/lib/js/dartium/js_dartium.dart ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698