Bug 1186857 - Update web-platform-tests expected data. r=jgraham
☠☠ backed out by ab174fa288a3 ☠ ☠
authorNikhil Marathe <nsm.nikhil@gmail.com>
Tue, 08 Sep 2015 16:45:42 -0700
changeset 295659 156b6847bbb4a6009483425346c4013f101ac586
parent 295658 4c9d2dab60f3111024ce85d61a6c3bb3c4a706b4
child 295660 4717107189fe6623d2e3a022e365b137fb0b2ae9
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1186857, 1201127
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1186857 - Update web-platform-tests expected data. r=jgraham Comparing scopes for now, added a note to Bug 1201127 to fix this.
testing/web-platform/mozilla/meta/service-workers/service-worker/unregister-then-register.https.html.ini
testing/web-platform/mozilla/tests/service-workers/service-worker/unregister-then-register.https.html
deleted file mode 100644
--- a/testing/web-platform/mozilla/meta/service-workers/service-worker/unregister-then-register.https.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[unregister-then-register.https.html]
-  type: testharness
-  [Unregister then register resolves to the original value if the registration is in use.]
-    expected: FAIL
-
--- a/testing/web-platform/mozilla/tests/service-workers/service-worker/unregister-then-register.https.html
+++ b/testing/web-platform/mozilla/tests/service-workers/service-worker/unregister-then-register.https.html
@@ -43,18 +43,18 @@ async_test(function(t) {
         })
       .then(function(frame) {
           return registration.unregister();
         })
       .then(function() {
           return navigator.serviceWorker.register(worker_url, { scope: scope });
         })
       .then(function(new_registration) {
-          assert_equals(registration, new_registration,
-                        'register should resolve to the same value');
+          assert_equals(registration.scope, new_registration.scope,
+                        'new registration should resolve to the same scope');
           service_worker_unregister_and_done(t, scope);
         })
       .catch(unreached_rejection(t));
   }, 'Unregister then register resolves to the original value if the ' +
          'registration is in use.');
 
 async_test(function(t) {
     var scope = 'resources/scope/re-register-does-not-affect-existing-controllee';