Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html

Issue 2087293003: [DevTools] Network.emulateNetworkConditions now affects NetworkStateNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html
diff --git a/third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html b/third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html
index 7325f8827ef799baa3e5f50352c90bdbc75eaa07..d5124dd701eec278dc1331a6979c96ed05f0c145 100644
--- a/third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html
+++ b/third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html
@@ -23,11 +23,11 @@ var handler = function(e) {
shouldBe('connection.downlinkMax', 'newDownlinkMax');
connection.removeEventListener('change', handler);
connection.addEventListener('change', otherHandler);
- internals.setNetworkConnectionInfo(initialType, initialDownlinkMax);
+ internals.setNetworkConnectionInfoOverride(isTypeOnline(initialType), initialType, initialDownlinkMax);
};
connection.addEventListener('change', handler);
-internals.setNetworkConnectionInfo(newConnectionType, newDownlinkMax);
+internals.setNetworkConnectionInfoOverride(isTypeOnline(newConnectionType), newConnectionType, newDownlinkMax);
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698