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 8e2c020ccde73dc6aeb049e4c3f5e06ec6b36e5d..3ec554f78cda4a4cc6da9479554a69d2c6f2488c 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 |
@@ -13,10 +13,9 @@ function test() |
var scopes = [scope1, scope2]; |
var step = 0; |
- InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_registrationUpdated", registrationUpdated, true); |
- function registrationUpdated(event) |
+ InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, true); |
+ function updateRegistration(registration) |
{ |
- var registration = event.data; |
for (var version of registration.versions.values()) { |
if (step == 0 && registration.scopeURL == scope1 && version.isActivated() && version.isRunning()) { |
++step; |