mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
256003368d
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 |
||
---|---|---|
.. | ||
test | ||
components.conf | ||
moz.build | ||
Push.jsm | ||
Push.manifest | ||
PushBroadcastService.jsm | ||
PushComponents.jsm | ||
PushCrypto.jsm | ||
PushDB.jsm | ||
PushManager.cpp | ||
PushManager.h | ||
PushNotifier.cpp | ||
PushNotifier.h | ||
PushRecord.jsm | ||
PushService.jsm | ||
PushServiceAndroidGCM.jsm | ||
PushServiceHttp2.jsm | ||
PushServiceWebSocket.jsm | ||
PushSubscription.cpp | ||
PushSubscription.h | ||
PushSubscriptionOptions.cpp | ||
PushSubscriptionOptions.h | ||
PushUtil.cpp | ||
PushUtil.h |