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 dc4200b274b662e2f9a085a441aa9466e950bcce..f357463e4984603bfcee96f4a54b1e184dfb05f8 100644 |
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -504,16 +504,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 |