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 54cfa2a33250f8410885fd6fa0df639a18f71184..30e4029a1ecab77072e3584fbd10be45138a7911 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,10 +30,9 @@ function test() |
InspectorTest.evaluateInPage("frontendReopeningCount", function(result) { |
if (result._description == "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; |
if (registration.scopeURL != scope) |
return; |
for (var version of registration.versions.values()) { |