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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-force-update-on-page-load.html

Issue 1924153002: DevTools: reorder items in the resources panel sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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-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()) {

Powered by Google App Engine
This is Rietveld 408576698