Commit Graph

110 Commits

Author SHA1 Message Date
Dragana Damjanovic
7cbd07a051 Bug 1150812 - xcpshell test for PushService with http2. r=nsm, r=mt 2015-06-02 07:16:00 -04: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
50d7b60872 Bug 1150812 - Split PushService - make the separation more common for webSocket and http2. r=nsm, r=mt 2015-06-03 08:05:00 -04:00
Dragana Damjanovic
3f73665213 Bug 1150812 - Split PushService - separate webSocket part. r=nsm, r=mt 2015-06-03 08:04:00 -04:00
Andrea Marchesini
a71e717b67 Bug 1162088 - patch 1 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm, r=bholley 2015-06-03 09:43:43 +01:00
Fernando Rodriguez Sela
9caf60383a Bug 1152264 - Push API constantly doing requests. r=nsm
--HG--
extra : rebase_source : b8440e5098a69e9ce6d64783992ddfe2e034cf33
2015-05-11 07:06: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
Doug Turner
e62a465a91 Bug 1160333 - When denying permission, use the string 'PermissionDeniedError'. r=nsm 2015-05-01 11:01:17 -07:00
Doug Turner
817e793cea Bug 1160316 - Bump IndexedDB name. r=nsm 2015-05-01 10:54:48 -07:00
Kit Cambridge
fb8ad5dbce Bug 1159310 - Update the storage xpcshell tests. r=dougt
--HG--
extra : rebase_source : 3a49ed7f897c4edda9a2b84e4bd9f5f31777d3e2
2015-04-29 05:31:00 -04:00
Doug Turner
9bf4add3ed Bug 1159310 - Remember the push count and last push time for push events. r=kit
--HG--
extra : rebase_source : 58b5f6f1b0e98e201f77b4ec3feabce6c8ef5394
2015-04-28 09:44:00 -04:00
Carsten "Tomcat" Book
f44696b7a9 Backed out changeset 0efce0a97efe (bug 1159310) for xpc bustage on a CLOSED TREE 2015-04-29 09:53:02 +02:00
Doug Turner
5f2f255c9e Bug 1159310 - Remember the push count and last push time for
push events. r=kit
2015-04-28 09:40:57 -07:00
Doug Turner
8129277b27 Bug 1149271 - Remove subscriptionid. r=baku 2015-04-26 03:59:38 -07:00
Dragana Damjanovic
984272cb6d Bug 1156397 - some fix for webpush PushServer. r=dougt r=nsm
--HG--
extra : rebase_source : 06425ea3c83db38da11e345ee998a470f9e26570
2015-04-24 14:55:00 +02:00
Doug Turner
fb4dac7539 Bug 1157732 - Allow ws (insecure) connections to localhost. r=kcambridge 2015-04-23 20:43:40 +02:00
Doug Turner
1803c2eea5 Bug 1157108 - onpush EventHandler support. r=ehsan 2015-04-23 20:43:40 +02:00
Doug Turner
91f963df66 Bug 1149274 - Clear site-permissions should clear all registered push notifications. r=nsm 2015-04-21 20:10:51 +02: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
Kit Cambridge
c32f94ac3c Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt
---
 dom/push/PushService.jsm | 156 ++++++++++++++++++++++++++++++++---------------
 dom/push/moz.build       |   2 +-
 2 files changed, 108 insertions(+), 50 deletions(-)
2015-04-21 20:10:50 +02:00
Kit Cambridge
1e06bb992c Bug 1150683 - Implement nsIPushNotificationService. r=dougt
---
 b2g/installer/package-manifest.in     |   2 +-
 browser/installer/package-manifest.in |   2 +-
 dom/push/Push.manifest                |  11 +-
 dom/push/PushNotificationService.js   |  81 +++++++++
 dom/push/PushService.jsm              | 324 ++++++++++++++++++++--------------
 dom/push/PushServiceLauncher.js       |  50 ------
 dom/push/moz.build                    |   2 +-
 7 files changed, 285 insertions(+), 187 deletions(-)
 create mode 100644 dom/push/PushNotificationService.js
 delete mode 100644 dom/push/PushServiceLauncher.js
2015-04-21 20:10:50 +02:00
Ehsan Akhgari
20c06b408e 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
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
Kit Cambridge
6499b8e520 Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt
---
 dom/push/PushService.jsm | 156 ++++++++++++++++++++++++++++++++---------------
 dom/push/moz.build       |   2 +-
 2 files changed, 108 insertions(+), 50 deletions(-)
