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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-redundant.html

Issue 2373913004: [DevTools] Fix and rebaseline inspector/service-workers layout tests. (Closed)
Patch Set: Created 4 years, 3 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-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 30e4029a1ecab77072e3584fbd10be45138a7911..6acddb61161102e2b2bed7683ad52c8a9aeea3a0 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
@@ -40,13 +40,17 @@ function test()
++step;
firstVersionId = version.id;
InspectorTest.addResult("The first ServiceWorker is activated.");
- InspectorTest.addResults(InspectorTest.dumpServiceWorkersView([scope]));
+ InspectorTest.addResult("==== ServiceWorkersView ====");
+ InspectorTest.addResult(InspectorTest.dumpServiceWorkersView([scope]));
+ InspectorTest.addResult("============================");
InspectorTest.evaluateInPage("loadIframe(\"" + scope + "\");");
} else if (step == 1 && version.isRunning() && version.isInstalled()) {
++step;
secondVersionId = version.id;
InspectorTest.addResult("The second Serviceworker is installed.");
- InspectorTest.addResults(InspectorTest.dumpServiceWorkersView([scope]));
+ InspectorTest.addResult("==== ServiceWorkersView ====");
+ InspectorTest.addResult(InspectorTest.dumpServiceWorkersView([scope]));
+ InspectorTest.addResult("============================");
InspectorTest.evaluateInPage("unloadIframe();");
}
}
@@ -57,7 +61,9 @@ function test()
if ((!firstVersion || (firstVersion.isStopped() && firstVersion.isRedundant())) && secondVersion.isActivated() && secondVersion.isRunning()) {
++step;
InspectorTest.addResult("The first ServiceWorker worker became redundant and stopped.");
- InspectorTest.addResults(InspectorTest.dumpServiceWorkersView([scope]));
+ InspectorTest.addResult("==== ServiceWorkersView ====");
+ InspectorTest.addResult(InspectorTest.dumpServiceWorkersView([scope]));
+ InspectorTest.addResult("============================");
InspectorTest.flushResults();
InspectorTest.evaluateInPage("reopenFrontend()");
}
@@ -67,7 +73,9 @@ function test()
} else {
InspectorTest.addResult("DevTools frontend is reopened.");
WebInspector.panels.resources.serviceWorkersTreeElement.select();
- InspectorTest.addResults(InspectorTest.dumpServiceWorkersView([scope]));
+ InspectorTest.addResult("==== ServiceWorkersView ====");
+ InspectorTest.addResult(InspectorTest.dumpServiceWorkersView([scope]));
+ InspectorTest.addResult("============================");
InspectorTest.deleteServiceWorkerRegistration(scope);
InspectorTest.completeTest();
}});

Powered by Google App Engine
This is Rietveld 408576698