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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-redundant.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-redundant.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-redundant.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-redundant.html
index 6acddb61161102e2b2bed7683ad52c8a9aeea3a0..092bdbf7c23675c0894f069decc8416a57baeab7 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-redundant.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-redundant.html
@@ -30,7 +30,7 @@ function test()
InspectorTest.evaluateInPage("frontendReopeningCount", function(result) {
if (result._description == "0") {
- InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, true);
+ InspectorTest.addSniffer(Resources.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, true);
function updateRegistration(registration)
{
if (registration.scopeURL != scope)
@@ -68,11 +68,11 @@ function test()
InspectorTest.evaluateInPage("reopenFrontend()");
}
}
- WebInspector.panels.resources.serviceWorkersTreeElement.select();
+ UI.panels.resources.serviceWorkersTreeElement.select();
InspectorTest.registerServiceWorker(scriptURL, scope);
} else {
InspectorTest.addResult("DevTools frontend is reopened.");
- WebInspector.panels.resources.serviceWorkersTreeElement.select();
+ UI.panels.resources.serviceWorkersTreeElement.select();
InspectorTest.addResult("==== ServiceWorkersView ====");
InspectorTest.addResult(InspectorTest.dumpServiceWorkersView([scope]));
InspectorTest.addResult("============================");

Powered by Google App Engine
This is Rietveld 408576698