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 |
|
Kit Cambridge
|
0b4c52f8ab
|
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
|
5fe395d4c5
|
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
|
b321f925bd
|
Bug 1155253 - Back out 304f87a54059 due to a startup regression. r=me
|
2015-04-16 11:57:34 -07: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 |
|
Kit Cambridge
|
29de845fb6
|
Bug 1150683 - Add xpcshell test hooks to PushService.jsm. r=dougt
|
2015-04-13 17:25:18 -07:00 |
|
Kit Cambridge
|
41a9360ca4
|
Bug 1150683 - Implement nsIPushNotificationService. r=dougt
|
2015-04-13 17:25:18 -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 |
|
Doug Turner
|
dcef59f423
|
Bug 1038811 - Push Notifications - Push implementation changes. r=nsm
|
2015-04-10 20:19:28 -07:00 |
|
Dragana Damjanovic
|
5487d8f5d2
|
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
|
efdc75c2c9
|
Bug 1114935 - Part 6.6: Migration in PushService.jsm. r=nsm
|
2015-01-15 18:40:01 +08:00 |
|
Gregor Wagner
|
8824e5f4f3
|
Backout Bug 1114935 for causing bug 1144567.
|
2015-03-18 11:48:52 -07:00 |
|
Bevis Tseng
|
61e64e0df5
|
Bug 1114935 - Part 6.6: Migration in PushService.jsm. r=nsm
|
2015-01-15 18:40:01 +08:00 |
|
Nikhil Marathe
|
0f2aa2d499
|
Bug 1080752 - Hold wakelock when attempting to connect to push server. r=dougt
|
2015-03-09 15:40:04 -07:00 |
|
Ryan VanderMeulen
|
6a29d99f87
|
Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
CLOSED TREE
|
2015-03-09 16:35:06 -04:00 |
|
Dragana Damjanovic
|
82e64af87e
|
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
|
fffeb6fe11
|
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
|
33f5a03408
|
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
|
c8637db461
|
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
|
feb82601ea
|
Bug 1044447 - Remove a few unnecessary empty moz.build files. r=glandium
|
2014-07-28 18:02:44 -07:00 |
|
Mike Hommey
|
010c0a5eb7
|
Bug 1043820 - Remove PARALLEL_DIRS. r=gps
|
2014-07-29 08:57:59 +09:00 |
|
Fernando Rodriguez Sela
|
756be3d8c2
|
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
|
86c8e0e5cf
|
Bug 894879 - Calculate a adaptive ping for mobile and wifi connections. r=nsm.nikhil
|
2014-07-09 10:37:58 +02:00 |
|
Guillermo López
|
c62aa959ad
|
Bug 1024579 - Create a sync getNetworkInformation and make getNetworkStatus use it. r=nsm
|
2014-06-16 00:24:05 +02:00 |
|
Fernando Rodriguez Sela
|
2b281ae3db
|
Bug 1018088 - PUSH wakeup compatible multiple mobile networks carriers. r=nsm
|
2014-06-09 00:32:00 -04:00 |
|
Fernando Rodriguez Sela
|
ec5f8b196f
|
Bug 1018164 - Fix IP address recovery in PushService. r=nsm
|
2014-06-03 23:45:00 -04:00 |
|
Fabrice Desré
|
7c31c13927
|
Bug 996384 - WebappsApplication#clearBrowserData should not clear app's alarms from mozAlarms r=gene,nsm
|
2014-04-16 10:48:01 -07:00 |
|
Paolo Amadini
|
e7ed1c1bf4
|
Bug 984788 - Convert legacy uses of promise.js to Promise.jsm. rs=Yoric
|
2014-03-18 15:16:02 +01:00 |
|
Guillermo López
|
cb5a576e82
|
Bug 980846 - Second wakeup message does not send the port. r=nsm.nikhil
|
2014-03-10 11:59:28 -04:00 |
|
Nikhil Marathe
|
e000a04c10
|
Bug 978062 - Fix SimplePush UDP port debug message. r=khuey
|
2014-03-05 16:23:03 -08:00 |
|
Guilherme Gonçalves
|
0ee307b407
|
Bug 956085 - Fix strict mode violation in PushService.jsm. r=nsm
|
2014-01-03 09:32:37 -05:00 |
|
Ben Kelly
|
bcd2ecd2a2
|
Bug 924565: Part 1: Declare nsIObserver QI in DOMRequestHelper child classes. r=fabrice
|
2013-11-20 13:33:10 +08:00 |
|
Jan Varga
|
340148eccf
|
Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
|
2013-11-19 08:36:12 +01:00 |
|
Carsten "Tomcat" Book
|
52bb79098d
|
Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/indexedDB/test/test_globalObjects_content.html => dom/indexedDB/test/test_globalObjects.html
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects.xul
rename : dom/indexedDB/test/unit/test_globalObjects_xpc.js => dom/indexedDB/test/unit/test_globalObjects.js
|
2013-11-19 11:41:52 +01:00 |
|
Jan Varga
|
0d595eff6d
|
Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
|
2013-11-19 08:36:12 +01:00 |
|
Shih-Chiang Chien
|
2c9fa60ce7
|
Bug 938492 - Correct contractID and interface name, remove obsolete test file. r=mcmanus
|
2013-11-14 15:26:50 -05:00 |
|
Shih-Chiang Chien
|
a3ff2ad0ac
|
Bug 869869 - Part 1, change nsUDPServerSocket to nsUDPSocket, r=mcmanus.
--HG--
rename : netwerk/base/public/nsIUDPServerSocket.idl => netwerk/base/public/nsIUDPSocket.idl
rename : netwerk/base/src/nsUDPServerSocket.cpp => netwerk/base/src/nsUDPSocket.cpp
rename : netwerk/base/src/nsUDPServerSocket.h => netwerk/base/src/nsUDPSocket.h
|
2013-05-10 20:00:22 +08:00 |
|
Edgar Chen
|
3ce52dade0
|
Bug 926343 - Part 7: Use default clientId in PushService. r=nsm
|
2013-10-16 18:29:36 +08:00 |
|
Edgar Chen
|
af399dd0c4
|
Bug 921402 - Part 2: [PushService] Use nsIIccProvider to get iccInfo. r=nsm
|
2013-09-27 17:55:07 +08:00 |
|
Jan Varga
|
23ce3971fb
|
Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger)
|
2013-09-28 13:25:46 +02:00 |
|
Fernando Rodriguez Sela
|
954326c862
|
Bug 908098 - Randomize UDP listening port. r=nsm
|
2013-09-25 09:20:06 -04:00 |
|
Nikhil Marathe
|
1664e6204d
|
Bug 917029 - SimplePush: Clear push data when webapps-clear-data is received. r=dougt
|
2013-09-20 11:17:40 -07:00 |
|
Nikhil Marathe
|
23bfe209f1
|
Bug 867614 - SimplePush: Failure to register should lead to socket reconnection. r=dougt
--HG--
extra : rebase_source : 798bf44e8e63c07692f91c5af526f962041bb518
|
2013-09-17 10:10:36 -07:00 |
|
Nikhil Marathe
|
a384ea2033
|
Bug 917051 - SimplePush: Clean up unregister related code. r=dougt
--HG--
extra : rebase_source : 461b394aeb28538d1ce8ec875c864bbf4f2c52a7
|
2013-09-16 23:47:47 -07:00 |
|
Nikhil Marathe
|
6a78a75368
|
Bug 914369 - SimplePush: Add debug pref to allow toggling debug settings at runtime. r=dougt
--HG--
extra : rebase_source : 1bd40b20ea036906e532bdb56d44f9c40c15fd94
|
2013-09-16 16:55:26 -07:00 |
|
Nikhil Marathe
|
63bb6d784e
|
Bug 884625 - SimplePush: Convert var to let. r=dougt
--HG--
extra : rebase_source : faeed4b5edb38205d05ad9f930c2e324d0672bfc
|
2013-09-16 16:53:27 -07:00 |
|
Guillermo Lopez
|
8d5c585eec
|
Bug 910686 - If udp.wakeupEnabled is false or not set, we should not send any wakeup info. r=nsm
|
2013-08-29 14:37:03 +02:00 |
|