Index: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-force-update-on-page-load.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-force-update-on-page-load.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-force-update-on-page-load.html |
index 92da6e9edb1751e4976aaeff4c27bea4d257bc27..603c6035d0f8cbceef5df5d9558ba7f404685da3 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-force-update-on-page-load.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-force-update-on-page-load.html |
@@ -20,8 +20,8 @@ function test() |
function waitForWorkerActivated(scope) { |
return new Promise(function(resolve) { |
- InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", registrationUpdated, false); |
- function registrationUpdated(registration) |
+ InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, false); |
+ function updateRegistration(registration) |
{ |
if (registration.scopeURL == scope) { |
for (var version of registration.versions.values()) { |
@@ -31,13 +31,13 @@ function test() |
} |
} |
} |
- InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", registrationUpdated, false); |
+ InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, false); |
}}); |
} |
function installNewWorkerDetector(scope) { |
var workerIdSet = {}; |
- InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", registrationUpdated, true); |
- function registrationUpdated(registration) |
+ InspectorTest.addSniffer(WebInspector.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, true); |
+ function updateRegistration(registration) |
{ |
if (registration.scopeURL == scope) { |
for (var version of registration.versions.values()) { |