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

Unified Diff: Source/devtools/front_end/Runtime.js

Issue 1187743003: [DevTools] Remove remoteModules experiment, make cm_modes, screencast and emulated_devices remote f… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/devtools/devtools.gyp ('k') | Source/devtools/front_end/inspector.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Runtime.js
diff --git a/Source/devtools/front_end/Runtime.js b/Source/devtools/front_end/Runtime.js
index 41e7cd7dafc1dd1e4b751e1e925e1d7eada7b87b..ac6f1a4a521580428dd04c20057240ec8fdfa425 100644
--- a/Source/devtools/front_end/Runtime.js
+++ b/Source/devtools/front_end/Runtime.js
@@ -745,8 +745,7 @@ Runtime.Module.prototype = {
return Promise.resolve();
if (Runtime.isReleaseMode()) {
- var useRemote = this._descriptor.remote && Runtime.experiments.isEnabled("remoteModules");
- var base = useRemote && Runtime._remoteBase || undefined;
+ var base = this._descriptor.remote && Runtime._remoteBase || undefined;
lushnikov 2015/06/18 14:25:26 could you please exapnd this in ternar operator? i
return loadScriptsPromise([this._name + "_module.js"], base);
}
@@ -1068,7 +1067,6 @@ Runtime.Experiment.prototype = {
// This must be constructed after the query parameters have been parsed.
Runtime.experiments = new Runtime.ExperimentsSupport();
-Runtime.experiments.register("remoteModules", "Remote Modules", true);
/**
* @type {?string}
« no previous file with comments | « Source/devtools/devtools.gyp ('k') | Source/devtools/front_end/inspector.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698