Kit Cambridge
1c0dc1a969
Bug 1205137 - Add a `PushSubscription` serializer. r=mt,smaug
...
--HG--
extra : commitid : F5xjqIFcach
extra : rebase_source : 61b0a0cbae318f7afc51752fc31a7133b8abd15c
2015-12-14 16:28:19 -08:00
Kit Cambridge
7963856ba1
Bug 1189998, Part 4 - Add authentication secret to Push data test. r=dragana
...
--HG--
extra : commitid : KJvXUjiZrTC
extra : rebase_source : 49c8b9529ba9b47e67852c3b8c43a26017f1b31f
2015-12-11 11:16:46 -05:00
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
Kit Cambridge
2aac6b9fea
Bug 1189998, Part 2 - Migrate Push service callers. r=mt
...
--HG--
extra : commitid : Irrl5pvEqC
extra : rebase_source : 11c261c95820225bcc50976956000f34a79f9578
2015-12-08 15:41:48 -05:00
Kit Cambridge
d1e4feb4e5
Bug 1189998, Part 1 - Consolidate Push client interfaces. r=mt,dragana
...
--HG--
extra : commitid : GZtcmH86Wg4
extra : rebase_source : b1f7410370991819a29c9142d6dee11261f09905
2015-12-08 15:41:41 -05:00
Martin Thomson
0a36983413
Bug 1225968 - Adding more messages to the push message tests, r=kitcambridge
...
--HG--
extra : commitid : DKvDzgHBTd7
extra : rebase_source : 953a864bb23b9b24d14957e49490fdcf1ed36818
2015-12-05 21:51:59 +11:00
Martin Thomson
0b2ee432a6
Bug 1225968 - Refactoring to move some of the push crypto logic, r=kitcambridge
...
--HG--
extra : commitid : DCuRgytkyJI
extra : rebase_source : de8696757ea1ae71071f8e53bed51eb218a6f20e
2015-12-04 08:24:47 +11:00
Martin Thomson
d8c0edad16
Bug 1225968 - Refactor data delivery tests to support addition of new tests, r=kitcambridge
...
--HG--
extra : commitid : BDX6sCt4cbd
extra : rebase_source : b13732d37c0fce50816f7e96a03f9bf3a8e76458
2015-11-20 14:21:24 -08:00
Martin Thomson
6e6387eecb
Bug 1225968 - Add authentication secret to push API, r=kitcambridge,smaug
...
--HG--
extra : commitid : 5qD0xsj9DLR
extra : rebase_source : 407d4152f897f87fa9b5fae8b6b93ef510cce59f
2015-12-09 07:26:42 +11:00
Fernando Jimenez
d4b4ef35f7
Bug 1227908 - JavaScript error: resource://gre/modules/PushService.jsm, line 281: ReferenceError: data is not defined. r=kcambridge
2015-11-26 16:52:54 +01:00
Boris Zbarsky
35f1292e72
Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib
2015-11-21 12:15:11 -05:00
Kit Cambridge
da70e5e668
Bug 1170115 - Use `clear-origin-data` to remove Push records. r=allstars.chh
...
--HG--
extra : commitid : HPTqiGSIMbc
extra : rebase_source : 04ebebe52cd847c2258913ca97ed2dcc09aa9c32
2015-11-13 15:18:10 -08:00
William Chen
551e115461
Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge
...
--HG--
extra : commitid : 6jOIM2i8D3P
extra : rebase_source : 2c3dbcb73f561d8a6132f465148b59d269f96d8b
2015-11-16 21:34:00 -08:00
William Chen
cfff602824
Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku
...
--HG--
extra : commitid : JIe7odI4Fgo
extra : rebase_source : f71dc1cf94def6ad72db773c1ba77473149f8359
2015-11-16 21:33:17 -08:00
William Chen
8588891ca7
Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge
...
--HG--
extra : commitid : 70QSm4u4WLW
extra : rebase_source : e52cc3bae822448e64dca6c40be48d74ea924e0b
2015-11-16 21:33:11 -08:00
Phil Ringnalda
6edbd4d1af
Back out 3 changesets (bug 1210211) for b2g build bustage
...
CLOSED TREE
Backed out changeset 204a1746f421 (bug 1210211)
Backed out changeset e5d16111e809 (bug 1210211)
Backed out changeset b78d00c9af42 (bug 1210211)
2015-11-16 19:34:14 -08:00
William Chen
658a242e1a
Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge
...
--HG--
extra : commitid : 7VLdKkGHG
extra : rebase_source : 222edbb7684e86e1fd656ad91df6d9ce4661105e
2015-11-16 13:20:20 -08:00
William Chen
1677aaeb9a
Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku
...
--HG--
extra : commitid : 7lTQ80hfQU6
extra : rebase_source : f31c7dd4c3dc9f9d4bb492791fd59c413268d22d
2015-11-16 13:20:15 -08:00
William Chen
e791f70b13
Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge
...
--HG--
extra : commitid : GXDHaPbe8pi
extra : rebase_source : 260a2a8e1434355671b25d58e36007c88b934464
2015-11-16 13:20:09 -08:00
Kit Cambridge
8431cd65cd
Bug 1223481 - Use the "potentially trustworthy origin" helper to validate Push server URLs. r=dragana
...
--HG--
extra : commitid : 6RrHT77kcOj
extra : rebase_source : b5b498cc266e2c1c97459ace3da3febbb6a34e65
2015-11-10 10:50:46 -08:00
Kit Cambridge
53cdf28e5a
Bug 1223202 - Only send subscription change events if the Push permission is granted. r=mt
...
--HG--
extra : commitid : 4m6UEhlrFtl
extra : rebase_source : 512c9e2ea4be850994e891fc8193df17a2788260
2015-11-10 14:27:47 -08:00
Kit Cambridge
b8e624b786
Bug 1210896, Part 2 - Use JS errors to reject internal Push promises. r=mt
...
--HG--
extra : commitid : CD3LEbvrDYq
extra : rebase_source : d1d633073a8729d67b44ad0f5b19afc50d692ebd
2015-11-09 13:58:50 -08:00
Kit Cambridge
e5aa219f60
Bug 1210896, Part 1 - Use `Console.jsm` to log Push errors. r=mt
...
--HG--
extra : commitid : D2lgLoQtSlk
extra : rebase_source : 58bb82b758ef4dc2c4e8b8a7e902c266670347e8
2015-11-09 13:58:32 -08:00
Kit Cambridge
1a2d174fbf
Bug 1206302 - Use `DOMException` for Push errors. r=mt
...
--HG--
extra : commitid : 12nCKPtERml
extra : rebase_source : 1d59f113235a98ca30653d2c935e0cc2e7bc8931
2015-11-05 10:38:35 -08:00
Kit Cambridge
a434586a78
Bug 1219063, Part 2 - Remove obsolete "push" permission. r=mt
...
--HG--
extra : commitid : Gwzo2WQgBrD
extra : rebase_source : 300428e3ce886f27b12f0c6abe503e2e002bbab8
2015-10-30 18:16:19 -07:00
Kit Cambridge
818dc96a78
Bug 1219063, Part 1 - Use transactions for updating Push subscription permissions. r=mt
...
--HG--
extra : commitid : 8ozjimWcLTn
extra : rebase_source : 8a7fe8f397256ce9e02a19bb7df40c8916a3beac
2015-10-30 18:15:48 -07:00
Kit Cambridge
5c2750f5a6
Bug 1159641, Part 2 - Use tasks in the Push permissions test. r=mt
...
--HG--
extra : commitid : 35UxmOh7qlF
extra : rebase_source : b8eed6ec86fd7a8738d4022bc0972f3d70830098
extra : histedit_source : 10083dedd8fdb3535c0d3d899c90da0a844a6de8
2015-10-30 11:48:56 -07:00
Kit Cambridge
ce72643192
Bug 1159641, Part 1 - Skip the permission check in `pushManager.getSubscription()`. r=mt
...
--HG--
extra : commitid : KlBKsjxZn42
extra : rebase_source : b7071400bdaec6eeabfad1f458bda023144e51b1
extra : histedit_source : c68c86bca0c4c2abe0c01bae824a43a36150c48d
2015-10-30 09:37:22 -07:00
Kit Cambridge
4792069b33
Bug 1218591 - Reset the WebSocket retry counter when the server replies. r=dragana
...
--HG--
extra : commitid : L8bN4lFe50x
2015-10-28 17:07:11 -07:00
Dragana Damjanovic
4cd1bc150b
Bug 1216683 - For the WebSocket version unregister should return true even if we are offline. r=kitcambridge
2015-10-27 09:13:00 +01:00
Carsten "Tomcat" Book
6dfc4c0fb5
merge mozilla-inbound to mozilla-central a=merge
2015-10-27 10:55:48 +01:00
Wes Kocher
167aaf2232
Merge m-c to fx-team, a=merge
...
--HG--
extra : commitid : JnFqljHzGAU
2015-10-26 14:39:31 -07:00
Ehsan Akhgari
7029e804f8
Bug 1218135 - Remove FetchEvent.client; r=bzbarsky
...
This has been removed from the spec. See:
https://github.com/slightlyoff/ServiceWorker/issues/723#issuecomment-123516555
2015-10-26 23:00:16 -04:00
Andrea Marchesini
8ec6671244
Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 1 - WindowID added into WebSocketChannel, r=michal
2015-10-26 15:29:28 +00:00
Nick Alexander
8b9481fa99
Bug 1214366 - Part 3: Use getLastVisited equivalent in PushService.jsm. r=kitcambridge,rnewman
...
--HG--
extra : commitid : 7BJvkjwmp6t
extra : rebase_source : b856fccd39ddf3cf8692b45b6b2d77e6c229f51a
2015-10-23 10:07:05 -07:00
Nick Alexander
094c128f78
Bug 1214366 - Part 1: Don't preprocess PushServiceWebSocket.jsm. r=kitcambridge
...
Just a little build system clean-up. There's no reason for this to be
special, and it's easier to use in the debugger with correct line
numbers.
--HG--
extra : commitid : JCVz3bj1bH5
extra : rebase_source : 73c3556e84f8e4b1189f54bad544033bdf27eb48
2015-10-16 14:04:37 -07:00
Kit Cambridge
641f7ea40a
Bug 1217065 - Unconditionally ack incoming updates. r=dragana,benbangert
...
--HG--
extra : commitid : B1gV3zsa54r
2015-10-22 10:32:33 -06:00
Kit Cambridge
bca5312693
Bug 1206163 - Retry failed register requests on reconnect. r=dragana
...
--HG--
extra : commitid : ITUpqPr1O3m
extra : amend_source : 8c9062cd1d3fcecc5b78ea0773fff3c618b440b5
2015-10-22 10:14:43 -06:00
Kit Cambridge
421c7b6540
Bug 1201128 - Don't send channel IDs in the Push handshake. r=nsm
...
--HG--
extra : commitid : 7fv5Up5JnkG
extra : rebase_source : 462ffb3f9b6caefa2d27f41e69e0c1d0c98f6690
2015-10-26 08:42:29 -07:00
Dragana Damjanovic
0515643189
Bug 1212593 - Fix PushService behavior when we are switching between push servers. r=kcambridge
2015-10-20 01:33:00 +02:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Kit Cambridge
3898c24797
Bug 1191453
- Drop subscriptions for a site when the user revokes push permissions. r=mt,MattN
...
--HG--
extra : commitid : JlZvX8xAxRf
extra : rebase_source : 14372dacf2d519784890550a0e77d4c05e4f2c1a
2015-10-06 08:14:25 -07:00
Nicholas Hurley
4c3788b7e0
Bug 1197847 - make debugging h2 and spdy test servers easier. r=mcmanus
...
--HG--
extra : rebase_source : d7559f26af0fb04ae2249db4acc181ff9be6eb6b
2015-10-05 13:13:05 -07:00
Kit Cambridge
74ef03c1a6
Bug 1192458, Part 1 - Consolidate push and desktop notification permissions. r=nsm,wchen,MattN
...
--HG--
extra : commitid : 1veevVaOOYv
2015-10-05 16:39:34 -07:00
Kit Cambridge
cfd53ffe54
Bug 1210943 - Drop subscriptions unconditionally if the UAID changes. r=benbangert
...
--HG--
extra : commitid : 6vvxcaIIAbE
extra : amend_source : 1ea3d4821cb9a7b799f33da897d14cbd28a0c118
2015-10-03 14:59:24 -07:00
Catalin Badea
12590da787
Bug 1188545 - Fixup for test_serviceworker_lifetime.html a=testonly
2015-10-01 01:42:18 -04:00
Catalin Badea
450ddec732
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 19:11:03 -04:00
Wes Kocher
6fbdec2422
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Stephanie Ouillon
5e14a3b3a8
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages r=bholley,fabrice,valentin
2015-08-26 13:12:13 +02:00
Catalin Badea
e3772b283b
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 10:14:33 -04:00