[DevTools] Clear network overrides on Network.disable
This clears network overrides for throttling and offline when InspectorNetworkAgent is closed in order to prevent navigator.onLine from returning "false" after DevTools is closed. This unifies the behavior we currently have for individual requests when we set offline because individual requests aren't throttled after DevTools is closed because we stop setting a throttling profile id on requests because an InspectorNetworkAgent instance is required to set the id. Bug: 972337 Change-Id: I83dee7147314f54441cd335565bc872a64a3ac3f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1652800 Commit-Queue: Joey Arhar <jarhar@chromium.org> Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#681089}
Showing
Please register or sign in to comment