gecko-dev/dom
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
..
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 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
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 Bug 1148033 - BroadcastChannel API should rispect the B2G app sandboxes, r=ehsan 2015-04-02 17:05:50 +01:00
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 Bug 1147940 - Remove the dom.webcrypto.enabled pref as it is no longer necessary. r=smaug,r=rbarnes 2015-04-08 19:23:05 +01:00
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 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
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 Bug 1141017 - resurrect serif and monospace. r=ehsan 2015-03-30 11:58:00 +02:00
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 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
mobileconnection Bug 1027546 - Part 3: Create a new testcase. r=aknow 2015-03-23 03:42:00 -04:00
mobileid
mobilemessage Bug 1154186 - Deprecate nsISmsMessenger_new.idl. r=echen 2015-04-14 18:07:44 +08:00
network Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-04-08 15:35:00 -04:00
nfc Bug 1152667 - Remove NfcGonkMessage.h r=dimi 2015-04-09 15:54:02 +08:00
notification Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey 2015-04-13 21:08:00 -04:00
offline
payment
permission Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
phonenumberutils Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
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 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00
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 Bug 1151082 - RequestSyncAPI - avoid infinite loop when processing pending messages, r=ehsan 2015-04-09 19:59:39 +01:00
res
resourcestats
secureelement Bug 1149177 - [Secure Element] UiccConnector using nsIIccService. r=allstars.chh 2015-03-31 01:40:00 -04:00
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 Bug 1145551 - DTMF should be sent using the active SIM, the given or the default one (in that order). r=aknow 2015-04-09 19:22:37 +02:00
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 Bug 1142770 - part 2 - disable telephonyservice and voicemailservice. r=fabrice 2015-03-23 15:50:14 +08:00
vr Bug 1151937; [webvr] change deviceId/hardwareId to simple values; r=jrmuizel CLOSED TREE 2015-04-07 13:26:44 -04:00
wappush
webidl Back out 2 changesets (bug 1152902) for Gu bustage 2015-04-18 15:30:17 -07:00
wifi Bug 1084230 - Marionette test for WPA-EAP connection. r=hchang 2015-03-26 21:50:54 +08:00
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 Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan 2015-03-12 13:20:29 -04:00
xslt Bug 1155030 - Fix asterix/asterisk misspelling. r=ehsan 2015-04-17 11:09:58 +10:00
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