|
@@ -0,0 +1,21 @@
|
|
|
+From: uazo <uazo@users.noreply.github.com>
|
|
|
+Date: Wed, 6 Jul 2022 10:18:16 +0000
|
|
|
+Subject: Remove navigator.connection info
|
|
|
+
|
|
|
+---
|
|
|
+ .../blink/renderer/modules/netinfo/network_information.cc | 1 +
|
|
|
+ 1 file changed, 1 insertion(+)
|
|
|
+
|
|
|
+diff --git a/third_party/blink/renderer/modules/netinfo/network_information.cc b/third_party/blink/renderer/modules/netinfo/network_information.cc
|
|
|
+--- a/third_party/blink/renderer/modules/netinfo/network_information.cc
|
|
|
++++ b/third_party/blink/renderer/modules/netinfo/network_information.cc
|
|
|
+@@ -261,6 +261,7 @@ void NetworkInformation::StopObserving() {
|
|
|
+ const char NetworkInformation::kSupplementName[] = "NetworkInformation";
|
|
|
+
|
|
|
+ NetworkInformation* NetworkInformation::connection(NavigatorBase& navigator) {
|
|
|
++ if ((true)) return nullptr;
|
|
|
+ if (!navigator.GetExecutionContext())
|
|
|
+ return nullptr;
|
|
|
+ NetworkInformation* supplement =
|
|
|
+--
|
|
|
+2.25.1
|