Web Inspector: Restrict domains at the target level instead of only at the window...
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Protocol / Legacy / 9.0 / InspectorBackendCommands.js
index a8f8d5f..efdab6c 100644 (file)
@@ -213,7 +213,7 @@ InspectorBackend.registerEvent("Inspector.activateExtraDomains", ["domains"]);
 InspectorBackend.registerCommand("Inspector.enable", [], []);
 InspectorBackend.registerCommand("Inspector.disable", [], []);
 InspectorBackend.registerCommand("Inspector.initialized", [], []);
-InspectorBackend.activateDomain("Inspector");
+InspectorBackend.activateDomain("Inspector", ["javascript", "web"]);
 
 // LayerTree.
 InspectorBackend.registerLayerTreeDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "LayerTree");