Kit Cambridge
fb5b58f401
Bug 1301469 - Handle exceptions thrown by `PushCrypto.decodeMsg` as decryption errors. r=mt
...
Previously, errors thrown by `decodeMsg` and `getCryptoParams` would
bubble up to the catch handler in `receivedPushMessage`, causing us to
report "ACK_NOT_DELIVERED" instead of "ACK_DECRYPTION_ERROR" in the ack
sent to the server.
MozReview-Commit-ID: FZFzYdebQGy
--HG--
extra : rebase_source : b21f15cc9ac12ff11496d4f63ee531c021bd7a29
2016-10-05 08:56:55 -07:00
Sebastian Hengst
ca9181b9de
Bug 1306397 - Remove B2G event 'network-active-changed' and consumers from non-B2G/Gonk files: dom/push. r=kitcambridge
...
MozReview-Commit-ID: 2MbQ54EgOjh
--HG--
extra : rebase_source : f116c1563e6ec290a9be798af49363989b87311d
2016-09-29 19:53:44 +02:00
Gabriele Svelto
fe73634c76
Bug 1296579 - Remove the SimplePush API r=kitcambridge,baku
2016-09-01 20:17:03 +02:00
Ben Kelly
77f99cddcd
Bug 1262702 Avoid racing with initial shutdown in test_service_worker_lifetime.html. r=kitcambridge
2016-08-30 10:04:27 -07:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Edouard Oger
83666a61d8
Bug 1287643 - FxA Push registration and handling of device disconnection message. r=kitcambridge,nalexander
...
MozReview-Commit-ID: 8IH3kBivp26
--HG--
extra : rebase_source : b3e2d2587f111c9d2c8d0eab887027caf92fe859
2016-07-20 10:47:04 -07:00
Ben Kelly
b98f2c8525
Bug 1290116 P7 Fixed activation races in push service worker tests. r=kitcambridge
2016-08-18 07:12:09 -07:00
Andrea Marchesini
a672d6383b
Bug 1288903 - PushManager should create arrayBuffers and keys using the target window - part 2, r=kcambridge
2016-08-18 08:07:17 +02:00
Phil Ringnalda
4083fafafc
Backed out 10 changesets (bug 1290116, bug 1293690) for build bustage
...
CLOSED TREE
Backed out changeset bbc14d107fca (bug 1290116)
Backed out changeset a81b6ce5c25f (bug 1290116)
Backed out changeset e0b9c25b6125 (bug 1290116)
Backed out changeset 8e9a9ba04ce5 (bug 1290116)
Backed out changeset 2d5ad5e9ed20 (bug 1290116)
Backed out changeset eb7da0dbfc72 (bug 1290116)
Backed out changeset 6a4e8c92faae (bug 1290116)
Backed out changeset 0342d98afa10 (bug 1293690)
Backed out changeset d84b0768f0ce (bug 1293690)
Backed out changeset f9f62ade9508 (bug 1293690)
2016-08-17 21:16:43 -07:00
Ben Kelly
11f187d4ff
Bug 1290116 P7 Fixed activation races in push service worker tests. r=kitcambridge
2016-08-17 20:03:21 -07:00
Andrea Marchesini
6e070dd30b
Bug 1288903 - PushManager should create arrayBuffers and keys using the target window, r=kcambridge
2016-08-16 11:15:45 +02:00
Tim Huang
fd497dc733
Bug 1285889 - Moving the ContextualIdentityService.jsm from from browser/components/contextualidentity into tookit/components/contextualidentity. r=baku
...
--HG--
rename : browser/components/contextualidentity/ContextualIdentityService.jsm => toolkit/components/contextualidentity/ContextualIdentityService.jsm
2016-07-11 20:03:00 +02:00
Kit Cambridge
a89d36c0f5
Bug 1285311 - Mark `PushSubscriptionOptions.applicationServerKey` as `[SameObject]`. r=baku
...
MozReview-Commit-ID: D8wtnkFunRQ
2016-07-07 10:14:25 -07:00
Tim Huang
fe82695f5e
Bug 1238183 - Part 2 - Add a test case for testing the ForgetAboutSite with userContextId. r=jimm
2016-07-07 23:15:00 +02:00
Phil Ringnalda
38f200f8da
Back out 2 changesets (bug 1238183) for leaks from browser_forgetaboutsite.js
...
Backed out changeset 1207df32d737 (bug 1238183)
Backed out changeset 663a083774f4 (bug 1238183)
2016-07-04 10:11:21 -07:00
Tim Huang
472523ec05
Bug 1238183 - Part 2 - Add a test case for testing the ForgetAboutSite with userContextId. r=jimm
...
--HG--
extra : rebase_source : 5737f19a84813000297fc4c9bbd4bbc760f8a739
2016-07-04 00:36:00 +02:00
Andrea Marchesini
7fc60537c1
Bug 1280067 - WorkerThreadModifyBusyCount should be the default value for WorkerRunnable, r=sicking
2016-06-28 19:28:13 +02:00
Kit Cambridge
39cc699a48
Bug 1207744 - Track and re-send push unregister requests on reconnect. r=dragana
...
MozReview-Commit-ID: 2rFLm07n4EU
--HG--
extra : rebase_source : a93554e2320c0ff46e7b66d41f668ecaf75836d4
extra : source : f7e1ab1bd99c05c219fe75913f8f37ba39aec092
2016-06-08 06:13:15 -07:00
Kit Cambridge
9e36cfc751
Bug 1280106 - Don't send push events to service workers without a principal. r=dragana
...
MozReview-Commit-ID: JwTU633hENl
--HG--
extra : rebase_source : 58d7df0903d433f9070941fd7d6853f2f2471b9c
2016-06-27 08:22:59 -07:00
Christoph Kerschbaumer
1b81dcec35
Bug 1271198 - Convert Websockets to use AsyncOpen2(). r=jduell
2016-05-17 12:04:11 +02:00
Kit Cambridge
9960b60842
Back out changeset f7e1ab1bd99c (bug 1207744) for X(3) failures.
...
MozReview-Commit-ID: 5mgyh20yXiI
--HG--
extra : rebase_source : d3adb0098eb1615fdd134cbb4f0afd8a151a5066
2016-06-07 20:34:54 -07:00
Kit Cambridge
a48c0ef397
Bug 1277928 - Don't wait to update the quota for privileged push subscriptions. r=wchen
...
MozReview-Commit-ID: CwPR7vnvqNp
--HG--
extra : rebase_source : 9479af0cd51b8469fe2306a8f70643d4ae31a05b
extra : histedit_source : eceb7547fe1a90307ca26d550133a90daf6cf4ee
2016-06-03 11:45:46 -07:00
Kit Cambridge
d8d829d3c8
Bug 1207744 - Track and re-send push unregister requests on reconnect. r=dragana
...
MozReview-Commit-ID: 2rFLm07n4EU
--HG--
extra : rebase_source : 813c59ee7a4ca0c56717343683a54df22f1697de
extra : histedit_source : 9288402c263848c381995c3c9ae52950f6d65467
2016-06-06 16:29:36 -07:00
Kit Cambridge
55b7ef53d9
Bug 1207743 - Track recent push messages to avoid duplicate notifications on reconnect. r=dragana
...
MozReview-Commit-ID: KezPfa0yyO1
--HG--
extra : rebase_source : 86c3b0d78f2772369ebedd11d640a8b05e46d24f
extra : histedit_source : 531a495b7b3b3d8d4bf8b399f6beebf0805ac3bc
2016-06-04 13:17:12 -07:00
Kit Cambridge
7500315560
Bug 1275436 - Remove push subscriptions from the server after clearing permissions and site data. r=mt
...
Previously, we removed records locally, but didn't notify the server.
We can be nice and avoid making the server buffer messages for
subscriptions that the client will never use again.
MozReview-Commit-ID: 5iohGQPHXuz
--HG--
extra : rebase_source : 00639fe1016ffd241c18643049f4b061740025f1
2016-05-20 09:38:26 -07:00
Kit Cambridge
4dfcfb9ee7
Bug 1275436 - Simplify firing push subscription change events. r=mt
...
Even if the event handler calls `subscribe()` or `getSubscription()`,
the "readwrite" IDB transactions in `clearIf` and `forEachOrigin`
should execute first.
MozReview-Commit-ID: ETYGmnOIuag
--HG--
extra : rebase_source : 8f8847a825d1fcdb09a421b852e86b81431f7e8e
2016-05-05 09:12:35 -07:00
Kit Cambridge
8f4367fa09
Bug 1275434 - Add remote push observer tests. r=dragana
...
MozReview-Commit-ID: 4BVWwEbI2FX
--HG--
extra : rebase_source : 1ecd69b74a0329b14aa9ce8b3d4172bbf6278397
2016-05-19 21:41:15 -07:00
Kit Cambridge
a5dc7d0ed9
Bug 1275434 - Notify "push-subscription-modified" observers in the child. r=dragana
...
MozReview-Commit-ID: H3DGrhEm3fn
--HG--
extra : rebase_source : 37d9a07d2a852cdccb9e6c339cf9bcbe01fb6c88
2016-05-14 16:54:51 -07:00
Kit Cambridge
21fdc3d97d
Bug 1275434 - Refactor `PushNotifier` to clarify remoting logic. r=dragana
...
Previously, all `PushNotifier` methods checked the process type, and
either called `Notify*{Workers, Observers}` or sent an IPDL message.
The message handlers then called back in to `PushNotifier` from the
remote process.
This was clearer when we only sent worker event notifications to the
content process, and fired all observer notifications in the parent.
It became more complicated once we started notifying observers for all
subscriptions in both processes (bug 1266433). This makes it harder to
see omissions; for example, "push-subscription-modified" isn't
currently forwarded to the child, but "push-subscription-change" and
"push-message" are.
This patch moves the remoting code into `PushNotifier::Dispatch`, and
adds a base `PushDispatcher` class. Each notification type subclasses
this class and implements logic for sending messages and firing
observers and worker events. It's more code, but a bit easier to see
which methods are called where.
MozReview-Commit-ID: 7Q0eD7qXOrW
--HG--
extra : rebase_source : c69acb95a0cb5470cf1c804639971be41b976cc2
2016-05-19 19:01:34 -07:00
Kit Cambridge
02d8a1e5d9
Bug 1265593 - Forward app server keys to Autopush on Android. r=nalexander
...
MozReview-Commit-ID: 3J4mM1k0pcY
--HG--
extra : rebase_source : c5a33f2f7043321307da17a6915dedfac66f1fc9
extra : histedit_source : 0357740fc62df416635c90a1ad075f6ee5e492e8
2016-03-22 12:09:31 -07:00
Kit Cambridge
978954c755
No bug - Use the correct protocol for insecure Push server URLs. r=me
...
MozReview-Commit-ID: FmYTQMSIhkP
--HG--
extra : rebase_source : 9a17f7678d6e676e7aff85efbd0cbad7d6cf312a
2016-05-27 17:30:39 -07:00
Ben Kelly
0304c38349
Bug 1273920 P4 Fix bugs in dom/push/test_serviceworker_lifetime.html test. r=kitcambridge
2016-05-24 14:08:20 -07:00
Ben Kelly
8a4eee33d2
Bug 1254741 P3 Fix push test_serviceworker_lifetime.html test to expect new behavior. r=kitcambridge
2016-05-23 02:46:27 -07:00
Kit Cambridge
def695bf98
Bug 1274326 - Avoid adding history visits with future visit dates in the Push tests. a=testonly
...
MozReview-Commit-ID: 6jHgZg4qoul
--HG--
extra : rebase_source : 723d5921706a430518d057df62d0f3d8faf34fac
2016-05-19 17:43:21 -07:00
Kit Cambridge
b9c156e19b
Bug 1273260 - Add a pref to override push permissions. r=wchen
...
MozReview-Commit-ID: 8nJzACxIJmI
--HG--
extra : rebase_source : 05a0f8bae462f40ed78f8c0d2d2926aaf3ec0524
2016-05-17 08:32:05 -07:00
Sebastian Hengst
468fcc6924
Backed out changeset 2292661153e3 (bug 1271198) for web-platform failures. r=backout on a CLOSED TREE
2016-05-19 17:06:04 +02:00
Christoph Kerschbaumer
bbc661631e
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 15:42:01 +02:00
Sebastian Hengst
d6e3286232
Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE
2016-05-19 14:23:51 +02:00
Christoph Kerschbaumer
0e2d46a840
Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell)
2016-05-19 11:54:02 +02:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Kit Cambridge
29e9262000
Bug 1272054 - Replace "PermissionDeniedError" with "NotAllowedError" in the Push API. r=mt
...
MozReview-Commit-ID: Bn0bE3eALj4
--HG--
extra : transplant_source : %83%A7%C1%CB%00%BD%C8%60A%09%CA%FB%02M%5DbU%AB%04C
2016-05-11 10:48:31 -07:00
Kit Cambridge
f2f4e5708d
Bug 1206424 - Ensure `daysElapsed` is always non-negative when updating the push quota. r=wchen
...
--HG--
extra : rebase_source : 4c203d359f7bf965591442a3755675fd1d37ba3c
2016-05-09 20:54:05 -07:00
Kit Cambridge
de899472f4
Bug 1269436 - Always pass the principal to push observer notifications. r=dragana
...
MozReview-Commit-ID: J1vU3nRKlsa
--HG--
extra : rebase_source : 9a1fabbdc42afb92a224fb5e89c2eaf106943cc9
2016-05-02 09:38:47 -07:00
Kit Cambridge
a186376653
Bug 1269385 - Notify Dev Tools when a push subscription is modified. f=janx r=dragana
...
MozReview-Commit-ID: 3iTl7jH9IkB
--HG--
extra : rebase_source : 4b3fe86714564373cd4fc1efc10239e12b8bbc76
2016-05-02 08:20:14 -07:00
Andrea Marchesini
3b28920d8e
Bug 1270476 - Fix compilation issues on Android with PushEnabled. rs=jesup
...
CLOSED TREE
2016-05-05 06:21:00 -04:00
Kit Cambridge
c90a3eecfc
Bug 1185716 - Unregistering a service worker should drop its push subscription. r=bkelly
...
MozReview-Commit-ID: A5MtdADIQVV
--HG--
extra : rebase_source : 2a87866053ee500a245b5496c8810e19bd9490ee
2016-05-03 11:44:40 -07:00
Kit Cambridge
7e0401c6d3
Bug 1267889 - Always steal the error result in `PushMessage::Json`. r=dragana
...
MozReview-Commit-ID: FOpIoIYBCFW
--HG--
extra : rebase_source : b58a1e9a9199ec781afb7a1dde77b250711d8510
extra : amend_source : b2cb82443ee0022f036d318d33e16f3de0ecf406
2016-04-26 18:26:30 -07:00
Kit Cambridge
c6e8720d75
Bug 1267021 - Use fallible allocation and move semantics for Push events. r=wchen
...
MozReview-Commit-ID: H43zrz5fhvU
--HG--
extra : rebase_source : 63631f3c2f4a3389e8e0365cd9a770a537162762
2016-04-22 20:54:22 -07:00
Kit Cambridge
91fa002ac4
Bug 1267493 - Replace `isURIPotentiallyTrustworthy` usage in Push with a testing pref. r=dragana
...
MozReview-Commit-ID: LrjAyVeNMyI
--HG--
extra : rebase_source : 7b2f821a80f853986bb196d8fc5e1eae9d77fd48
2016-04-25 20:53:06 -07:00
Kit Cambridge
2e593175f4
Bug 1266433 - Update the comments in the Push XPIDL interfaces. r=me
...
MozReview-Commit-ID: 7s9VFqYYV9s
--HG--
extra : rebase_source : 65498b06fd03e7824cf197e4f292f8b7fd5e85fb
2016-04-26 10:20:08 -07:00
Kit Cambridge
14ee7e9341
Bug 1266433 - Indicate push subscriptions created by privileged code. r=dragana
...
MozReview-Commit-ID: HYKndQiU98U
--HG--
extra : rebase_source : 5671a231b02dacf71de77a0d15c284c9b6365a73
2016-04-23 19:41:59 -07:00
Kit Cambridge
6de951432a
Bug 1266433 - Clean up `nsIPushNotifier` static casts. r=dragana
...
MozReview-Commit-ID: AsZZ4TJquuB
--HG--
extra : rebase_source : c38f971c435748947c85c1f2bba9ea69d7fddaf1
2016-04-22 20:27:44 -07:00
Kit Cambridge
87fd821095
Bug 1266433 - Send an observer notification when a push subscription is lost. f=janx r=dragana
...
MozReview-Commit-ID: EjCVWje2jLB
--HG--
extra : rebase_source : 1cab8dfb1514a44a6e36f37e55e520ebaa343659
2016-04-21 12:04:15 -07:00
Kit Cambridge
4a32c937e7
Bug 1266433 - Send Push observer notifications to parent and content processes. f=janx r=dragana
...
MozReview-Commit-ID: 1aUS8HcQApo
--HG--
extra : rebase_source : 63c35b05cf9219c311ce96cd99932c6c20bd1e0c
2016-04-21 11:11:03 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Kit Cambridge
b3e4980239
Bug 1266569 - Avoid including the `ChromeUtils` binding in `Base64.h`. r=froydnj
...
MozReview-Commit-ID: 8ZLdMhJMaUe
--HG--
extra : rebase_source : d5cb2b5bcc587bad95e6223d18ef38c6937f9270
extra : histedit_source : 208b28d87e223333c2995fd615e0602b11d5bb68
2016-04-22 07:41:58 -07:00
Kit Cambridge
341af4d90b
Bug 1265914 - Remove Push UDP wake-up. r=dragana
...
MozReview-Commit-ID: 9uyrp75slCX
--HG--
extra : rebase_source : 92c211831bfb732ddf3b86eefd259b878f3ea7d5
extra : histedit_source : d363fd7b1fcaa0dfc48ff15425e0400ea91d6c20
2016-04-19 17:29:16 -07:00
Kit Cambridge
49323c9a2d
Bug 1265915 - Remove adaptive pings from the Push WebSocket backend. r=dragana
...
MozReview-Commit-ID: 9QuMFgIlOPQ
--HG--
extra : rebase_source : bee5228f2658bb1f01639a57af469054e5984080
extra : histedit_source : 0883971413987576abe6949819eb1377471aa0e6
2016-04-19 16:41:12 -07:00
Kit Cambridge
4f57dd25ce
Bug 1266540
- Stub out Push error reporting for the GCM and H2 backends. r=wchen
...
MozReview-Commit-ID: 9TFH69IrQpP
--HG--
extra : rebase_source : 3dca34edb05cc3f386872b555bb3455b2fead317
2016-04-21 13:35:26 -07:00
Kit Cambridge
4f645f9bfe
Bug 1247685 - Send subscription keys to the Push server. r=mt
...
MozReview-Commit-ID: 2i3UqgNGlEt
--HG--
extra : rebase_source : 9c30f34c7de7c9fa7f04db5f224bad3ac0e68904
2016-03-22 16:29:16 -07:00
Kit Cambridge
21365c8060
Bug 1247685 - Validate and store app server keys in the Push service. r=mt
...
MozReview-Commit-ID: KLm6mP22y2E
--HG--
extra : rebase_source : ccda66192d5a64427bfd8699a70081f581dac5a1
2016-03-16 02:53:13 -07:00
Kit Cambridge
3dc35814a4
Bug 1247685 - WebIDL and DOM implementation changes for app server keys. r=mt,baku
...
MozReview-Commit-ID: 1xYjSuLMnV4
--HG--
extra : rebase_source : 6bcb2e662cfa9a0d942731e8914a9df2e3dee197
2016-03-22 13:38:03 -07:00
Kit Cambridge
d21d6da5e8
Bug 1256488 - Add a Base64 URL-decoder for C++ and chrome JS callers. r=mt,baku
...
MozReview-Commit-ID: IrDwImYfHRu
--HG--
extra : rebase_source : ed7da7447e5d70c596234961625fcd4b8139814f
2016-03-22 12:09:04 -07:00
Jim Chen
c433e8ff00
Bug 1252650 - Support loading PushService immediately on Android; r=kitcambridge
...
Normally we delay-load PushService on session restore. However, we won't
have session restore when Gecko is running in background without GUI. So
we need a way to load PushService immediately.
2016-04-20 15:06:13 -04:00
Jonathan Watt
c55f3816d1
Bug 1265705 - Silence startup JavaScript strict warning in resource://gre/modules/PushService.jsm. r=kitcambridge
2016-04-13 18:16:29 +01:00
Kit Cambridge
f206eaee71
Bug 1263747 - Log error messages when stringifying errors. r=bgrins
...
MozReview-Commit-ID: 2MB8IDKfVHo
--HG--
extra : rebase_source : d7922cf9a5c1dc37283299aa97c4b596fb0b68bd
2016-04-11 14:51:33 -07:00
William Chen
7123f415a0
Bug 1260499 - Handle incoming messages before push service is initialized. r=nalexander,jchen
...
--HG--
extra : rebase_source : b36be1078f2952aab5cc95e4a9c2a44e85f7876b
2016-04-13 16:55:25 -07:00
William Chen
3b5039d9a7
Backed out changeset 6ccfb75c8926 (bug 1260499) for wrong patch
...
--HG--
extra : rebase_source : 2915ef7ca91bafc94532fb38a179cc49e9d4e9a0
2016-04-13 15:37:48 -07:00
Kit Cambridge
eafb9be496
Bug 1258595 - Wait for the Push service to shut down between tests. r=wchen
...
MozReview-Commit-ID: 1Ujqn1xNsMU
--HG--
extra : rebase_source : b51da9e58ce9904acff0202d57e258f1355076a1
extra : amend_source : 2ab09ebeb828a4ced87e88a0ced0447d2dfb8480
2016-04-08 11:39:00 -07:00
Kit Cambridge
ab3c075f11
Bug 1258595 - Shut down the Push service if errors occur at startup. r=wchen
...
MozReview-Commit-ID: HMWMJ5qPGwY
--HG--
extra : rebase_source : a59107cac8bd428ca521271be9045797e927b0cc
extra : source : 6733c0861332ad11ae84b9aedb0bc5ab642fa085
2016-03-21 18:07:16 -07:00
William Chen
01a139d9a0
Bug 1260499 - Handle incoming messages before push service is initialized. r=nalexander,jchen
...
--HG--
extra : rebase_source : 8f6682b61d77c4c943914b23f2eb5ba1c014a576
2016-04-13 14:30:33 -07:00
Carsten "Tomcat" Book
39feff8fe1
Backed out changeset 6733c0861332 (bug 1258595) for m3 test failures
2016-04-07 14:22:33 +02:00
Johann Hofmann
5c9a95e828
Bug 1262559: Fix misspelled comment in dom/push/PushServiceWebSocket.jsm; r=jdm
...
MozReview-Commit-ID: 6UhyYkb08Fr
--HG--
extra : histedit_source : 9260c1a47682a239d09f91dfe59d0b39e5d9335a
2016-04-06 20:18:04 +02:00
Kit Cambridge
9115d2a29b
Bug 1258595 - Shut down the Push service if errors occur at startup. r=wchen
...
MozReview-Commit-ID: HMWMJ5qPGwY
--HG--
extra : rebase_source : 348180c6eb9bfac5222371edaaa7850f750dabac
2016-03-21 18:07:16 -07:00
Mark Hammond
946a6203a0
Bug 1262618 - Fix an unchained promise and a couple of non-promise returns in the push service. r=wchen
2016-04-06 15:46:41 -07:00
Kit Cambridge
2bfd46b860
Bug 1257401 - Remove the worker descriptor for `PushManager`. r=khuey
...
MozReview-Commit-ID: 4nZElH1K3W5
--HG--
extra : rebase_source : d325e2fc44124acc0bd04b133605bf04a99ab906
2016-04-01 15:25:49 -07:00
Kit Cambridge
9bf9d2c2c9
Bug 1257401 - Remove the worker descriptor for `PushSubscription`. r=khuey
...
MozReview-Commit-ID: 9rTJn4KU2Es
--HG--
extra : rebase_source : 446483edea7d5a08c4accf3c4787f08bc3a94cd5
2016-03-31 10:49:07 -07:00
Kit Cambridge
a6d5a040d9
Bug 1257821 - Remove the authenticated `aesgcm128` content coding scheme. r=mt,marco
...
MozReview-Commit-ID: 5pX2GHJ2lNz
--HG--
extra : rebase_source : 8747786a915e0adb3be7555dd1648e3e03b4fbf0
2016-03-22 19:20:36 -07:00
Kit Cambridge
f57e60c641
Bug 1247089
- Log Web Push decryption errors. r=bkelly
...
MozReview-Commit-ID: HEEq8IPlwBx
--HG--
extra : rebase_source : 8501836fa322b3a09ffec21e83fdb32e4aa3abf5
2016-03-28 13:33:20 -07:00
Kit Cambridge
18c5c296ef
Bug 1246341 - Add a test for push event error reporting. r=dragana
...
MozReview-Commit-ID: LABOJnYtpD5
--HG--
extra : rebase_source : 86c27b8a2deb388cdb34a82aebd12b042477acb5
2016-03-28 11:40:58 -07:00
Kit Cambridge
d97d284c24
Bug 1246341 - Include status codes in "ack" and "unregister" requests. r=dragana
...
MozReview-Commit-ID: Gsh3FhTfvkX
--HG--
extra : rebase_source : 94b9afcf006a6201f01875df1aae20c8bb52fb76
2016-03-28 12:29:25 -07:00
Kit Cambridge
d55b21e98b
Bug 1246341 - Report push event errors and rejections to the Push service. r=baku
...
MozReview-Commit-ID: D6fRPqojOEh
--HG--
extra : rebase_source : 41c55862cb7393681fdea28e35b689a970a376c3
2016-03-28 11:50:39 -07:00
Kyle Huey
d9265a3eaf
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Kit Cambridge
8943858ebf
Bug 1253831 - Don't check actual intervals in the Push backoff test. r=wchen
...
MozReview-Commit-ID: CUESwtv58LJ
--HG--
extra : rebase_source : 600b8baeeea6334726c88bf1cba64b2d5635c405
2016-03-19 15:29:11 -07:00
Kit Cambridge
bc0b536de1
Bug 1257821 - Support the new `aesgcm` content encoding scheme. r=mt
...
MozReview-Commit-ID: IPNXletzJRK
--HG--
extra : rebase_source : 3593624d3513a0ccc7422bfeefe5c85dca37541a
2016-03-18 09:01:50 -07:00
Kit Cambridge
755fc071a9
Bug 1258883 - Add a way to replace the entire Push service in tests. r=wchen
...
MozReview-Commit-ID: ExJPShvXL5L
--HG--
extra : rebase_source : acafdaf81a8c47d811772dfabc24e001a69d429b
2016-03-22 17:34:41 -07:00
Kit Cambridge
896fb82ab8
Bug 1258145 - Remove `waitForPromise` from the xpcshell tests. r=wchen
...
MozReview-Commit-ID: 6dX63gyXw07
--HG--
extra : rebase_source : b5638140200403f4441ab2a60d69b3baae6d6de6
2016-03-19 14:57:15 -07:00
Ryan VanderMeulen
dd9dced81d
Merge inbound to m-c. a=merge
2016-03-19 11:22:28 -04:00
Ryan VanderMeulen
d37d8fbb9a
Bug 1257708 - Move dom/push/test back into mochitest-plain instead of a separate test suite.
2016-03-19 11:02:04 -04:00
William Chen
1d955fb568
Bug 1164432 - Update test_try_registering_offline_disabled.html to use mock push server. r=kitcambridge
2016-03-19 00:35:57 -07:00
Ryan VanderMeulen
ae58ec8c78
Backed out changeset 7e63f8cd76bb (bug 1164432) for test_try_registering_offline_disabled.html failures.
2016-03-19 00:01:19 -04:00
William Chen
a07586e88d
Bug 1164432 - Update test_try_registering_offline_disabled.html to use mock push server. r=kit
2016-03-18 00:20:00 -04:00
Kit Cambridge
fa6e8e2743
Bug 1257405 - Increase auth secret length to 16 octets. r=mt
...
MozReview-Commit-ID: 3oiYMgQHckk
--HG--
extra : rebase_source : b15e184c0ffd3845eaf913ec5cdb654b9a7a1932
2016-03-16 19:53:19 -07:00
William Chen
6f3a1d7c9e
Bug 1244816 - Create PushService mock for mochitests backed by a mock web socket. r=kitcambridge
2016-03-17 17:11:22 -07:00
William Chen
2d5b3a7771
Bug 1246066 - Clear PushService timeout tasks on uninitialization. r=kitcambridge
2016-03-16 10:03:02 -07:00
Wes Kocher
0fbf6c1476
merge inbound to m-c a=merge
...
MozReview-Commit-ID: BHxDQF6gIe3
2016-03-08 16:00:45 -08:00
vladikoff
5ceebef356
Bug 1247786 - Add push subscription to device registration r=kitcambridge,markh
...
MozReview-Commit-ID: 40Tt8sJPYrr
--HG--
extra : rebase_source : e80d3230a7a38e2b28c736cb0188c60be1d6a871
2016-03-07 00:00:34 -05:00
Mark Hammond
61b041057e
Bug 1252290 - load xpcom services registered with the category manager as being able to handle push notifications before delivering them. r=kitcambridge
2016-03-07 16:46:10 +11:00
Ryan VanderMeulen
54367e83bf
Merge fx-team to m-c. a=merge
2016-03-05 19:22:45 -05:00
Nick Alexander
ccc9fe3af8
Bug 1214338 - Implement Android GCM-based PushService protocol. r=rnewman r=kitcambridge
...
MozReview-Commit-ID: 1KV7CZBuosx
--HG--
extra : rebase_source : 3471f20edb2da4e4c2878c0ab130801237b63597
2016-03-04 15:48:09 -08:00
Kit Cambridge
d2fcfdda5d
Bug 1253438 - Expose Push observer notification topics. r=markh
...
MozReview-Commit-ID: HublNSAD3NY
--HG--
extra : rebase_source : ca89fad6bfafa403e97c1e1defc4d3a0673af430
2016-03-03 14:37:10 -08:00
J. Ryan Stinnett
2a55d065b7
Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
...
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement. Other
methods that pass these values around also have name changes.
Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc. No changes are made to any
serialization formats. Only runtime method and variable names are updated.
No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations. These are corrected in subsequent patches
focused on behavior.
MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Ehsan Akhgari
119e7f4cad
Bug 1232029 - Set some prefs that some tests rely on explicitly; r=bkelly
2016-03-01 10:09:06 -05:00
Ehsan Akhgari
8a0731fdde
Bug 1251875 - Part 1: Remove the dom.serviceWorkers.interception.enabled pref; r=bkelly
2016-03-01 09:16:38 -05:00
Boris Zbarsky
f47268eca8
Bug 1252127. Remove unnecessary JSContext argument from PromiseWorkerProxy::CleanUp. r=khuey
2016-02-29 14:52:42 -05:00
Huma Zafar
06fc8dac78
Bug 1206166 - Move FetchUtil::Consume methods into separate BodyUtil class and update Fetch.cpp and ServiceWorkerEvents.cpp accordingly. r=kitcambridge
...
MozReview-Commit-ID: KgEccQ2LPpC
--HG--
extra : histedit_source : 17fb2f5c022399b050a12b013f004e628ca4b9d0
2016-02-27 13:54:11 -08:00
Boris Zbarsky
7345c5edb1
Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey
2016-02-26 15:23:12 -05:00
William Chen
92634cabdf
Bug 1251113 - Change PushService state to PUSH_SERVICE_UNINIT in the state change process queue. r=dragana
2016-02-26 10:29:09 -08:00
Kit Cambridge
705744ff4b
Bug 1243856 - Remove alarms from the Push H2 backend. r=dragana
...
MozReview-Commit-ID: LZJY0DtLE4E
--HG--
extra : rebase_source : 336c99819da6437a6a353946809f41b623bdc611
extra : source : a3a8b32866013bc64bf31c62a1fe9cf0a109cf33
2016-02-03 18:16:10 -08:00
Kit Cambridge
f82589cbd1
Bug 1243856 - Remove alarms from the Push WebSocket backend. r=dragana
...
MozReview-Commit-ID: c1P4xK8txJ
--HG--
extra : rebase_source : 879c96a6e3d7a691b8e377d24644e5a1888a2c75
extra : source : a8e2c9ff57a72a4810453643a571a42c96b6a10c
2016-02-03 15:27:34 -08:00
Kit Cambridge
10df43f248
Bug 1250266 - Always send a TTL in the Push mochitests. r=benbangert
...
MozReview-Commit-ID: 4hoBveTY2pE
--HG--
extra : rebase_source : a1728e6b23c5852d1ca2977fb9d150891568791d
2016-02-22 11:54:54 -08:00
Kit Cambridge
ff6fdbef17
Bug 1246073 - Fix unique constraint errors in the H2 backend when resubscribing. r=dragana
...
MozReview-Commit-ID: DciQIx9T99U
--HG--
extra : rebase_source : 4d9c3a40626280bdada21e58c3112b70b3ac5b2d
2016-02-04 20:17:07 -08:00
Nick Alexander
5f7db00eeb
No bug - Use default skip-if. r=me
...
We want to change this to run these tests on Fennec (but not b2gdroid);
this'll make it easier. In addition, this makes it easier to rebase
Fennec Push patches that touch this file.
MozReview-Commit-ID: 97UftkziZ4A
2016-02-15 09:54:23 -08:00
Carsten "Tomcat" Book
b8f6140f54
merge mozilla-inbound to mozilla-central a=merge
2016-02-10 11:47:34 +01:00
Marco Bonardo
d1f0a04370
Bug 1243778 - PushRecord::getLastVisit cannot rely on the Places url index anymore. r=kitcambridge
...
--HG--
extra : commitid : 4zr7xfJixhU
extra : rebase_source : b3fa86b314d338b2ee0fc846d212ba6bb6c2ab0c
2016-02-08 14:42:07 +01:00
Kit Cambridge
efe23eadc2
Back out 2 changesets (bug 1243856) for intermittent xpcshell failures on a CLOSED TREE.
...
--HG--
extra : commitid : HOS6utihBe9
2016-02-05 22:39:23 -08:00
Dragana Damjanovic
124d661902
Bug 1246632 - Fix ackMsgRecv in PushServiceHttp2.js. r=kitcambridge
2016-02-08 06:40:00 +01:00
Kit Cambridge
7242c3549a
Bug 1243856 - Remove alarms from the Push H2 backend. r=dragana
...
--HG--
extra : commitid : IdPNgHFGj1O
extra : rebase_source : c98f56b8c9e4683cf77ebd4269c834579d7651dd
2016-02-03 18:16:10 -08:00
Kit Cambridge
7bdf56f6bd
Bug 1243856 - Remove alarms from the Push WebSocket backend. r=dragana
...
--HG--
extra : commitid : BFuMZVMSDs0
extra : rebase_source : 072f03fc57886b4fac2b3727c8258e0177960127
2016-02-03 15:27:34 -08:00
Kit Cambridge
6a09c44325
Bug 1219064 - Add test for extendable `pushsubscriptionchange` event. r=mt
...
--HG--
extra : commitid : 11uVDDnvoeE
extra : rebase_source : 04651f9d10fe23b719800e0cf31174ba0239fd5e
2016-01-28 19:26:17 -08:00
Kit Cambridge
d977630d47
Bug 1243781 - Push methods called from a worker should reject with a `DOMException`. r=mt
...
--HG--
extra : commitid : GyMrfLbnMVY
extra : rebase_source : a68422c66ede9f3eaca14de1d966be75ebd622b9
2016-01-28 08:23:29 -08:00
Kit Cambridge
3439243de8
Bug 1191931, Part 2 - Test resubscribing from a worker. r=mt
...
--HG--
extra : commitid : 6ZboHyRd5dR
extra : rebase_source : 074381c7b5133f7c4f37ab660cfd7afa54a23c65
2016-01-28 08:06:32 -08:00
Kit Cambridge
02f444f5c0
Bug 1191931, Part 1 - Use tasks in the Push subscription tests. r=mt
...
--HG--
extra : commitid : EAUs5BX5o9E
extra : rebase_source : 4590d5d3a08ff89b35c9c237a910e8e4690c80ba
2016-01-28 07:57:42 -08:00
Paolo Amadini
8b8676204b
Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
...
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Wes Kocher
1b65a8ee2f
Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
...
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00
Carsten "Tomcat" Book
75413d36fe
Merge mozilla-central to fx-team
2016-02-01 16:26:01 +01:00
Carsten "Tomcat" Book
9a95326890
Backed out changeset 02bcedf966fd (bug 1191931) for still failing push perma failure
2016-02-01 12:41:03 +01:00
Carsten "Tomcat" Book
6f89c9107b
Backed out changeset 6df33c3ef63b (bug 1191931)
2016-02-01 12:40:38 +01:00
Carsten "Tomcat" Book
0cc03eb73c
Backed out changeset 6d13649d2f01 (bug 1243781)
2016-02-01 12:40:36 +01:00
Carsten "Tomcat" Book
dec75fcac9
Backed out changeset eaa49fbb1bc2 (bug 1219064) for perma failures in test_data.html
2016-02-01 10:06:43 +01:00
Paolo Amadini
ecd744bdef
Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
...
--HG--
extra : commitid : 6aGIHyyYqSo
extra : rebase_source : 38fbf5e49d06970555a088c5ea3f8379e2064767
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-01-30 18:53:56 +00:00
Kit Cambridge
b66b3437fe
Bug 1219064 - Add test for extendable `pushsubscriptionchange` event. r=mt
...
--HG--
extra : commitid : lQLs1WCMV3
extra : rebase_source : d12d9e7fde179d4135c2a1b224e50e75b61dc6ba
2016-01-28 19:26:17 -08:00
Kit Cambridge
cb042fa9d8
Bug 1243781 - Push methods called from a worker should reject with a `DOMException`. r=mt
...
--HG--
extra : commitid : 8agVK4llzMA
extra : rebase_source : 9f646dee24cc980bef4b01a86550e4e0f12bba14
2016-01-28 08:23:29 -08:00
Kit Cambridge
79cd67d0dc
Bug 1191931, Part 2 - Test resubscribing from a worker. r=mt
...
--HG--
extra : commitid : KDSIPXbjSMK
extra : rebase_source : 11e26748ef2f3762e3b8c046e4eef4a477562369
2016-01-28 08:06:32 -08:00
Kit Cambridge
f7a0799918
Bug 1191931, Part 1 - Use tasks in the Push subscription tests. r=mt
...
--HG--
extra : commitid : 5Pl1YQzsI9W
extra : rebase_source : d7acb5a8841fe60fa3aec5618f687da74ab0ed9a
2016-01-28 07:57:42 -08:00
Kit Cambridge
677a30a51e
Bug 1228723 - Avoid a promise worker proxy deadlock caused by synchronous Push callbacks. r=catalinb
...
--HG--
extra : commitid : 29ql3bnJye1
extra : rebase_source : 65b740bf55f7ca0b3cd2bc93d77b5a952d9a9feb
2016-01-26 12:16:32 -08:00
Bogdan Postelnicu
cc6b262ac4
Bug 1242436 - default value of ok = true in order to check the return of SendPush and SendPushSubscriptionChange. r=kitcambridge
...
--HG--
extra : rebase_source : 9824f8cea277bc6bf3cda2b0aba8e7336a88bd17
2016-01-25 14:47:06 +02:00
Kit Cambridge
a2a02af8bf
Bug 1239584, Part 3 - Update tests. r=dragana
...
--HG--
extra : commitid : KIDc3UHjz1N
extra : rebase_source : 9eccff6802a9453cfe5b3b318d38d13f1aab8a09
2016-01-13 22:26:57 -07:00
Kit Cambridge
942b8f74cd
Bug 1239584, Part 2 - Remove message manager usage from `PushService.jsm`. r=dragana
...
--HG--
extra : commitid : E25BNJCu4Wo
extra : rebase_source : 35d653077881c5736611745cf81463118040b0b5
2016-01-13 22:24:37 -07:00
Kit Cambridge
9e4ed15128
Bug 1239584, Part 1 - Add `nsIPushNotifier` and `nsIPushMessage` interfaces. r=dragana
...
--HG--
extra : commitid : HD2fDINypFu
extra : rebase_source : 477ab56822deb5e6423c8f9b36f1a5c119d07951
2016-01-13 22:19:51 -07:00
Kit Cambridge
f398300afc
Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE.
...
--HG--
extra : commitid : 74RywJW7UVo
extra : amend_source : 2088096e01cb7b6fda50c87f05d427cd79147554
2016-01-22 11:06:14 -08:00
Kit Cambridge
555408c01b
Bug 1239584, Part 3 - Update tests. r=dragana
...
--HG--
extra : commitid : JbCjwPZWvMU
extra : rebase_source : 4c2e62fd4029ed5b5b7df4e0a6fc96404cc40845
2016-01-13 22:26:57 -07:00
Kit Cambridge
9c253cf89e
Bug 1239584, Part 2 - Remove message manager usage from `PushService.jsm`. r=dragana
...
--HG--
extra : commitid : IzTj986v21P
extra : rebase_source : addf54af599fd1f930cdf1e5e72751ff962e5bf2
2016-01-13 22:24:37 -07:00
Kit Cambridge
ecc52d87d2
Bug 1239584, Part 1 - Add `nsIPushNotifier` and `nsIPushMessage` interfaces. r=dragana
...
--HG--
extra : commitid : F7MFsrMAXQy
extra : rebase_source : 3333eed45b538bccbdf2761a91fb5fada8fcf922
2016-01-13 22:19:51 -07:00
Kit Cambridge
0333c16142
Bug 1239558 - Exempt system Push subscriptions from quota and permissions checks. r=dragana
...
--HG--
extra : commitid : 6weiBkKPMVj
extra : rebase_source : b5d6479902725a37c5b212bc4b23dc8296f34c9a
2015-12-16 09:21:22 -08:00
Christoph Kerschbaumer
84b03c8a8e
Bug 1232910 - Use channel.asyncOpen2 within dom/push/PushServiceHttp2.jsm. r=sicking r=dragana
2016-01-19 20:00:18 -08:00
Nick Alexander
dcde606dc7
Bug 1240615 - Make PushService protocol init method return a Promise. r=kitcambridge
...
I'd like to make `PushService.init` fallible, but it's not obvious how
to act on failure. This patch at least allows each service to block
_startService until service-specific work initialization is complete.
--HG--
extra : rebase_source : 641bb24429116b4a1db10343b04f83cc6331dc39
2015-11-18 15:55:13 -08:00
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
Carsten "Tomcat" Book
64c0a617b7
Backed out 1 changesets (bug 1178533) for xpcshell-1 test failures
...
Backed out changeset b12584fad334 (bug 1178533)
2015-09-24 08:41:04 +02:00
Stephanie Ouillon
478b31c634
Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin
2015-09-23 07:41:00 +02:00
Carsten "Tomcat" Book
58878018ac
Backed out 1 changesets (bug 1178533) for s4 testfailures
...
Backed out changeset 8bbdb80f67e0 (bug 1178533)
--HG--
extra : rebase_source : 040491f382ad7b03ba803686601f1272416ab47d
2015-09-23 10:17:54 +02:00