gecko/dom
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
..
activities
alarm Bug 1147804 followup: Add missing 'override' annotation to AlarmHalService::Notify declaration. rs=ehsan 2015-04-10 09:27:37 -07:00
animation Bug 1150351 - Reënable test_deferred_start.html on Linux, since the bug for which we disabled it has disappeared. 2015-04-17 09:13:13 -07:00
apps Bug 1154864 - Fix getScopeByLocalId use in PushService.jsm r=nsm 2015-04-16 18:15:18 -07:00
archivereader
asmjscache Bug 1155726 - OdinMonkey: add new cache failure code for when storage initialization fails (r=janv) 2015-04-17 13:17:30 -05:00
audiochannel Back out bug 1154243 since mWindow is an nsIDOMWindow 2015-04-14 08:54:59 -04:00
base Bug 1154679 - Part 1: Remove the usage of is_loosely from test_domrequesthelper.xul; r=Ms2ger 2015-04-18 19:10:17 -04:00
battery
bindings Back out 2 changesets (bug 1152902) for Gu bustage 2015-04-18 15:30:17 -07:00
bluetooth Bug 1155082: Share BluetoothUUID.{cpp,h} between Bluetooth v1 and v2, r=btian 2015-04-17 17:45:05 +02:00
broadcastchannel
browser-element Bug 1142806 - Try to keep at least one foreground process at any time. r=gsvelto 2015-04-13 16:25:09 +08:00
cache Bug 1149987 - Part 8: Do not store or match Response objects with a Vary:* header; r=bkelly 2015-04-15 15:55:51 -04:00
camera Bug 1139721 - Fix camera memory leaks for onfacedetected events, failed initializations and capabilities. r=mikeh 2015-04-17 07:09:54 -04:00
canvas Bug 994541 - Skip 789933-1.html on Linux debug due to frequent crashes. 2015-04-16 12:20:06 -04:00
cellbroadcast
contacts Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
crypto
datastore Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
devicestorage Bug 1020179 followup: Mark DeviceStorageRequest::GetRequester as override (and use NS_IMETHOD instead of NS_IMETHODIMP inside of class definition). rs=ehsan 2015-04-15 10:05:38 -07:00
downloads
encoding
engineeringmode
events Bug 1154679 - Part 2: Remove the usage of is_loosely from test_dragstart.html; r=Ms2ger 2015-04-18 19:10:48 -04:00
fetch Backed out changeset 1bbb1ec38652 (bug 1110485) 2015-04-15 09:54:45 +02:00
filehandle Bug 1125102 - Make QuotaManager and FileService to be independent of each other; r=bent 2015-04-14 10:57:41 +02:00
filesystem Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey 2015-04-13 21:08:00 -04:00
fmradio
gamepad
geolocation Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
html Bug 1155469 - Mark nsTextEditorState::mTextCtrlElement as MOZ_NON_OWNING_REF; r=baku 2015-04-17 11:14:46 -04:00
icc Bug 949849 - B2G RIL: Update the marionette test script for icc.updateContact. r=echen 2015-04-13 18:27:00 -04:00
identity
imptests
indexedDB Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
inputmethod
inputport Bug 1026350 followup #2: Use NS_IMETHOD instead of NS_IMETHODIMP for function-decl that happens to provide inline impl, in FakeInputPortService.cpp. rs=froydnj 2015-04-10 09:49:55 -07:00
interfaces Bug 1150683 - Add XPCOM interfaces for push notifications. r=dougt 2015-04-19 12:06:04 +02:00
ipc Merge m-c to inbound. a=merge 2015-04-17 16:11:58 -04:00
json Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
jsurl Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
locales Bug 1148354 - Deprecate the doppler effect from the PannerNode. r=ehsan 2015-04-16 15:35:19 +02:00
manifest Bug 1153958 - Make manifest processor e10s friendly. r=ehsan 2015-04-14 16:00:00 +02:00
mathml
media Bug 1154738 - Fixed WMFUtils.cpp compilation on mingw. r=mattwoodrow 2015-04-17 12:26:29 +02:00
messages
mobileconnection
mobileid
mobilemessage Bug 1154186 - Deprecate nsISmsMessenger_new.idl. r=echen 2015-04-14 18:07:44 +08:00
network
nfc
notification Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey 2015-04-13 21:08:00 -04:00
offline
payment
permission
phonenumberutils
plugins Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
power
presentation Bug 1153063 - turn on logging for debug in test_tcp_control_channel.js. r=fabrice 2015-04-15 11:01:02 +08:00
promise Back out 2 changesets (bug 1152902) for Gu bustage 2015-04-18 15:30:17 -07:00
push Bug 1150683 - Add xpcshell tests for nsIPushNotificationService. r=dougt 2015-04-19 12:06:31 +02:00
quota Bug 1125102 - Make QuotaManager and FileService to be independent of each other; r=bent 2015-04-14 10:57:41 +02:00
requestsync
res
resourcestats
secureelement
security Bug 1148732 - When checking a document's scheme, check the innermost uri. r=dveditz, smaug 2015-04-15 10:18:27 -07:00
settings Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
simplepush Bug 1038811 - Push Notifications - Move old push to simplepush. r=nsm. sr=jst 2015-04-10 20:19:28 -07:00
smil
speakermanager Bug 1151992 - Use call state to decide the usages of output device. r=baku 2015-04-10 17:00:14 +08:00
storage
svg Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
system Bug 1062462 - Copy Icc Info from the message delivered by ril_worker instead of the one in rilContext. r=echen. 2015-04-16 20:01:55 +08:00
telephony
tests Bug 1133833 - Disable a few tests on Android 4.3 for intermittent failures; r=trivial 2015-04-14 21:05:40 -06:00
tethering
time
tv
voicemail
vr
wappush
webidl Back out 2 changesets (bug 1152902) for Gu bustage 2015-04-18 15:30:17 -07:00
wifi
workers Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
xbl Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
xml
xslt
xul Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
jar.mn
moz.build Bug 1150683 - Add XPCOM interfaces for push notifications. r=dougt 2015-04-19 12:06:04 +02:00