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

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

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-workers-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js
index d7288116ae3d08f88c890accb50da550ac0abf2d..83f57c710bf3291fc873204f92f741560bae2219 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-test.js
@@ -22,7 +22,7 @@ InspectorTest.waitForServiceWorker = function(callback)
return InspectorTest.isDedicatedWorker(target) && InspectorTest.isServiceWorker(target.parentTarget());
}
- WebInspector.targetManager.observeTargets({
+ SDK.targetManager.observeTargets({
targetAdded: function(target)
{
if (isRightTarget(target) && callback) {
@@ -36,7 +36,7 @@ InspectorTest.waitForServiceWorker = function(callback)
InspectorTest.dumpServiceWorkersView = function()
{
- var swView = WebInspector.panels.resources.visibleView;
+ var swView = UI.panels.resources.visibleView;
return swView._reportView._sectionList.childTextNodes().map(function(node) { return node.textContent.replace(/Received.*/, "Received").replace(/#\d+/, "#N"); }).join("\n");
}

Powered by Google App Engine
This is Rietveld 408576698