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

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

Issue 2668413003: DevTools: extract NetworkConditionsSelector into its own module (Closed)
Patch Set: rebaseline Created 3 years, 10 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..6ae3a5588a196deeedf05232a5a6b0d990bd6d6d 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