mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
Use name to sort IDB interfaces into the indexed_db library.
R=antonm@google.com,blois@google.com BUG= Review URL: https://codereview.chromium.org//14014004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21214 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
d7b8047611
commit
9bd8f2db46
1 changed files with 5 additions and 0 deletions
|
@ -704,6 +704,11 @@ class HtmlRenamer(object):
|
|||
if interface.id in _library_names:
|
||||
return _library_names[interface.id]
|
||||
|
||||
# TODO(ager, blois): The conditional has been removed from indexed db,
|
||||
# so we can no longer determine the library based on the conditionals.
|
||||
if interface.id.startswith("IDB"):
|
||||
return 'indexed_db'
|
||||
|
||||
if 'Conditional' in interface.ext_attrs:
|
||||
if 'WEB_AUDIO' in interface.ext_attrs['Conditional']:
|
||||
return 'web_audio'
|
||||
|
|
Loading…
Reference in a new issue