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

Unified Diff: third_party/WebKit/LayoutTests/netinfo/type-change-no-listener.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/type-change-no-listener.html
diff --git a/third_party/WebKit/LayoutTests/netinfo/type-change-no-listener.html b/third_party/WebKit/LayoutTests/netinfo/type-change-no-listener.html
index 8a6b2aa1a7a05a977b6644531b0bfac0cb5d0075..5f6d2924911fd0af5f6127b4a1d440d477dfa3db 100644
--- a/third_party/WebKit/LayoutTests/netinfo/type-change-no-listener.html
+++ b/third_party/WebKit/LayoutTests/netinfo/type-change-no-listener.html
@@ -7,7 +7,7 @@
<script>
description('Tests that the type changes without an active listener');
-internals.setNetworkConnectionInfo(newConnectionType, newDownlinkMax);
+internals.setNetworkConnectionInfoOverride(isTypeOnline(newConnectionType), newConnectionType, newDownlinkMax);
shouldBe('connection.type', 'newConnectionType');
shouldBe('connection.downlinkMax', 'newDownlinkMax');

Powered by Google App Engine
This is Rietveld 408576698