| Index: tools/dom/scripts/htmlrenamer.py
|
| diff --git a/tools/dom/scripts/htmlrenamer.py b/tools/dom/scripts/htmlrenamer.py
|
| index 0a50914a2c5c9fbdc3f0c6eb3d9c06c8893ae1f3..c312a9f5226c897b95ac914483a3f43033a9b265 100644
|
| --- a/tools/dom/scripts/htmlrenamer.py
|
| +++ b/tools/dom/scripts/htmlrenamer.py
|
| @@ -9,6 +9,8 @@ import re
|
| html_interface_renames = monitored.Dict('htmlrenamer.html_interface_renames', {
|
| 'CDATASection': 'CDataSection',
|
| 'Clipboard': 'DataTransfer',
|
| + 'Database': 'SqlDatabase', # Avoid conflict with Index DB's Database.
|
| + 'DatabaseSync': 'SqlDatabaseSync',
|
| 'DOMApplicationCache': 'ApplicationCache',
|
| 'DOMCoreException': 'DomException',
|
| 'DOMFileSystem': 'FileSystem',
|
| @@ -574,6 +576,10 @@ class HtmlRenamer(object):
|
| return 'svg'
|
| if 'INDEXED_DATABASE' in interface.ext_attrs['Conditional']:
|
| return 'indexed_db'
|
| + if 'SQL_DATABASE' in interface.ext_attrs['Conditional']:
|
| + # WorkerContext has attributes merged in from many other interfaces.
|
| + if interface.id != 'WorkerContext':
|
| + return 'web_sql'
|
|
|
| return 'html'
|
|
|
|
|