gecko-dev/dom/push
Lina Cambridge 256003368d Bug 1524655 - Remove `dom.push.alwaysConnect` and connect unconditionally. r=jrconlin,pjenvey
This commit also fixes a race in `test_error_reporting.html`, where the
push service would initialize and attach its listeners after
`sessionstore-windows-restored`. Even though the test replaces the real
service with a mock, the former keeps listening for pref changes.
When the test calls `setupPrefs` to enable the push connection, the
real service tries to connect to the push server, which asserts in
automation because non-local connections aren't allowed.

We work around this by ensuring that `replacePushService` and
`restorePushService` always wait for the service to shut down before
replacing it with a mock, or restoring the real implementation.

Finally, this commit removes a test that's no longer relevant, since
we don't need to fetch all subscriptions at startup.

Differential Revision: https://phabricator.services.mozilla.com/D20085

--HG--
extra : moz-landing-system : lando
2019-03-14 22:37:51 +00:00
..
test Bug 1524655 - Remove `dom.push.alwaysConnect` and connect unconditionally. r=jrconlin,pjenvey 2019-03-14 22:37:51 +00:00
Push.jsm Bug 1524688: Part 16 - Convert push components to static registration. r=baku 2019-01-29 20:50:16 -08:00
Push.manifest Bug 1524688: Part 16 - Convert push components to static registration. r=baku 2019-01-29 20:50:16 -08:00
PushBroadcastService.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
PushComponents.jsm Bug 1524688: Part 16 - Convert push components to static registration. r=baku 2019-01-29 20:50:16 -08:00
PushCrypto.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
PushDB.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
PushManager.cpp Bug 1527505 - Part 9: Make nsIPermissionManager accept ACString arguments for permission types instead of raw C strings; r=nika 2019-02-21 22:54:28 +00:00
PushManager.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PushNotifier.cpp Bug 1517406 - Proxy these calls to the parent when required. r=asuth 2019-01-29 15:27:03 -05:00
PushNotifier.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PushRecord.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
PushService.jsm Bug 1524655 - Remove `dom.push.alwaysConnect` and connect unconditionally. r=jrconlin,pjenvey 2019-03-14 22:37:51 +00:00
PushServiceAndroidGCM.jsm Bug 1525872 PushEvent.data is null for push messages encrypted with aes128gcm r=JanH 2019-02-18 08:15:26 +00:00
PushServiceHttp2.jsm Bug 1524655 - Remove `dom.push.alwaysConnect` and connect unconditionally. r=jrconlin,pjenvey 2019-03-14 22:37:51 +00:00
PushServiceWebSocket.jsm Bug 1524655 - Remove `dom.push.alwaysConnect` and connect unconditionally. r=jrconlin,pjenvey 2019-03-14 22:37:51 +00:00
PushSubscription.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PushSubscription.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PushSubscriptionOptions.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PushSubscriptionOptions.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PushUtil.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
PushUtil.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
components.conf Bug 1524688: Part 16 - Convert push components to static registration. r=baku 2019-01-29 20:50:16 -08:00
moz.build Bug 1524688: Part 16 - Convert push components to static registration. r=baku 2019-01-29 20:50:16 -08:00