Index: sdk/lib/_internal/js_runtime/lib/io_patch.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/io_patch.dart b/sdk/lib/_internal/js_runtime/lib/io_patch.dart |
index 792b74ddc4166b6d9ed3db090c0c56a09edb677d..23f4708da2ff1947ca20b0d23ed5c40705ac5efb 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/io_patch.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/io_patch.dart |
@@ -403,12 +403,26 @@ class SecureSocket { |
factory SecureSocket._(RawSecureSocket rawSocket) { |
throw new UnsupportedError("SecureSocket constructor"); |
} |
+} |
+ |
+@patch |
+class SecurityContext { |
+ @patch |
+ factory SecurityContext() { |
+ throw new UnsupportedError("SecurityContext constructor"); |
+ } |
@patch |
- static void initialize({String database, |
- String password, |
- bool useBuiltinRoots: true}) { |
- throw new UnsupportedError("SecureSocket.initialize"); |
+ static SecurityContext get defaultContext { |
+ throw new UnsupportedError("default SecurityContext getter"); |
+ } |
+} |
+ |
+@patch |
+class X509Certificate { |
+ @patch |
+ factory X509Certificate._() { |
+ throw new UnsupportedError("X509Certificate constructor"); |
} |
} |