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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-view.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-workers-view.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-view.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-view.html
index 23f1c5f0ecc5606cb054112add902646b79bdb01..8f4aec5b598f44f94b6a51cbb4d36c90c6ac1d96 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-view.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-view.html
@@ -11,9 +11,9 @@ function test()
var scope1 = "http://127.0.0.1:8000/inspector/service-workers/resources/scope1/";
var scope2 = "http://127.0.0.1:8000/inspector/service-workers/resources/scope2/";
var step = 0;
- WebInspector.ServiceWorkersView._noThrottle = true;
+ Resources.ServiceWorkersView._noThrottle = true;
- InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, true);
+ InspectorTest.addSniffer(Resources.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, true);
function updateRegistration(registration)
{
for (var version of registration.versions.values()) {
@@ -42,7 +42,7 @@ function test()
}
InspectorTest.addResult("Select ServiceWorkers tree element.");
- WebInspector.panels.resources.serviceWorkersTreeElement.select();
+ UI.panels.resources.serviceWorkersTreeElement.select();
InspectorTest.addResult("Register ServiceWorker for scope1");
InspectorTest.registerServiceWorker(scriptURL, scope1);
}

Powered by Google App Engine
This is Rietveld 408576698