| Index: Source/bindings/dart/DartAsyncLoader.cpp
|
| diff --git a/Source/bindings/dart/DartAsyncLoader.cpp b/Source/bindings/dart/DartAsyncLoader.cpp
|
| index becb391fc9eba35e7e68caf90b97e9a7e5a27d1f..9e5f45dbeec7862caa6aeb90ace7837f7335c724 100644
|
| --- a/Source/bindings/dart/DartAsyncLoader.cpp
|
| +++ b/Source/bindings/dart/DartAsyncLoader.cpp
|
| @@ -32,6 +32,7 @@
|
|
|
| #include "FetchInitiatorTypeNames.h"
|
| #include "bindings/dart/DartApplicationLoader.h"
|
| +#include "bindings/dart/DartNativeExtensions.h"
|
| #include "bindings/dart/DartUtilities.h"
|
| #include "bindings/v8/ScriptSourceCode.h"
|
| #include "core/dom/Document.h"
|
| @@ -330,6 +331,9 @@ Dart_Handle DartAsyncLoader::libraryTagHandlerCallback(Dart_LibraryTag tag, Dart
|
| if (tag == Dart_kImportTag) {
|
| if (loader->m_pendingLibraries.contains(url))
|
| return Dart_True();
|
| + if (url.startsWith("dart-ext:")) {
|
| + return DartNativeExtensions::loadExtension(url, library);
|
| + }
|
| loader->m_pendingLibraries.add(url);
|
| } else if (tag == Dart_kSourceTag) {
|
| Dart_PersistentHandle importer = Dart_NewPersistentHandle(library);
|
|
|