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

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

Issue 2851913002: [DevTools] Do not expose agents on Target
Patch Set: storage and tests.js Created 3 years, 8 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 508c6da710c50b30f1f80e91787936d0840833ba..578b9c481e164bbe3e580a702a4404349d8377ad 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
@@ -8,7 +8,8 @@ function test()
var mockTargetId = 1;
function createMockTarget(name, capabilities, dontAttachToMain)
{
- return SDK.targetManager.createTarget('mock-target-' + mockTargetId++, name, capabilities, params => new SDK.StubConnection(params), dontAttachToMain ? null : InspectorTest.mainTarget);
+ var dispatcher = new Protocol.Dispatcher(params => new SDK.StubConnection(params));
+ return SDK.targetManager.createTarget('mock-target-' + mockTargetId++, name, capabilities, dispatcher, dontAttachToMain ? null : InspectorTest.mainTarget);
}
var context = new UI.Context();

Powered by Google App Engine
This is Rietveld 408576698