Kit Cambridge
d4dafb9ea8
Bug 1345665 - Implement the "aes128gcm" push decryption scheme. r=mt
...
MozReview-Commit-ID: 3touVfeSDwE
--HG--
extra : rebase_source : cb02c827fb657440c4ff05b7212a3015baff33be
extra : source : 117a38e95fd52cdba968e0f169ebb3a63e69e118
2017-05-11 22:03:26 -07:00
Kit Cambridge
3a3c236cd9
Bug 1345665 - Refactor push decryption into separate decoder classes. r=mt
...
This patch moves the decryption methods into a base `Decoder` class,
and an intermediate `OldSchemeDecoder` with subclasses for aesgcm and
aesgcm128. The base class provides a `decrypt` method that computes the
ECDH shared secret, derives the key and nonce, decrypts each record,
and removes padding. Subclasses implement `deriveKeyAndNonce`,
`unpadChunk`, `chunkSize`, and `padSize`.
MozReview-Commit-ID: IuGPaofWKNq
--HG--
extra : rebase_source : daaf414127a11525ce7d61c15b96e7f3493611de
2017-05-10 10:44:51 -07:00
Florian Queze
f935ddc4b3
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37f2343b9a
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
9e0ecf32c5
Backed out changeset e1f191aad863 (bug 1356569)
2017-04-14 23:39:17 +02:00
Sebastian Hengst
738d097aae
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
93a734a3ce
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Andrew McCreight
096d42a94b
Bug 1355619 - Don't load PushComponents.js in content processes at startup. r=kitcambridge
...
This avoids creating a compartment in every content process that does
not use the push service.
MozReview-Commit-ID: HQxrVp9DxFd
--HG--
extra : rebase_source : 4920c118c3385b73edc61980d5582f6ba0e29221
2017-04-11 14:27:25 -07:00
Marco Bonardo
eb7475a826
Bug 977177 - Move favicons to a separate store. r=adw
...
This patch moves favicons blobs to a separate database names favicons.sqlite.
The dabatase is then ATTACHED to the main Places connection, so that its tables
can be used as if they were all part of the same database.
The favicons.database contains 3 tables:
1. moz_pages_w_icons
This is the way to join with moz_places, through page_url_hash and page_url.
We are not using the place id to avoid possible mismatches between places.sqlite
and favicons.sqlite. This way the database is "portable" and reusable even
if places.sqlite changes.
2. moz_icons
Contains icons payloads, each payload can either be an SVG or a PNG. These
are the only stored formats, any other format is rescaled and converted to
PNG. ICO files are split into single frames and stored as multiple PNGs.
SVG are distinguishable through width == UINT16_MAX
In future the table will also contain mask-icon color for SVG and average
color for PNGs.
The fixed_icon_url_hash is "fixed" to allow quickly fetch root icons, that
means icons like "domain/favicon.ico" that can also be reused for any page
under that domain.
3. moz_icons_to_pages
This is the relation table between icons and pages.
Each page can have multiple icons, each icon can be used by multiple pages.
There is a FOREIGN_KEY constraint between this (child) table and icons
or pages (parents), so that it's not possible to insert non-existing ids
in this table, and if an entry is removed from a parent table, the relation
will be automatically removed from here.
Note though that removing from the relation table won't remove from the
parent tables.
Since the relations are now many-many, it's no more possible to simply join
places with the icons table and obtain a single icon, thus it's suggested that
consumers go through the "page-icon" protocol.
The migration process from the old favicons table is async and interruptible,
it will be restarted along with the favicons service until the temp preference
places.favicons.convertPayloads is set to true.
MozReview-Commit-ID: CUCoL9smRyt
--HG--
extra : rebase_source : 4d25966596dcdf63c9c872425c5bf147406d25ac
2016-11-14 16:22:46 +01:00
Michael Layzell
3e2ea2116b
Bug 1352772 - Send permissions to the content process before dispatching push events, r=catalinb
...
MozReview-Commit-ID: DVLjumi9iBJ
2017-04-10 16:03:03 -04:00
Kit Cambridge
be7ad3ff16
Bug 1345001 - Remove expiring Push telemetry probes. r=liuche
...
We haven't found these probes useful for understanding the value of
Push, and many can be better determined from server metrics.
MozReview-Commit-ID: GM9K59OAbMT
--HG--
extra : rebase_source : b4478fe2aad5ce01ba5955406300973b3e0fb699
2017-03-06 19:06:32 -08:00
Catalin Badea
0464363d1f
Bug 1300112 - Avoid duplicate push notifications by sending push messages to only one content process. r=kitcambridge
2017-03-09 11:12:49 +00:00
Joel Maher
f297f17181
Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
...
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Edouard Oger
44146ebe96
Bug 1339681 - PushServiceAndroidGCM: Send strings instead of json in event callbacks. r=Grisha
...
MozReview-Commit-ID: 29BEjnh1TpT
--HG--
extra : rebase_source : 91c36139fdb614b30900aeb36456981fe2961162
2017-02-15 18:47:30 +01:00
Bill McCloskey
46be3abeb0
Bug 1337577 - Ensure that console listeners never touch web content, including in tests (r=mccr8)
...
MozReview-Commit-ID: 7UVaNUyj5yq
2017-02-13 17:03:01 -08:00
Kit Cambridge
d06d0c7897
Bug 1337348 - Ensure array buffers and Base64-encoded strings can be passed as app server keys. r=baku
...
MozReview-Commit-ID: HgpSjhCKGgI
--HG--
extra : rebase_source : b93c6f6833fee7d1f7075dc006d0062c2df9190f
2017-02-07 13:56:01 -08:00
Jim Chen
9ad1c54661
Bug 1333590 - 3. Change remaining Messaging calls to EventDispatcher calls; r=sebastian
...
Convert calls in several places where we still use Messaging.* instead
of EventDispatcher.
2017-02-01 17:35:44 -05:00
Florian Quèze
bdc1ffa608
Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws.
2017-01-30 08:10:22 +01:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Florian Quèze
a03918c148
Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws.
2017-01-11 22:27:42 +01:00
Florian Quèze
fc6379e827
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
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
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