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

Side by Side Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Issue 11679007: Adding support checks for partially supported element types and updating tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removing duplicated contentelement_test. Created 7 years, 12 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 | Annotate | Revision Log
OLDNEW
1 library indexed_db; 1 library indexed_db;
2 2
3 import 'dart:html'; 3 import 'dart:html';
4 import 'dart:html_common'; 4 import 'dart:html_common';
5 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6 // for details. All rights reserved. Use of this source code is governed by a 6 // for details. All rights reserved. Use of this source code is governed by a
7 // BSD-style license that can be found in the LICENSE file. 7 // BSD-style license that can be found in the LICENSE file.
8 8
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated dart:svg library. 10 // Auto-generated dart:svg library.
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 /// @docsEditable true 275 /// @docsEditable true
276 EventListenerList get versionChange => this['versionchange']; 276 EventListenerList get versionChange => this['versionchange'];
277 } 277 }
278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
279 // for details. All rights reserved. Use of this source code is governed by a 279 // for details. All rights reserved. Use of this source code is governed by a
280 // BSD-style license that can be found in the LICENSE file. 280 // BSD-style license that can be found in the LICENSE file.
281 281
282 282
283 /// @domName IDBFactory 283 /// @domName IDBFactory
284 @SupportedBrowser(SupportedBrowser.CHROME, '23.0') 284 @SupportedBrowser(SupportedBrowser.CHROME)
285 @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0') 285 @SupportedBrowser(SupportedBrowser.FIREFOX, '15')
286 @SupportedBrowser(SupportedBrowser.IE, '10.0') 286 @SupportedBrowser(SupportedBrowser.IE, '10')
287 @Experimental() 287 @Experimental()
288 class IdbFactory native "*IDBFactory" { 288 class IdbFactory native "*IDBFactory" {
289 /** 289 /**
290 * Checks to see if Indexed DB is supported on the current platform. 290 * Checks to see if Indexed DB is supported on the current platform.
291 */ 291 */
292 static bool get supported { 292 static bool get supported {
293 return JS('bool', 293 return JS('bool',
294 '!!(window.indexedDB || ' 294 '!!(window.indexedDB || '
295 'window.webkitIndexedDB || ' 295 'window.webkitIndexedDB || '
296 'window.mozIndexedDB)'); 296 'window.mozIndexedDB)');
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 EventListenerList get blocked => this['blocked']; 972 EventListenerList get blocked => this['blocked'];
973 } 973 }
974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
975 // for details. All rights reserved. Use of this source code is governed by a 975 // for details. All rights reserved. Use of this source code is governed by a
976 // BSD-style license that can be found in the LICENSE file. 976 // BSD-style license that can be found in the LICENSE file.
977 977
978 978
979 /// @domName IDBAny; @docsEditable true 979 /// @domName IDBAny; @docsEditable true
980 class _Any native "*IDBAny" { 980 class _Any native "*IDBAny" {
981 } 981 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698