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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html

Issue 2137773002: [DevTools] Replace the target type with capabilities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [DevTools] Replace target type with capabilities Created 4 years, 5 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: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html
index 23d3892ce2ef3687518a53efe0314d1c77ac7df6..e01129ec98725c74b3e2ad58309a76b7d2ed8e32 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/last-execution-context.html
@@ -33,7 +33,7 @@ function test()
InspectorTest.addResult("");
InspectorTest.addResult("Adding sw target");
- var swTarget = InspectorTest.createMockTarget("sw-target", null, WebInspector.Target.Type.Worker);
+ var swTarget = InspectorTest.createMockTarget("sw-target", null, WebInspector.Target.Capabilities.NETWORK_DOMAINS | WebInspector.Target.Capabilities.WORKER_DOMAINS);
swTarget.runtimeModel._executionContextCreated({id: "sw1", isDefault: true, origin: "origin", name: "swContext1Name", frameId: ""});
InspectorTest.addResult("");

Powered by Google App Engine
This is Rietveld 408576698