2015-04-19 12:06:21 +02:00
Kit Cambridge
638298ddea Bug 1150683 - Implement nsIPushNotificationService. r=dougt
---
 b2g/installer/package-manifest.in     |   2 +-
 browser/installer/package-manifest.in |   2 +-
 dom/push/Push.manifest                |  11 +-
 dom/push/PushNotificationService.js   |  81 +++++++++
 dom/push/PushService.jsm              | 324 ++++++++++++++++++++--------------
 dom/push/PushServiceLauncher.js       |  50 ------
 dom/push/moz.build                    |   2 +-
 7 files changed, 285 insertions(+), 187 deletions(-)
 create mode 100644 dom/push/PushNotificationService.js
 delete mode 100644 dom/push/PushServiceLauncher.js
2015-04-19 12:06:11 +02:00
Doug Turner
9fc749138a Bug 1155253 - Back out 304f87a54059 due to a startup regression. r=me 2015-04-16 11:57:34 -07:00
Doug Turner
11be87f208 Bug 1153937 - enable PushServiceLauncher. r=nsm 2015-04-13 10:03:24 -07: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
Kit Cambridge
725444a06f Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt 2015-04-13 17:25:18 -07:00
Kit Cambridge
261b139ba8 Bug 1150683 - Implement nsIPushNotificationService. r=dougt 2015-04-13 17:25:18 -07:00
Doug Turner
d0dec8f3f4 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
3dc192b085 Bug 1038811 - Push Notifications - Tests. r=nsm 2015-04-10 20:19:28 -07:00
Doug Turner
a6d4711eae Bug 1038811 - Push Notifications - Push implementation changes. r=nsm 2015-04-10 20:19:28 -07:00
Dragana Damjanovic
9441d5b1f1 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-04-08 15:35:00 -04:00
Bevis Tseng
ccd20872ec Bug 1114935 - Part 6.6: Migration in PushService.jsm. r=nsm
--HG--
extra : histedit_source : d738f21877abff326fffd9e2c7551c3529c49eb2
2015-01-15 18:40:01 +08:00
Gregor Wagner
fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Bevis Tseng
9965fdaa44 Bug 1114935 - Part 6.6: Migration in PushService.jsm. r=nsm
--HG--
extra : rebase_source : 91899bb1b11a931e083e0aef8ce70f4dc8aaea93
extra : histedit_source : 5d61014d8ffbdaa49cbab5adeb0d589287884b72
2015-01-15 18:40:01 +08:00
Nikhil Marathe
9ce4ae6f50 Bug 1080752 - Hold wakelock when attempting to connect to push server. r=dougt
--HG--
extra : rebase_source : 584f9f681262a74ed0149f5cefbcc5afccdeb04e
2015-03-09 15:40:04 -07:00
Ryan VanderMeulen
91323d7a02 Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
CLOSED TREE

--HG--
extra : rebase_source : c38820b067a8faf405bfae7f5b5fb1089bd29bbc
2015-03-09 16:35:06 -04:00
Dragana Damjanovic
a2a4213345 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-03-06 06:38:00 -05:00
Fernando Rodriguez Sela
012071b939 Bug 1100863 - SimplePush: Adaptive ping doesn't work when it converge. f=jorgep, r=nsm 2015-02-16 01:00:00 -05:00
Christoph Kerschbaumer
4441dedb34 Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - websocket changes in dom/push/ (r=nikhil) 2015-02-17 10:10:16 -08:00
Birunthan Mohanathas
8fd8152982 Bug 1058101 - Flatten dom/push/src/ into parent directory. r=mccr8
--HG--
rename : dom/push/src/Push.js => dom/push/Push.js
rename : dom/push/src/Push.manifest => dom/push/Push.manifest
rename : dom/push/src/PushService.jsm => dom/push/PushService.jsm
rename : dom/push/src/PushServiceLauncher.js => dom/push/PushServiceLauncher.js
2014-08-27 10:13:45 -07:00
Birunthan Mohanathas
db2972728d Bug 1044447 - Remove a few unnecessary empty moz.build files. r=glandium 2014-07-28 18:02:44 -07:00
Mike Hommey
2bab6202af Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Fernando Rodriguez Sela
806fddd8a7 Bug 1026599 - PUSH WakeUp netid discover using the reserved 3gppnetwork.org domain. r=nsm 2014-07-16 02:44:00 +02:00
Guillermo López
fb9054eae3 Bug 894879 - Calculate a adaptive ping for mobile and wifi connections. r=nsm.nikhil 2014-07-09 10:37:58 +02:00