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

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

Issue 2441933002: [DevTools] Refactor connection-related classes. (Closed)
Patch Set: tests.js Created 4 years, 2 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/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html » ('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/inspector-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
index b5e917c0b58b8ad4e91b8a896091c6973ff63c24..5a4a0db70fd0c0c5287792dc4385a0275e7104c6 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
@@ -459,7 +459,7 @@ InspectorTest.deprecatedRunAfterPendingDispatches = function(callback)
var barrier = new CallbackBarrier();
var targets = WebInspector.targetManager.targets();
for (var i = 0; i < targets.length; ++i)
- targets[i]._connection.deprecatedRunAfterPendingDispatches(barrier.createCallback());
+ targets[i]._targetProto._deprecatedRunAfterPendingDispatches(barrier.createCallback());
barrier.callWhenDone(InspectorTest.safeWrap(callback));
}
@@ -918,7 +918,7 @@ WebInspector.targetManager.observeTargets({
InspectorTest.serviceWorkerManager = target.serviceWorkerManager;
InspectorTest.tracingManager = target.tracingManager;
InspectorTest.mainTarget = target;
- InspectorTest.connection = target._connection;
+ InspectorTest.connection = target._targetProto;
},
targetRemoved: function(target) { }
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-agents.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698