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

Unified Diff: third_party/WebKit/Source/devtools/front_end/Tests.js

Issue 2915883002: DevTools: prepare to unify Network and CPU throttling UI (Closed)
Patch Set: gs Created 3 years, 7 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/Source/devtools/front_end/Tests.js
diff --git a/third_party/WebKit/Source/devtools/front_end/Tests.js b/third_party/WebKit/Source/devtools/front_end/Tests.js
index 69f72fd364e757d38ee2fec73e93329e2fb22266..5ce03ead07ccc674cce36612aa89ce1bbdea37c6 100644
--- a/third_party/WebKit/Source/devtools/front_end/Tests.js
+++ b/third_party/WebKit/Source/devtools/front_end/Tests.js
@@ -697,19 +697,19 @@
function step1() {
testPreset(
- NetworkConditions.NetworkConditionsSelector.presets[0],
+ MobileThrottling.NetworkConditionsSelector.presets[0],
['offline event: online = false', 'connection change event: type = none; downlinkMax = 0'], step2);
}
function step2() {
testPreset(
- NetworkConditions.NetworkConditionsSelector.presets[1],
+ MobileThrottling.NetworkConditionsSelector.presets[1],
['online event: online = true', 'connection change event: type = cellular; downlinkMax = 0.390625'], step3);
}
function step3() {
testPreset(
- NetworkConditions.NetworkConditionsSelector.presets[2],
+ MobileThrottling.NetworkConditionsSelector.presets[2],
['connection change event: type = cellular; downlinkMax = 1.4400000000000002'],
test.releaseControl.bind(test));
}

Powered by Google App Engine
This is Rietveld 408576698