bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

[BackgroundSync] Migrate existing BackgroundSync tests to web-platform-tests when support for online/offline control is available to tests




DOM: Service Workers
a year ago
a year ago


(Reporter: asuth, Unassigned)


(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)




a year ago
The BackgroundSync API's behavior is dependent on whether the browser is online/offline.  So to properly test the API, tests need to be able to cause the browser to go online/offline, or at least make the BackgroundSync API think this has occurred.

This is a known limitation of the web-platform-tests at this time.  The general problem is tracked in https://github.com/w3c/web-platform-tests/issues/5669 with some related discussion on the (closed) https://github.com/w3c/web-platform-tests/issues/5558 and the public-test-infra thread with current most recent message at https://lists.w3.org/Archives/Public/public-test-infra/2017AprJun/0013.html.

This bug is to track moving to using web-platform-tests for as many things as possible.  (Especially for e10s glass-box testing, it could make sense to maintain a number of browser chrome tests.)
Reading the comments, this issue depends on wpt framework support, seems not doable at this moment. So marking P3 now. Feel free to revise the priority as you see fit, Andrew! :)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.