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

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

Issue 460323002: DevTools: Allow dynamic module registration only in tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « LayoutTests/inspector/documentation/documentation-url-provider.html ('k') | no next file » | 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 364bbd560b9ee49e243a06b0429720969de0c042..532aa3600f66eb1a57600f7f98c70e696b5a5d53 100644
--- a/Source/devtools/front_end/Runtime.js
+++ b/Source/devtools/front_end/Runtime.js
@@ -132,13 +132,13 @@ Runtime.prototype = {
registerModules: function(configuration)
{
for (var i = 0; i < configuration.length; ++i)
- this.registerModule(configuration[i]);
+ this._registerModule(configuration[i]);
},
/**
* @param {string} moduleName
*/
- registerModule: function(moduleName)
+ _registerModule: function(moduleName)
{
if (!this._descriptorsMap[moduleName]) {
var content = loadResource(moduleName + "/module.json");
« no previous file with comments | « LayoutTests/inspector/documentation/documentation-url-provider.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698