Masatoshi Kimura
415e3e6e03
Bug 1321252 - Stop setting "network.http.spdy.enforce-tls-profile" in tests. r=nwgh
...
MozReview-Commit-ID: 6qbgQxG32Kj
--HG--
extra : rebase_source : 7059b80aabaeff03bfb2608dd757c4401fdda0e7
2016-11-30 19:33:46 +09:00
Nicholas Hurley
ad0fdc81aa
Bug 1310855 - Remove hasNode xpcshell.ini variable r=mcmanus
...
MozReview-Commit-ID: Hx2e1JYfUfy
--HG--
extra : rebase_source : 70ffa6b9e38e357d797ef34a547d921e7a609410
2016-10-18 10:54:33 -07:00
Ehsan Akhgari
130dc996d0
Bug 1312101 - Part 1: Remove permission assertions through the message manager; r=baku
...
Since AddProcessChecker is going away, there's no point in these
permission checks any more.
2016-11-16 14:51:04 -05:00
Carsten "Tomcat" Book
c2fda627e6
Backed out changeset 829e818cd4c3 (bug 1263304
)
2016-11-11 10:47:37 +01:00
Catalin Badea
514563efd9
Bug 1263304
- Enable debugging statements in test_has_permissions.html r=me a=testonly
2016-11-11 00:07:15 +02:00
Sebastian Hengst
49b78ed119
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/push. r=RyanVM
...
MozReview-Commit-ID: Ku8mviLoJsT
--HG--
extra : rebase_source : f41790067ffa92449592a1d77beb024205ac002b
2016-11-05 11:29:17 +01:00
Kit Cambridge
2592d2afc8
Bug 1313063 - Only stop observing `dom.push.userAgentID` if we've finished the handshake. r=dragana
...
MozReview-Commit-ID: 8yjJfbXHLD5
--HG--
extra : rebase_source : a1f5e58d7489e70291598fb130e27a007d4dfd78
2016-10-27 08:55:50 -07:00
Kit Cambridge
3546f5ed59
Bug 1311739 - Silence `serverURL` pref warnings in push tests. r=dragana
...
MozReview-Commit-ID: 9Peorbb5pFS
--HG--
extra : rebase_source : b1050f209f8edbbf5aefd5cac91a94ee56de1620
2016-10-20 08:43:11 -07:00
Kit Cambridge
d1bf3d09e9
Bug 1311739 - `PushDB.update` should reject instead of returning `undefined` for invalid records. r=dragana
...
MozReview-Commit-ID: HCLOSz4FHWO
--HG--
extra : rebase_source : 57b4e19d3b391e9b0ad96b95d36aee4e3ebcc5a5
2016-10-20 08:45:44 -07:00
Kit Cambridge
ee288ff7bb
Bug 1311739 - Fail push tests with an informative error if the H/2 server port is missing. r=dragana
...
MozReview-Commit-ID: 97rOKjbDlTu
--HG--
extra : rebase_source : 62c385b7317a3d9d3a7ad807eca6667ae25a255b
2016-10-20 09:25:36 -07:00
Kit Cambridge
bfc6259dcd
Bug 1307577 - Switch to `createCodebasePrincipal` in `PushRecord`. r=mt
...
`createCodebasePrincipalFromOrigin` mangles the origin after extracting
the suffix. The proper long-term fix is to serialize and store the
original principal, instead of reconstructing a new codebase principal
from the scope and origin suffix.
MozReview-Commit-ID: bS2lRx3n7j
--HG--
extra : rebase_source : b62001f997718455b2b6c7cb3074ee79fa68ec25
2016-10-20 10:29:58 -07:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Kit Cambridge
e1271e1b81
Bug 1308590 - Link to references in the Push encryption error strings. r=flod
...
MozReview-Commit-ID: 9NPmNHoytrc
--HG--
extra : rebase_source : 1d0b8b075d178aab98941190b7177a66442d12ee
2016-10-07 11:48:58 -07:00
Ryan VanderMeulen
38574eeac5
Merge m-c to inbound. a=merge
2016-10-07 09:44:29 -04:00
Yoshi Huang
2a51f65d99
Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
...
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Kit Cambridge
a69ba96059
Bug 1301469 - Add localized decryption errors for invalid headers and padding. r=mt
...
Web Crypto returns an unhelpful "operation failed for an
operation-specific reason" error if the actual decryption fails, but
we can report more useful errors for missing and invalid header
values.
MozReview-Commit-ID: JRdGHBUodmb
--HG--
extra : rebase_source : 8f1b047b6f01c89a852aefbb1349a608f1178ab8
2016-10-05 08:57:52 -07:00
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