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

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

Issue 2668413003: DevTools: extract NetworkConditionsSelector into its own module (Closed)
Patch Set: Created 3 years, 11 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 5a96d0e64bbe85d305b1d131ecc96f331013dc26..5e80d29d50f42731ce7ef77b980e643a2e38f7e7 100644
--- a/third_party/WebKit/Source/devtools/front_end/Tests.js
+++ b/third_party/WebKit/Source/devtools/front_end/Tests.js
@@ -699,21 +699,21 @@
function step1() {
testPreset(
- Components.NetworkConditionsSelector._presets[0],
+ NetworkConditions.NetworkConditionsSelector._presets[0],
['offline event: online = false', 'connection change event: type = none; downlinkMax = 0'], step2);
}
function step2() {
testPreset(
- Components.NetworkConditionsSelector._presets[2],
+ NetworkConditions.NetworkConditionsSelector._presets[2],
['online event: online = true', 'connection change event: type = cellular; downlinkMax = 0.244140625'],
step3);
}
function step3() {
testPreset(
- Components.NetworkConditionsSelector._presets[8], ['connection change event: type = wifi; downlinkMax = 30'],
- test.releaseControl.bind(test));
+ NetworkConditions.NetworkConditionsSelector._presets[8],
+ ['connection change event: type = wifi; downlinkMax = 30'], test.releaseControl.bind(test));
}
};

Powered by Google App Engine
This is Rietveld 408576698