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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js

Issue 2345873002: [Devtools] Add capability for the log domain (Closed)
Patch Set: [Devtools] Add capability for the log domain Created 4 years, 3 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 | « no previous file | third_party/WebKit/Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
index a02bb30ec4a3bba79ff239169131da6f55dc4bd5..ebb6b9e9b42eb7d784fd43eda3017c35bf2442f4 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
@@ -34,10 +34,14 @@ InspectorTest.createWorkspace = function(ignoreEvents)
}
InspectorTest._mockTargetId = 1;
+InspectorTest._pageCapabilities =
+ WebInspector.Target.Capability.Browser | WebInspector.Target.Capability.DOM |
+ WebInspector.Target.Capability.JS | WebInspector.Target.Capability.Log |
+ WebInspector.Target.Capability.Network | WebInspector.Target.Capability.Worker;
InspectorTest.createMockTarget = function(id, debuggerModelConstructor, capabilities)
{
- capabilities = capabilities || (WebInspector.Target.Capability.Browser | WebInspector.Target.Capability.JS | WebInspector.Target.Capability.Network | WebInspector.Target.Capability.Worker);
+ capabilities = capabilities || InspectorTest._pageCapabilities;
var MockTarget = function(name, connection, callback)
{
WebInspector.Target.call(this, InspectorTest.testTargetManager, name, capabilities, connection, null, callback);
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698