Kit Cambridge
7c5a4c7376
Bug 1189543 - pushManager.getSubscription()
should return null
for nonexistent push subscriptions in workers. r=nsm
2015-08-04 13:43:23 -07:00
Nikhil Marathe
cfbab4cece
Bug 1190478 - Hide PushEvent.data until we ship message encryption. r=mt,jst
2015-08-03 11:04:41 -07:00
Ryan VanderMeulen
6e36327058
Backed out changeset 96bb759922a1 (bug 1189543) for frequent crashes/asserts.
...
CLOSED TREE
2015-08-03 12:32:31 -04:00
Nikhil Marathe
2c43ab2f64
Bug 1188686 - Clear push subscriptions when forgetting about site. r=kitcambridge
2015-07-29 11:33:48 -07:00
Kit Cambridge
4503d0abcf
Bug 1189543 - pushManager.getSubscription()
should return null
for nonexistent push subscriptions in workers. r=nsm
2015-07-30 15:31:48 -07:00
Nikhil Marathe
2bb1043eaa
Bug 1183867 - Fix PushSubscription.unsubscribe() semantics r=mt
...
resolve with false when subscription does not exist. true when successfully unregistered. reject with NetworkError in other cases.
2015-07-14 15:01:41 -07:00
Nikhil Marathe
ae7b1e8e6a
Bug 1183853 - Rename hasPermission() to permissionState(). r=mt,smaug
2015-07-14 14:27:32 -07:00
Nikhil Marathe
9a3c1e0390
Bug 1183825 - Hide PushMessageData methods until we support sending push data. r=mt,smaug
2015-07-14 13:45:01 -07:00
Kit Cambridge
a926d94737
Bug 1153504 - Add per-origin push quotas. r=nsm,mt,markh
2015-06-25 14:52:57 -07:00
Nikhil Marathe
7d626c26ae
Bug 1166350 - Patch 2 - Fix tests. a=bustage
2015-06-24 14:27:49 -07:00
Nikhil Marathe
758cf86e07
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.
2015-06-24 13:34:54 -07:00
Nikhil Marathe
cf1eac0bac
Backed out changeset 964de5d960fa
...
The changes these tests depend on were backed out, but I didn't realise that and pushed this. Backing out and pushing again.
2015-06-24 14:32:39 -07:00
Nikhil Marathe
1051fa5c1f
Bug 1166350 - Patch 2 - Fix tests. a=bustage
2015-06-24 14:27:49 -07:00
Ryan VanderMeulen
1d793fe4e1
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Nikhil Marathe
56fd5b72d0
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.
2015-06-02 15:56:33 -07:00
Nikhil Marathe
3e1af8a896
Bug 1170817 - Fix unsubscribe() resolution value. r=dougt
2015-06-02 15:53:55 -07:00
Dragana Damjanovic
948ce734d4
Bug 1150812 - xcpshell test for PushService with http2. r=nsm, r=mt
2015-06-02 07:16:00 -04:00
Dragana Damjanovic
31785d07f1
Bug 1150812 - Add Http2 Push service. r=nsm, r=mt
2015-06-03 08:06:00 -04:00
Dragana Damjanovic
a390453846
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
277247a958
Bug 1162414 - Change PushService.jsm db to use promise. r=nsm, r=mt
2015-05-12 12:08:00 -04:00
Kit Cambridge
01212d81d9
Bug 1159310 - Update the storage xpcshell tests. r=dougt
2015-04-29 05:31:00 -04:00
Doug Turner
9ff5a3e104
Bug 1157108 - onpush EventHandler support. r=ehsan
2015-04-23 20:43:40 +02:00
Doug Turner
bdcca49c7d
Bug 1149274 - Clear site-permissions should clear all registered push notifications. r=nsm
2015-04-21 20:10:51 +02:00
Kit Cambridge
da7e87c493
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
Ehsan Akhgari
32f7d685f4
Bug 1155989 - Dump the rejection of the promise returned by ServiceWorkerRegistration.unregister() in our tests; r=nsm
2015-04-21 00:24:44 -04:00
Phil Ringnalda
52fe199841
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
71e670397d
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
Doug Turner
0903a42d91
Bug 1153937 - enable PushServiceLauncher. r=nsm
2015-04-13 10:03:24 -07:00
Phil Ringnalda
3f94a5b045
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
d2a8f9e004
Bug 1150683 - Add xpcshell tests for nsIPushNotificationService. r=dougt
2015-04-13 17:25:19 -07:00
Doug Turner
75df1e9754
Bug 1038811 - Push Notifications - Allow MOZ_DISABLE_NONLOCAL_CONNECTIONS for push subsuite. r=ahalberstadt/jgriffin
2015-04-10 20:19:29 -07:00
Doug Turner
df68d7801c
Bug 1038811 - Push Notifications - Tests. r=nsm
2015-04-10 20:19:28 -07:00