Commit Graph

24 Commits

Author SHA1 Message Date
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Kit Cambridge
de899472f4 Bug 1269436 - Always pass the principal to push observer notifications. r=dragana
MozReview-Commit-ID: J1vU3nRKlsa

--HG--
extra : rebase_source : 9a1fabbdc42afb92a224fb5e89c2eaf106943cc9
2016-05-02 09:38:47 -07:00
Kit Cambridge
49323c9a2d Bug 1265915 - Remove adaptive pings from the Push WebSocket backend. r=dragana
MozReview-Commit-ID: 9QuMFgIlOPQ

--HG--
extra : rebase_source : bee5228f2658bb1f01639a57af469054e5984080
extra : histedit_source : 0883971413987576abe6949819eb1377471aa0e6
2016-04-19 16:41:12 -07:00
Kit Cambridge
896fb82ab8 Bug 1258145 - Remove waitForPromise from the xpcshell tests. r=wchen
MozReview-Commit-ID: 6dX63gyXw07

--HG--
extra : rebase_source : b5638140200403f4441ab2a60d69b3baae6d6de6
2016-03-19 14:57:15 -07:00
Kit Cambridge
d2fcfdda5d Bug 1253438 - Expose Push observer notification topics. r=markh
MozReview-Commit-ID: HublNSAD3NY

--HG--
extra : rebase_source : ca89fad6bfafa403e97c1e1defc4d3a0673af430
2016-03-03 14:37:10 -08:00
Kit Cambridge
a2a02af8bf Bug 1239584, Part 3 - Update tests. r=dragana
--HG--
extra : commitid : KIDc3UHjz1N
extra : rebase_source : 9eccff6802a9453cfe5b3b318d38d13f1aab8a09
2016-01-13 22:26:57 -07:00
Kit Cambridge
f398300afc Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE.
--HG--
extra : commitid : 74RywJW7UVo
extra : amend_source : 2088096e01cb7b6fda50c87f05d427cd79147554
2016-01-22 11:06:14 -08:00
Kit Cambridge
555408c01b Bug 1239584, Part 3 - Update tests. r=dragana
--HG--
extra : commitid : JbCjwPZWvMU
extra : rebase_source : 4c2e62fd4029ed5b5b7df4e0a6fc96404cc40845
2016-01-13 22:26:57 -07:00
Kit Cambridge
0333c16142 Bug 1239558 - Exempt system Push subscriptions from quota and permissions checks. r=dragana
--HG--
extra : commitid : 6weiBkKPMVj
extra : rebase_source : b5d6479902725a37c5b212bc4b23dc8296f34c9a
2015-12-16 09:21:22 -08:00
Kit Cambridge
cfd53ffe54 Bug 1210943 - Drop subscriptions unconditionally if the UAID changes. r=benbangert
--HG--
extra : commitid : 6vvxcaIIAbE
extra : amend_source : 1ea3d4821cb9a7b799f33da897d14cbd28a0c118
2015-10-03 14:59:24 -07:00
Muhsin Ali Steiman
f59bd8d992 Bug 1183440 - Replaces Promise.defer() with the Promise constructor in push tests. r=kitcambridge
--HG--
extra : commitid : 90WEhC4PKRD
extra : amend_source : ab3ef1029dd8daa831eac49bdb2f682032ac547c
2015-08-14 17:26:07 -07:00
Kit Cambridge
97018538cd Bug 1153504 - Add per-origin push quotas. r=nsm,mt,markh
--HG--
extra : commitid : 8CPpVl9sAYo
extra : rebase_source : d4e6330e3717c89f39686c620ae0aeb90e2156c8
2015-06-25 14:52:57 -07:00
Nikhil Marathe
b8eea4d16b Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.

--HG--
extra : source : d7554019b424327a3271e2c0debda995fff36cb5
extra : intermediate-source : be40dea6534771bdeedc9f7c6ccd8bbddb6e41c2
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
c01c5195c9 Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures. 2015-06-24 16:10:45 -04:00
Nikhil Marathe
bd635e2c8a Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.

