Index: runtime/bin/extensions.cc |
diff --git a/runtime/bin/extensions.cc b/runtime/bin/extensions.cc |
index f4b921f9cac63061f02690eccd686ef2d439b2fb..d319ce771c1d0d85155d0f960c85911321943c81 100644 |
--- a/runtime/bin/extensions.cc |
+++ b/runtime/bin/extensions.cc |
@@ -19,11 +19,6 @@ namespace bin { |
Dart_Handle Extensions::LoadExtension(const char* extension_directory, |
const char* extension_name, |
Dart_Handle parent_library) { |
- if (strncmp(extension_directory, "http://", 7) == 0 || |
- strncmp(extension_directory, "https://", 8) == 0) { |
- return Dart_NewApiError("Cannot load native extensions over http:"); |
- } |
- |
// For example on Linux: directory/libfoo-arm.so |
const char* library_strings[] = { |
extension_directory, // directory/ |