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

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

Issue 2938503002: DevTools: unify Network & CPU throttling (Closed)
Patch Set: update test Created 3 years, 5 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 d761fbcb7f6c325c3bad43fff13cfb0da0269333..837870ddb69378a8ec5449a70abcdcf6fbbf6ab7 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(
- MobileThrottling.NetworkConditionsSelector.presets[0],
+ MobileThrottling.networkPresets[2],
['offline event: online = false', 'connection change event: type = none; downlinkMax = 0'], step2);
}
function step2() {
testPreset(
- MobileThrottling.NetworkConditionsSelector.presets[1],
+ MobileThrottling.networkPresets[1],
['online event: online = true', 'connection change event: type = cellular; downlinkMax = 0.390625'], step3);
}
function step3() {
testPreset(
- MobileThrottling.NetworkConditionsSelector.presets[2],
+ MobileThrottling.networkPresets[0],
['connection change event: type = cellular; downlinkMax = 1.4400000000000002'],
test.releaseControl.bind(test));
}

Powered by Google App Engine
This is Rietveld 408576698