--- /b/rr/tmpMWqOX1/w/layout-test-results/http/tests/inspector/service-workers/service-workers-redundant-expected.txt
+++ /b/rr/tmpMWqOX1/w/layout-test-results/http/tests/inspector/service-workers/service-workers-redundant-actual.txt
@@ -1,73 +1,60 @@
 ServiceWorkers must be shown correctly even if there is a redundant worker.
 
-The first ServiceWorker is activated.
-==== ServiceWorkersView ====
-http://127.0.0.1:8000/inspector/service-workers/resources/service-worker-redundant-scope/
-Update
-Push
-Sync
-Unregister
-Source
-Status
-#N installing
-12/31/1969, 4:00:00 PM
-Clients
-Errors
-0
-details
-clear
-============================
-The second Serviceworker is installed.
-==== ServiceWorkersView ====
-http://127.0.0.1:8000/inspector/service-workers/resources/service-worker-redundant-scope/
-Update
-Push
-Sync
-Unregister
-Source
-changing-worker.php
-Received
-Status
-#N activated and is running
-stop
-#N installing
-12/31/1969, 4:00:00 PM
-Clients
-http://127.0.0.1:8000/inspector/service-workers/service-workers-redundant.html
-focus
-Errors
-0
-details
-clear
-============================
-The first ServiceWorker worker became redundant and stopped.
-==== ServiceWorkersView ====
-http://127.0.0.1:8000/inspector/service-workers/resources/service-worker-redundant-scope/
-Update
-Push
-Sync
-Unregister
-Source
-changing-worker.php
-Received
-Status
-#N activated and is running
-stop
-Clients
-Errors
-0
-details
-clear
-============================
-DevTools frontend is reopened.
-==== ServiceWorkersView ====
-Update
-Push
-Sync
-Unregister
-Source
-Status
-Clients
-Errors
-============================
+Exception while running: function (result) {
+        if (result._description == "0") {
+            InspectorTest.addSniffer(Resources.ServiceWorkersView.prototype, "_updateRegistration", updateRegistration, true);
+            function updateRegistration(registration)
+            {
+                if (registration.scopeURL != scope)
+                    return;
+                for (var version of registration.versions.values()) {
+                    if (step == 0 && version.isRunning() && version.isActivated()) {
+                        ++step;
+                        firstVersionId = version.id;
+                        InspectorTest.addResult("The first ServiceWorker is activated.");
+                        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.addResult("==== ServiceWorkersView ====");
+                        InspectorTest.addResult(InspectorTest.dumpServiceWorkersView([scope]));
+                        InspectorTest.addResult("============================");
+                        InspectorTest.evaluateInPage("unloadIframe();");
+                    }
+                }
+                if (step != 2)
+                    return;
+                var firstVersion = registration.versions.get(firstVersionId);
+                var secondVersion = registration.versions.get(secondVersionId);
+                if ((!firstVersion || (firstVersion.isStopped() && firstVersion.isRedundant())) && secondVersion.isActivated() && secondVersion.isRunning()) {
+                    ++step;
+                    InspectorTest.addResult("The first ServiceWorker worker became redundant and stopped.");
+                    InspectorTest.addResult("==== ServiceWorkersView ====");
+                    InspectorTest.addResult(InspectorTest.dumpServiceWorkersView([scope]));
+                    InspectorTest.addResult("============================");
+                    InspectorTest.flushResults();
+                    InspectorTest.evaluateInPage("reopenFrontend()");
+                }
+            }
+            UI.panels.resources.serviceWorkersTreeElement.select();
+            InspectorTest.registerServiceWorker(scriptURL, scope);
+        } else {
+            InspectorTest.addResult("DevTools frontend is reopened.");
+            UI.panels.resources.serviceWorkersTreeElement.select();
+            InspectorTest.addResult("==== ServiceWorkersView ====");
+            InspectorTest.addResult(InspectorTest.dumpServiceWorkersView([scope]));
+            InspectorTest.addResult("============================");
+            InspectorTest.deleteServiceWorkerRegistration(scope);
+            InspectorTest.completeTest();
+        }}
+TypeError: Cannot read property 'select' of undefined
+    at eval (evaluateInWebInspector1.js:107:58)
+    at result (evaluateInWebInspector0.js:630:25)
+    at mycallback (evaluateInWebInspector0.js:68:13)
+    at runUserCallback (file:///b/c/b/linux/src/out/Release/resources/inspector/inspector.js:3145:61)
+    at <anonymous>
 
