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

Unified Diff: LayoutTests/http/tests/inspector/layers-test.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
Index: LayoutTests/http/tests/inspector/layers-test.js
diff --git a/LayoutTests/http/tests/inspector/layers-test.js b/LayoutTests/http/tests/inspector/layers-test.js
index e04577712c5f9d9929906ad8e508d5258986d2b5..43f4ce46d613ee36ccb9a14325f900be1faa6456 100644
--- a/LayoutTests/http/tests/inspector/layers-test.js
+++ b/LayoutTests/http/tests/inspector/layers-test.js
@@ -1,7 +1,7 @@
function initialize_LayerTreeTests()
{
// FIXME: remove once out of experimental.
- runtime.registerModule("layers");
+ InspectorTest.registerModule("layers");
var extensions = runtime.extensions(WebInspector.Panel).forEach(function(extension) {
if (extension.module().name() === "layers")
WebInspector.inspectorView.addPanel(new WebInspector.RuntimeExtensionPanelDescriptor(extension));
« no previous file with comments | « LayoutTests/http/tests/inspector/inspector-test.js ('k') | LayoutTests/inspector/documentation/document-parser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698