Kit Cambridge
a15219cdc8
Bug 1189998, Part 3 - Update consolidated Push tests. r=mt
...
--HG--
extra : commitid : 14SSmeaQP4S
extra : rebase_source : 16e10ef52149e6002d5196595662bef45a00205f
2015-12-08 15:41:57 -05:00
Nikhil Marathe
f400c4125c
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.
--HG--
extra : commitid : 52Armk3onZ2
extra : rebase_source : 0ec2a950871bfb84a6bcd8bd8c00f3a10cd5bbce
2015-07-14 15:01:41 -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
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
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