[Networking] Fix Closure errors in misc networking files.
Most fixes are simply ensuring that values are not undefined or null. The most significant change is correctly grabbing the 'scanning' state of the cellular DeviceState by way of injecting it into network-list and then network-list-item (instead of shoving it into the NetworkStateProperties). The change ensures that internet-subpage also injects its DeviceState, which happens to fix crbug.com/1049775. Tested by building webui_closure_compile with this CL based on top of crrev.com/c/2006413, and manually testing with networking Settings UI. Fixed: 1047850, 1049775 Change-Id: I370ae812430f31b7b856748c58f9f213014ecb88 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040212Reviewed-by:Azeem Arshad <azeemarshad@chromium.org> Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#739204}
Showing
Please register or sign in to comment