d52475c166
The WebSql was dropped 5+ years ago and this library is unsupported. This change adds the `@deprecated` annotation on the library and APIs in dart:html that expose it (`window.openDatabase`). It also indicates to dartdoc to skip it for the api.dart.dev site. I run a `pub_crawl` process to verify that this is not in use. I checked 15K packages, and only found 2 occurrances of an import to this library: * One in a package marked as discontinued (used for migrating constants back in Dart 2) * Another in an example mock test (generated by mockito for mocking dart:html) Also no library uses `window.openDatabase` either. We will send a breaking change announcement soon and plan to delete this in a future Dart release (possibly 2.15). Fixes https://github.com/dart-lang/sdk/issues/45687 Fixes https://github.com/dart-lang/sdk/issues/45688 Change-Id: I8cd2bfa0ce64892c3f108bd6e24b8a0a3ec7c6ed Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196461 Reviewed-by: Srujan Gaddam <srujzs@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
// DO NOT EDIT - unless you are editing documentation as per:
|
|
// https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
|
|
// Auto-generated dart:audio library.
|
|
|
|
/**
|
|
* An API for storing data in the browser that can be queried with SQL.
|
|
*
|
|
* **Caution:** this specification is no longer actively maintained by the Web
|
|
* Applications Working Group and may be removed at any time.
|
|
* See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase/)
|
|
* for more information.
|
|
*
|
|
* The [dart:indexed_db] APIs is a recommended alternatives.
|
|
*
|
|
* {@category Web}
|
|
* {@nodoc}
|
|
*/
|
|
@deprecated
|
|
library dart.dom.web_sql;
|
|
|
|
import 'dart:async';
|
|
import 'dart:collection' hide LinkedList, LinkedListEntry;
|
|
import 'dart:_internal' show FixedLengthListMixin;
|
|
import 'dart:html';
|
|
import 'dart:html_common';
|
|
import 'dart:_js_helper' show applyExtension, convertDartClosureToJS, Creates,
|
|
JSName, Native, JavaScriptIndexingBehavior, Returns;
|
|
import 'dart:_foreign_helper' show JS;
|
|
import 'dart:_interceptors' show Interceptor;
|
|
|
|
$!GENERATED_DART_FILES
|