Sebastian Hengst
409b7d9ed9
Backed out changeset 3a6cb84f8cf8 (bug 1341008) for frequently failing toolkit/components/extensions/test/xpcshell/test_ext_i18n.js on Windows. r=backout
2017-03-16 17:29:49 +01:00
Sebastian Hengst
e43c8a0ce7
Backed out changeset 8a1c36e9ba80 (bug 1341008)
2017-03-16 17:29:18 +01:00
Gabor Krizsanits
2fc4ec4086
Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag
2017-03-16 11:22:37 +01:00
Gabor Krizsanits
c49bd7ffcf
Bug 1341008 - Stop rebroadcasting BlobURLUnregistration. r=baku
2017-03-16 11:22:29 +01:00
Andrea Marchesini
a628be7b36
Bug 1344415 - Introduce a security check about which files can be opened by a content process, r=ehsan
...
Entries API gives access to the filesystem. With this patch we allow that only
to patches, previously shared by a FilePicker or a DataTransfer event.
2017-03-16 08:53:49 +01:00
Damien Zammit
ce4722833c
Bug 1341238 - Introduce (hidden) pref to force a particular libcubeb backend. r=kinetik,ehsan
...
This adds 'media.cubeb.backend' to ContentPrefs, which is necessary because
`cubeb_init` is called _very_ early in the lifetime of a content process,
because it needs to be called before enabling seccomp.
2017-03-16 18:26:33 +13:00
Kartikaya Gupta
77502d45a4
Bug 1345657. r=dvander
...
MozReview-Commit-ID: LRCtitKvGbJ
2017-03-15 15:30:10 -04:00
Brad Lassey
947433c766
bug 1342685 - Intermittent ts_paint | Found crashes after test run, terminating test r=billm
...
the << operator of std:stringstream is occationally hanging on Windows 7 PGO builds, this uses nsPrintfCString to do formatting rather than stringstreams and replaces the std::string with nsFixedCSting for string building
2017-03-15 13:35:53 -04:00
Sebastian Hengst
162864127d
Backed out changeset fc94903b628a (bug 1341008) for reftest failures on debug after asserting at nsLayoutStylesheetCache.cpp:253. r=backout
2017-03-15 13:47:54 +01:00
Sebastian Hengst
827fd8b459
Backed out changeset 26389c6e73ff (bug 1341008)
2017-03-15 13:47:02 +01:00
Gabor Krizsanits
9f8f7ef83a
Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag
2017-03-15 12:59:23 +01:00
Gabor Krizsanits
c5b50620ad
Bug 1341008 - Stop rebroadcasting BlobURLUnregistration. r=baku
2017-03-15 12:59:13 +01:00
Evelyn Hung
00c1af4647
Bug 1347117 - Add Activate/Deactivate/ParentActivated to PContentBridge; r=billm
...
In a nested content process setup, FocusManager needs to activate focus
to a remote frame through ContentBridgeParent, not ContentParent.
2017-03-15 02:00:00 +01:00
Phil Ringnalda
dd44ef2360
Backed out 3 changesets (bug 1346987) for media, blob, and temporaryfile failures
...
CLOSED TREE
Backed out changeset d24fa1b4553b (bug 1346987)
Backed out changeset 34701b9ed4ba (bug 1346987)
Backed out changeset f24f4fdc5cc8 (bug 1346987)
2017-03-14 20:03:31 -07:00
Ehsan Akhgari
cac5d34f3c
Bug 1346987 - Part 1: Introduce the asynchronous ContentChild::AsyncOpenAnonymousTemporaryFile() API; r=billm
2017-03-14 20:20:52 -04:00
Sebastian Hengst
1bb61f6114
Backed out changeset 2d2d603dbdaf (bug 1337056)
2017-03-15 00:46:35 +01:00
Sebastian Hengst
8b0ff01934
Backed out changeset c9674c8a9d4f (bug 1337056)
2017-03-15 00:46:30 +01:00
Sebastian Hengst
59df958663
Backed out changeset 0e4ee0af3ff0 (bug 1337056)
2017-03-15 00:46:20 +01:00
Sebastian Hengst
c36e7dffb3
Backed out changeset 31a996094ef4 (bug 1337056)
2017-03-15 00:46:01 +01:00
Sebastian Hengst
e1e7c0d5b1
Backed out changeset 1101f931d2d7 (bug 1345573
)
2017-03-15 00:45:51 +01:00
Michael Layzell
b2dbbeb326
Bug 1345573
- Part 1: Key http, https, and ftp URIs on origin instead of eTLD+1, r=baku
...
MozReview-Commit-ID: Gihc4QFf11R
2017-03-14 14:56:13 -04:00
Michael Layzell
1d592c734e
Bug 1337056 - Part 9: Check LOAD_HTML_OBJECT_DATA in ContentParent::TransmitPermsFor, r=ehsan
...
MozReview-Commit-ID: 5MBAUe5zbvU
2017-03-14 14:56:10 -04:00
Michael Layzell
13c3e3acbe
Bug 1337056 - Part 5: Add support for finer-grained permission update messages to ContentParent, r=baku
...
MozReview-Commit-ID: 6y6eBLWPTue
2017-03-14 14:56:05 -04:00
Michael Layzell
d861bbc093
Bug 1337056 - Part 3: Send down http[s] and ftp permissions as they are needed. Send down other permissions at startup, r=baku
...
MozReview-Commit-ID: CUKPvFp6zpF
2017-03-14 14:56:03 -04:00
Michael Layzell
e7fb4ee297
Bug 1337056 - Part 2: Replace the synchronous ReadPermissions API with async APIs, r=baku
...
These APIs are intended to use the mechanism defined in Part 1.
Part 3 implements the usage of these APIs to synchronize permissions.
MozReview-Commit-ID: HNKyDPtoaHl
2017-03-14 14:55:49 -04:00
Carsten "Tomcat" Book
fb74131fe7
Merge mozilla-central to mozilla-inbound
2017-03-14 14:26:07 +01:00
Andrea Marchesini
f9cbf66dfd
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
...
--HG--
rename : ipc/glue/SendStreamAlloc.h => ipc/glue/IPCStreamAlloc.h
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamChild.cpp
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamDestination.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamDestination.h
rename : ipc/glue/SendStreamParent.cpp => ipc/glue/IPCStreamParent.cpp
rename : ipc/glue/SendStreamChild.cpp => ipc/glue/IPCStreamSource.cpp
rename : ipc/glue/SendStream.h => ipc/glue/IPCStreamSource.h
rename : ipc/glue/PChildToParentStream.ipdl => ipc/glue/PParentToChildStream.ipdl
2017-03-14 12:29:43 +01:00
Andrea Marchesini
6ced9f8a25
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
...
--HG--
rename : ipc/glue/PSendStream.ipdl => ipc/glue/PChildToParentStream.ipdl
2017-03-14 12:28:58 +01:00
Andrea Marchesini
a2f4a0ab3a
Bug 1346718
- Add a check before using a BlobParent actor, r=qdot
2017-03-14 11:36:22 +01:00
Carsten "Tomcat" Book
c1edc7067d
merge mozilla-inbound to mozilla-central a=merge
2017-03-13 15:22:26 +01:00
Andrew McCreight
b46bfc918b
Bug 1345978, part 2 - Check build ids early in content startup. r=billm
...
If Firefox is updated while it is running, the content process can end
up being a different version than the parent process. This can cause
odd crashes, that will happen repeatedly until the user restarts
Firefox. To handle this better, this patch adds a special build ID
message that is sent early in content process startup. The parent
process intentionally crashes if the build ID for the child process
does not match that of the parent process.
MozReview-Commit-ID: 7D3ggkaLxNS
--HG--
extra : rebase_source : 1f8d917ce01919524f949dd5bedfbbbd557f7ed3
2017-03-10 17:01:38 -08:00
Stone Shih
4b172a2881
Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug
2017-02-21 17:56:46 +08:00
Stone Shih
229b4ba331
Bug 606885 - Fire drag events with keyboard modifiers. r=enn
...
--HG--
extra : rebase_source : c6e4ac37ea2397d86368cb59b0a68aa3a9f43d79
2017-02-17 11:29:42 +08:00
Ehsan Akhgari
e559e3333d
Bug 1343731 - Remove the sync IPC during DataStorage initialization; r=keeler,billm
...
Instead of initializing DataStorage objects on demand in the content
process, we initialize them at content process startup by getting the
parent to send down the information about the existing DataStorages at
child process startup. After that point, the dynamic change
notifications added in bug 1215723 will take care of keeping the
information in sync.
2017-03-10 22:35:07 -05:00
J.C. Jones
a51561a1c4
Bug 1260318 - Scope U2F Soft Tokens to a single AppID r=qdot,rbarnes
...
This change includes the FIDO "App ID" as part of the function used to generate
the wrapping key used in the NSS-based U2F soft token, cryptographically binding
the "Key Handle" to the site that Key Handle is intended for.
This is a breaking change with existing registered U2F keys, but since our soft
token is hidden behind a pref, it does not attempt to be backward-compatible.
- Updated for rbarnes' and qdot's reviews comments. Thanks!
- Made more strict in size restrictions, and added a version field
to help us be this strict.
- Bugfix for an early unprotected buffer use (Thanks again rbarnes!)
- Fix a sneaky memory leak re: CryptoBuffer.ToSECItem
MozReview-Commit-ID: Jf6gNPauT4Y
--HG--
extra : rebase_source : 4ff5898e93e4a0a75576e5e54035a1cb6dd952d7
2017-02-01 15:21:04 -07:00
Andrea Marchesini
2c988363eb
Bug 1339713 - Use IPCStream everywhere - part 5 - PContent, r=smaug
2017-03-09 14:10:49 +01:00
Wes Kocher
c1d1ad8a06
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 1huLsbfIJEB
2017-03-08 17:15:08 -08:00
Mike Conley
3d3a3dce25
Bug 1342464 - Collect Telemetry on when a tab switch spinner is shown. r=billm,liuche, data-review=liuche
...
MozReview-Commit-ID: 1Ss2f9A2JtK
--HG--
extra : rebase_source : 8f71db7ec0796e7ed8828a7e297cf8c24ca91a0e
2017-03-04 14:19:22 -05:00
Andrea Marchesini
12b54aa0f5
Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm
2017-03-08 20:15:45 +01:00
Thomas Nguyen
2b86f73c62
Bug 1339006 - Specify event target if we run nsIURIClassifier.clasify() from content process.r=ehsan, r=gcp
...
MozReview-Commit-ID: BztjVMlQngi
2017-03-08 11:06:36 +08:00
Gabor Krizsanits
ec68ced873
Bug 1333799: MinTabSelector for process selection. r=mrbkap
2017-03-07 20:00:28 +01:00
Carsten "Tomcat" Book
41ba400533
Merge mozilla-central to mozilla-inbound
2017-03-07 15:18:32 +01:00
Carsten "Tomcat" Book
087da3f0d9
merge mozilla-inbound to mozilla-central a=merge
2017-03-07 15:13:31 +01:00
Ehsan Akhgari
abea0f3af0
Bug 1332036 - Avoid the sync IPC message added in bug 1331676; r=dvander
2017-03-07 08:56:26 -05:00
Mike Conley
1f15ddb8e6
Bug 1342927 - Add a hidden pref to disable force painting of tabs so that browser_tabSpinnerProbe.js can pass. r=billm
...
MozReview-Commit-ID: 4q2dSBmvVV9
--HG--
extra : rebase_source : 26739f56723c8579cf70ae3fab55c745abeaa7a4
2017-03-01 15:36:51 -05:00
Mike Conley
4a3c059a83
Bug 1342927 - Don't fire MozTabChildNotReady if DocShell has become inactive or frameloader owner has dropped us. r=billm
...
MozReview-Commit-ID: 4lU5iFFv13V
--HG--
extra : rebase_source : 2bfc0ad4ca77eefb8edb7d3e8f4e3adf97d609d3
2017-03-05 13:25:42 -05:00
Mike Conley
e94e20a97b
Bug 1342927 - Don't fire MozTabChildNotReady from TabParent if we've already presented. r=billm
...
The MozTabChildNotReady event is queued from the ProcessHangMonitor thread, and
that event might try to fire _after_ the main thread has received notification
that a layer tree was made ready. If that occurs, firing the MozTabChildNotReady
event makes no sense, as clearly the TabChild _became_ ready by the time the
event was about to be dispatched.
MozReview-Commit-ID: Iigtc0SqzeU
--HG--
extra : rebase_source : c01eedb27133d37f348a3b697358d0bfa5420c41
2017-03-04 14:12:38 -05:00
Mike Conley
4b54fc5f74
Bug 1342927 - Fire a MozTabChildNotReady event on a frameloader if force-painting a tab without a TabChild. r=billm
...
MozReview-Commit-ID: D8vgvQ3MLJN
--HG--
extra : rebase_source : be427f57fdf227758bd2d55517c7f772b43d7d6d
2017-02-28 17:22:02 -05:00
Mike Conley
24c90554de
Bug 1343639 - Use the HangMonitorParent TaskFactory instead of runnables for dispatching the hang notification to the main thread. r=billm
...
MozReview-Commit-ID: IEZ4QacPMDl
--HG--
extra : rebase_source : d15e12bc826ac31439bec0a71ccc2ee8994c0e62
2017-03-06 15:55:36 -05:00
Georg Fritzsche
be604ef5af
Bug 1313326 - Part 1 - Support recording events in child processes. r=dexter,froydnj
2017-02-14 14:43:51 +01:00