Bug 1186857 - Update web-platform-tests expected data. r=jgraham
authorNikhil Marathe <nsm.nikhil@gmail.com>
Tue, 08 Sep 2015 16:45:42 -0700
changeset 295932 4e8dd2742625a606946026babc82478765ed51de
parent 295931 9244da13f5e871e49c066a796f9cf28239a8200e
child 295933 d09a02afe050cb91b45cf7b3cc0b529159e3a7fd
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';