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

Unified Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Issue 12180023: "Reverting 18090" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
diff --git a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
index 92f1624b98444e2a67adfaf65a17f1110234c491..fdc5c72c1bf12681cab02e6545db0b1dd42e6e4d 100644
--- a/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
+++ b/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart
@@ -170,8 +170,6 @@ class Cursor native "*IDBCursor" {
@DocsEditable
Request delete() native;
- @DomName('IDBCursor.update')
- @DocsEditable
Request update(/*any*/ value) {
var value_1 = convertDartToNative_SerializedScriptValue(value);
return _update_1(value_1);
@@ -267,8 +265,6 @@ class Database extends EventTarget native "*IDBDatabase" {
@DocsEditable
void close() native;
- @DomName('IDBDatabase.createObjectStore')
- @DocsEditable
ObjectStore createObjectStore(String name, [Map options]) {
if (?options) {
var options_1 = convertDartToNative_Dictionary(options);
@@ -363,13 +359,9 @@ class IdbFactory native "*IDBFactory" {
@Creates('Database')
OpenDBRequest open(String name, [int version]) native;
- @JSName('webkitGetDatabaseNames')
@DomName('IDBFactory.webkitGetDatabaseNames')
@DocsEditable
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental
- Request getDatabaseNames() native;
+ Request webkitGetDatabaseNames() native;
}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
@@ -528,11 +520,6 @@ class ObjectStore native "*IDBObjectStore" {
@DocsEditable
final Transaction transaction;
- @DomName('IDBObjectStore.add')
- @DocsEditable
- @Returns('Request')
- @Creates('Request')
- @_annotation_Creates_IDBKey
Request add(/*any*/ value, [/*any*/ key]) {
if (?key) {
var value_1 = convertDartToNative_SerializedScriptValue(value);
@@ -565,8 +552,6 @@ class ObjectStore native "*IDBObjectStore" {
@DocsEditable
Request count([key_OR_range]) native;
- @DomName('IDBObjectStore.createIndex')
- @DocsEditable
Index createIndex(String name, keyPath, [Map options]) {
if ((keyPath is List<String> || keyPath == null) && !?options) {
return _createIndex_1(name, keyPath);
@@ -628,11 +613,6 @@ class ObjectStore native "*IDBObjectStore" {
@Creates('Cursor')
Request openCursor([key_OR_range, String direction]) native;
- @DomName('IDBObjectStore.put')
- @DocsEditable
- @Returns('Request')
- @Creates('Request')
- @_annotation_Creates_IDBKey
Request put(/*any*/ value, [/*any*/ key]) {
if (?key) {
var value_1 = convertDartToNative_SerializedScriptValue(value);
@@ -748,13 +728,9 @@ class Request extends EventTarget native "*IDBRequest" {
@DocsEditable
final Transaction transaction;
- @JSName('webkitErrorMessage')
@DomName('IDBRequest.webkitErrorMessage')
@DocsEditable
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental
- final String errorMessage;
+ final String webkitErrorMessage;
@JSName('addEventListener')
@DomName('IDBRequest.addEventListener')
@@ -830,13 +806,9 @@ class Transaction extends EventTarget native "*IDBTransaction" {
@DocsEditable
final String mode;
- @JSName('webkitErrorMessage')
@DomName('IDBTransaction.webkitErrorMessage')
@DocsEditable
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.SAFARI)
- @Experimental
- final String errorMessage;
+ final String webkitErrorMessage;
@DomName('IDBTransaction.abort')
@DocsEditable
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698