| Index: tools/dom/scripts/generator.py
|
| diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
|
| index bc65b11abe8e776891844c9003363c58baea4559..93d11c5d000c993e15b6189c2c63bac6de9380e5 100644
|
| --- a/tools/dom/scripts/generator.py
|
| +++ b/tools/dom/scripts/generator.py
|
| @@ -704,6 +704,12 @@ _speech_recognition_annotations = [
|
| "@Experimental",
|
| ]
|
|
|
| +_web_sql_annotations = [
|
| + "@SupportedBrowser(SupportedBrowser.CHROME)",
|
| + "@SupportedBrowser(SupportedBrowser.SAFARI)",
|
| + "@Experimental",
|
| +]
|
| +
|
| # Annotations to be placed on generated members.
|
| # The table is indexed as:
|
| # INTERFACE: annotations to be added to the interface declaration
|
| @@ -711,6 +717,8 @@ _speech_recognition_annotations = [
|
| dart_annotations = {
|
| 'ArrayBuffer': _all_but_ie9_annotations,
|
| 'ArrayBufferView': _all_but_ie9_annotations,
|
| + 'Database': _web_sql_annotations,
|
| + 'DatabaseSync': _web_sql_annotations,
|
| 'DOMApplicationCache': [
|
| "@SupportedBrowser(SupportedBrowser.CHROME)",
|
| "@SupportedBrowser(SupportedBrowser.FIREFOX)",
|
| @@ -719,6 +727,7 @@ dart_annotations = {
|
| "@SupportedBrowser(SupportedBrowser.SAFARI)",
|
| ],
|
| 'DOMWindow.indexedDB': _indexed_db_annotations,
|
| + 'DOMWindow.openDatabase': _web_sql_annotations,
|
| 'DOMWindow.performance': _performance_annotations,
|
| 'DOMWindow.webkitNotifications': _webkit_experimental_annotations,
|
| 'DOMWindow.webkitRequestFileSystem': _file_system_annotations,
|
| @@ -793,8 +802,12 @@ dart_annotations = {
|
| 'SpeechRecognitionError': _speech_recognition_annotations,
|
| 'SpeechRecognitionEvent': _speech_recognition_annotations,
|
| 'SpeechRecognitionResult': _speech_recognition_annotations,
|
| + 'SQLTransaction': _web_sql_annotations,
|
| + 'SQLTransactionSync': _web_sql_annotations,
|
| 'WebSocket': _all_but_ie9_annotations,
|
| 'WorkerContext.indexedDB': _indexed_db_annotations,
|
| + 'WorkerContext.openDatabase': _web_sql_annotations,
|
| + 'WorkerContext.openDatabaseSync': _web_sql_annotations,
|
| 'WorkerContext.webkitRequestFileSystem': _file_system_annotations,
|
| 'WorkerContext.webkitRequestFileSystemSync': _file_system_annotations,
|
| 'WorkerContext.webkitResolveLocalFileSystemSyncURL': _file_system_annotations,
|
|
|