Index: sdk/lib/_internal/compiler/implementation/compiler.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart |
index 32c597ff41f99635f8645a7a76c352c1cc8942b3..bec6b3d67a392b719e3546c8a5419640924f1ae9 100644 |
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -505,16 +505,18 @@ abstract class Compiler implements DiagnosticListener { |
bool nativeTest = library.entryCompilationUnit.script.name.contains( |
'dart/tests/compiler/dart2js_native'); |
if (nativeTest |
+ || libraryName == 'dart:html_common' |
|| libraryName == 'dart:mirrors' |
|| libraryName == 'dart:isolate' |
|| libraryName == 'dart:math' |
|| libraryName == 'dart:html' |
- || libraryName == 'dart:html_common' |
+ || libraryName == 'dart:indexed_db' |
|| libraryName == 'dart:svg' |
|| libraryName == 'dart:web_audio') { |
if (nativeTest |
|| libraryName == 'dart:html' |
|| libraryName == 'dart:html_common' |
+ || libraryName == 'dart:indexed_db' |
|| libraryName == 'dart:svg' |
|| libraryName == 'dart:mirrors') { |
// dart:html and dart:svg need access to convertDartClosureToJS and |