I'm experiencing an intermittent issue where the network data provided to the settings page does not reflect the actual network state. This has included
(1) mobile data appearing to be connected to a host in the cr-network-icon and subtext in the network-summary-item even when the Chromebook is not connected to the internet,
(2) mobile data appearing to be off when it is on,
(3) Wi-Fi appearing to be off when it is connected.
In all these cases, when I open a new settings window, it has the correct information.
Also, this issue came to light in the midst of a CL that refactors the MultiDevice instant tethering item so that, instead of wrapping a network-summary-item, it uses MultiDevice settings infrastructure (the issue appeared both in my local branch and in HEAD, so it was not caused by the refactor). In the CL, both the multidevice-tether-item and network-summary-item are missing network updates in tandem.
However, as a result of the refactor, the lowest common points in the flow that passes network updates to multidevice-tether-item and network-summary-item to listen to network changes is the CrNetworkListenerBehavior which is the top of JavaScript data flow, so the issue seems to be with the C++ code.