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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-manager.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/http/tests/inspector/service-workers/service-worker-manager.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-manager.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-manager.html
index 079e1b9871f851d46bdc00eb44f787e9e7265e8c..b2cc1385c19413029df890635e969a9ad8a6d0db 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-manager.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-worker-manager.html
@@ -10,12 +10,12 @@ function test()
var scope = "http://127.0.0.1:8000/inspector/service-workers/resources/scope1/";
InspectorTest.registerServiceWorker(scriptURL, scope);
- WebInspector.targetManager.observeTargets({
+ SDK.targetManager.observeTargets({
targetAdded: function(target)
{
InspectorTest.addResult("Target added: " + target.name() + "; type: " + InspectorTest.describeTargetType(target));
if (InspectorTest.isDedicatedWorker(target)) {
- var serviceWorkerManager = WebInspector.targetManager.mainTarget().serviceWorkerManager;
+ var serviceWorkerManager = SDK.targetManager.mainTarget().serviceWorkerManager;
// Allow agents to do rountrips.
InspectorTest.deprecatedRunAfterPendingDispatches(function() {
for (var registration of serviceWorkerManager.registrations().valuesArray()) {

Powered by Google App Engine
This is Rietveld 408576698