--HG--
extra : rebase_source : 3b8cb541512d3fb9a253773c2fd5227c980efdd2
extra : source : d7554019b424327a3271e2c0debda995fff36cb5
2015-06-02 15:56:33 -07:00
Dragana Damjanovic
af2c1ad891 Bug 1150812 - Add Http2 Push service. r=nsm, r=mt 2015-06-03 08:06:00 -04:00
Dragana Damjanovic
2ce8502cf6 Bug 1150812 - Adapt xpcshell test and add mochi tests for WebSocket version. r=nsm, r=mt 2015-06-02 07:14:00 -04:00
Dragana Damjanovic
4c8eee1469 Bug 1162414 - Change PushService.jsm db to use promise. r=nsm, r=mt 2015-05-12 12:08:00 -04:00
Kit Cambridge
47b180edd6 Bug 1150683 - Add xpcshell tests for nsIPushNotificationService. r=dougt
---
 dom/push/moz.build                                 |   4 +
 dom/push/test/xpcshell/head.js                     | 450 +++++++++++++++++++++
 dom/push/test/xpcshell/test_notification_ack.js    | 127 ++++++
 .../test/xpcshell/test_notification_duplicate.js   |  82 ++++
 dom/push/test/xpcshell/test_notification_error.js  | 127 ++++++
 .../test/xpcshell/test_notification_incomplete.js  | 109 +++++
 .../xpcshell/test_notification_version_string.js   |  72 ++++
 dom/push/test/xpcshell/test_register_case.js       |  64 +++
 dom/push/test/xpcshell/test_register_flush.js      | 103 +++++
 .../test/xpcshell/test_register_invalid_channel.js |  60 +++
 .../xpcshell/test_register_invalid_endpoint.js     |  62 +++
 .../test/xpcshell/test_register_invalid_json.js    |  61 +++
 dom/push/test/xpcshell/test_register_no_id.js      |  65 +++
 .../test/xpcshell/test_register_request_queue.js   |  65 +++
 dom/push/test/xpcshell/test_register_rollback.js   |  88 ++++
 dom/push/test/xpcshell/test_register_success.js    |  76 ++++
 dom/push/test/xpcshell/test_register_timeout.js    | 102 +++++
 dom/push/test/xpcshell/test_register_wrong_id.js   |  71 ++++
 dom/push/test/xpcshell/test_register_wrong_type.js |  67 +++
 dom/push/test/xpcshell/test_registration_error.js  |  39 ++
 .../xpcshell/test_registration_missing_scope.js    |  28 ++
 dom/push/test/xpcshell/test_registration_none.js   |  28 ++
 .../test/xpcshell/test_registration_success.js     |  67 +++
 .../test/xpcshell/test_unregister_empty_scope.js   |  37 ++
 dom/push/test/xpcshell/test_unregister_error.js    |  65 +++
 .../test/xpcshell/test_unregister_invalid_json.js  |  78 ++++
 .../test/xpcshell/test_unregister_not_found.js     |  35 ++
 dom/push/test/xpcshell/test_unregister_success.js  |  60 +++
 dom/push/test/xpcshell/xpcshell.ini                |  32 ++
 29 files changed, 2324 insertions(+)
 create mode 100644 dom/push/test/xpcshell/head.js
 create mode 100644 dom/push/test/xpcshell/test_notification_ack.js
 create mode 100644 dom/push/test/xpcshell/test_notification_duplicate.js
 create mode 100644 dom/push/test/xpcshell/test_notification_error.js
 create mode 100644 dom/push/test/xpcshell/test_notification_incomplete.js
 create mode 100644 dom/push/test/xpcshell/test_notification_version_string.js
 create mode 100644 dom/push/test/xpcshell/test_register_case.js
 create mode 100644 dom/push/test/xpcshell/test_register_flush.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_channel.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_endpoint.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_json.js
 create mode 100644 dom/push/test/xpcshell/test_register_no_id.js
 create mode 100644 dom/push/test/xpcshell/test_register_request_queue.js
 create mode 100644 dom/push/test/xpcshell/test_register_rollback.js
 create mode 100644 dom/push/test/xpcshell/test_register_success.js
 create mode 100644 dom/push/test/xpcshell/test_register_timeout.js
 create mode 100644 dom/push/test/xpcshell/test_register_wrong_id.js
 create mode 100644 dom/push/test/xpcshell/test_register_wrong_type.js
 create mode 100644 dom/push/test/xpcshell/test_registration_error.js
 create mode 100644 dom/push/test/xpcshell/test_registration_missing_scope.js
 create mode 100644 dom/push/test/xpcshell/test_registration_none.js
 create mode 100644 dom/push/test/xpcshell/test_registration_success.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_empty_scope.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_error.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_invalid_json.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_not_found.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_success.js
 create mode 100644 dom/push/test/xpcshell/xpcshell.ini
2015-04-21 20:10:50 +02:00
Phil Ringnalda
0db5cd0782 Backed out 4 changesets (bug 1150683) for Talos indexedDB crashes
CLOSED TREE

Backed out changeset 7953d3dd62ff (bug 1150683)
Backed out changeset c6805afff48c (bug 1150683)
Backed out changeset 186ed6bc887e (bug 1150683)
Backed out changeset 8e82f557f913 (bug 1150683)
2015-04-19 07:20:24 -07:00
Kit Cambridge
cfda49a5ee Bug 1150683 - Add xpcshell tests for nsIPushNotificationService. r=dougt
---
 dom/push/moz.build                                 |   4 +
 dom/push/test/xpcshell/head.js                     | 450 +++++++++++++++++++++
 dom/push/test/xpcshell/test_notification_ack.js    | 127 ++++++
 .../test/xpcshell/test_notification_duplicate.js   |  82 ++++
 dom/push/test/xpcshell/test_notification_error.js  | 127 ++++++
 .../test/xpcshell/test_notification_incomplete.js  | 109 +++++
 .../xpcshell/test_notification_version_string.js   |  72 ++++
 dom/push/test/xpcshell/test_register_case.js       |  64 +++
 dom/push/test/xpcshell/test_register_flush.js      | 103 +++++
 .../test/xpcshell/test_register_invalid_channel.js |  60 +++
 .../xpcshell/test_register_invalid_endpoint.js     |  62 +++
 .../test/xpcshell/test_register_invalid_json.js    |  61 +++
 dom/push/test/xpcshell/test_register_no_id.js      |  65 +++
 .../test/xpcshell/test_register_request_queue.js   |  65 +++
 dom/push/test/xpcshell/test_register_rollback.js   |  88 ++++
 dom/push/test/xpcshell/test_register_success.js    |  76 ++++
 dom/push/test/xpcshell/test_register_timeout.js    | 102 +++++
 dom/push/test/xpcshell/test_register_wrong_id.js   |  71 ++++
 dom/push/test/xpcshell/test_register_wrong_type.js |  67 +++
 dom/push/test/xpcshell/test_registration_error.js  |  39 ++
 .../xpcshell/test_registration_missing_scope.js    |  28 ++
 dom/push/test/xpcshell/test_registration_none.js   |  28 ++
 .../test/xpcshell/test_registration_success.js     |  67 +++
 .../test/xpcshell/test_unregister_empty_scope.js   |  37 ++
 dom/push/test/xpcshell/test_unregister_error.js    |  65 +++
 .../test/xpcshell/test_unregister_invalid_json.js  |  78 ++++
 .../test/xpcshell/test_unregister_not_found.js     |  35 ++
 dom/push/test/xpcshell/test_unregister_success.js  |  60 +++
 dom/push/test/xpcshell/xpcshell.ini                |  32 ++
 29 files changed, 2324 insertions(+)
 create mode 100644 dom/push/test/xpcshell/head.js
 create mode 100644 dom/push/test/xpcshell/test_notification_ack.js
 create mode 100644 dom/push/test/xpcshell/test_notification_duplicate.js
 create mode 100644 dom/push/test/xpcshell/test_notification_error.js
 create mode 100644 dom/push/test/xpcshell/test_notification_incomplete.js
 create mode 100644 dom/push/test/xpcshell/test_notification_version_string.js
 create mode 100644 dom/push/test/xpcshell/test_register_case.js
 create mode 100644 dom/push/test/xpcshell/test_register_flush.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_channel.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_endpoint.js
 create mode 100644 dom/push/test/xpcshell/test_register_invalid_json.js
 create mode 100644 dom/push/test/xpcshell/test_register_no_id.js
 create mode 100644 dom/push/test/xpcshell/test_register_request_queue.js
 create mode 100644 dom/push/test/xpcshell/test_register_rollback.js
 create mode 100644 dom/push/test/xpcshell/test_register_success.js
 create mode 100644 dom/push/test/xpcshell/test_register_timeout.js
 create mode 100644 dom/push/test/xpcshell/test_register_wrong_id.js
 create mode 100644 dom/push/test/xpcshell/test_register_wrong_type.js
 create mode 100644 dom/push/test/xpcshell/test_registration_error.js
 create mode 100644 dom/push/test/xpcshell/test_registration_missing_scope.js
 create mode 100644 dom/push/test/xpcshell/test_registration_none.js
 create mode 100644 dom/push/test/xpcshell/test_registration_success.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_empty_scope.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_error.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_invalid_json.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_not_found.js
 create mode 100644 dom/push/test/xpcshell/test_unregister_success.js
 create mode 100644 dom/push/test/xpcshell/xpcshell.ini
2015-04-19 12:06:31 +02:00
Phil Ringnalda
0cc202565a Backed out 4 changesets (bug 1150683) for Android xpcshell test bustage
CLOSED TREE

Backed out changeset 645508dd2a76 (bug 1150683)
Backed out changeset 4389151f1348 (bug 1150683)
Backed out changeset 66ca87f2a944 (bug 1150683)
Backed out changeset 814fc7abbe18 (bug 1150683)
2015-04-13 20:15:58 -07:00
Kit Cambridge
0ede23c7ad Bug 1150683 - Add xpcshell tests for nsIPushNotificationService. r=dougt 2015-04-13 17:25:19 -07:00