Ehsan Akhgari
bc21bed8f9
Bug 1346987 - Part 1: Introduce the asynchronous ContentChild::AsyncOpenAnonymousTemporaryFile() API; r=billm
2017-03-14 20:20:52 -04:00
Sebastian Hengst
8b9addf917
Backed out changeset 2d2d603dbdaf (bug 1337056)
2017-03-15 00:46:35 +01:00
Michael Layzell
5ff64510ac
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
78859973ef
Merge mozilla-central to mozilla-inbound
2017-03-14 14:26:07 +01:00
Andrea Marchesini
30bbbae2fc
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 2 - PParentToChild, r=smuag
2017-03-14 12:29:43 +01:00
Andrea Marchesini
a8870babfb
Bug 1274343 - Add parent-to-child pipe streaming to IPCStream - part 1 - renaming PSendStream to PChildToParentStream, r=smaug
2017-03-14 12:28:58 +01:00
Andrew McCreight
c4334372ad
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
2017-03-10 17:01:38 -08:00
Stone Shih
2b86511344
Bug 606885 - Fire drag events with keyboard modifiers. r=enn
2017-02-17 11:29:42 +08:00
Ehsan Akhgari
2d946d2177
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
Andrea Marchesini
25207d9b03
Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm
2017-03-08 20:15:45 +01:00
Ehsan Akhgari
df46b5c00b
Bug 1332036 - Avoid the sync IPC message added in bug 1331676; r=dvander
2017-03-07 08:56:26 -05:00
Andrea Marchesini
cd61c907da
Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs
2017-03-03 09:42:54 +01:00
Andrew Sutherland
9dd61a8f4c
Bug 1285898 - [e10s-multi] fixup PContent ordering via immediate event dispatch. r=baku
2017-01-31 03:42:38 -05:00
Andrea Marchesini
fe2f88fe33
Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
2017-02-19 22:16:48 -05:00
David Anderson
eab4243b58
Switch PContent from PCrashReporter to shmem-based CrashReporter. (bug 1338308, r=billm)
2017-02-16 18:44:16 -08:00
Sylvestre Ledru
299c961944
Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/ipc r=baku
...
MozReview-Commit-ID: Fyx3eryjsgQ
2017-02-09 10:31:03 +01:00
Bill McCloskey
67a1f54982
Bug 1334572 - Move Activate/Deactivate messages from PBrowser to PContent (r=smaug)
...
MozReview-Commit-ID: IMSK1sjeAJb
2017-02-13 17:02:39 -08:00
Andrea Marchesini
33cc7527b7
Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 2 - code, r=smaug
2017-02-08 10:19:01 +01:00
Martin Stransky
2c86249f62
Bug 1336048 - Add display detection to dom/ipc/ContentChild.cpp, r=glandium
...
MozReview-Commit-ID: CwcGXFiIl4e
2017-02-07 14:34:23 +01:00
Carsten "Tomcat" Book
e9553d8abe
merge mozilla-inbound to mozilla-central a=merge
2017-02-07 14:08:46 +01:00
Brad Lassey
c91080f3e8
bug 1303096 - Stop sending sync messages soon after content process start-up r=billm
2017-02-05 00:52:38 -05:00
Haik Aftandilian
a659a66ffe
Bug 1333681 - Part 1 - Normalize profile path before use in sandbox rules to avoid symlink issues; r=gcp
...
MozReview-Commit-ID: 1vHJePZ8CPy
2017-01-24 20:06:35 -08:00
Sebastian Hengst
fc3db3338c
Backed out changeset e9d8a75a0dcc (bug 1303096) for failing various tests on Android 4.3 debug (e.g. test_saveHeapSnapshot_e10s_01.html). r=backout
2017-02-05 10:26:28 +01:00
Brad Lassey
c50cf62b3a
bug 1303096 - Stop sending sync messages soon after content process start-up r=billm
2017-02-05 00:52:38 -05:00
Phil Ringnalda
ed7de9305a
Backed out 5 changesets (bug 1285898) for causing the crashes of bug 1336242
...
Backed out changeset 15b3b9feb54f (bug 1285898)
Backed out changeset 1d0bfb02d6c0 (bug 1285898)
Backed out changeset bc99844772ee (bug 1285898)
Backed out changeset 8bbe285cf5c0 (bug 1285898)
Backed out changeset e56108122b90 (bug 1285898)
2017-02-02 22:02:24 -08:00
Andrew McCreight
a508c6caa9
Bug 1333917 - Make ContentBridge use endpoints, not bridges. r=kanru
...
MozReview-Commit-ID: IPFX2pVblD7
2017-01-26 14:40:17 -08:00
Sebastian Hengst
00fdb2c8d0
Backed out changeset 2ad6a2821772 (bug 1335536)
2017-02-01 19:07:36 +01:00
Andrea Marchesini
98470f8edd
Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 2 - code, r=smaug
2017-02-01 17:13:56 +01:00
Andrew Sutherland
d5580fd0f8
Bug 1285898 - [e10s-multi] fixup PContent ordering via immediate event dispatch. r=baku
2017-01-31 03:42:38 -05:00
Andrea Marchesini
07cddfe1f0
Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
2017-01-17 15:43:12 -05:00
Gabor Krizsanits
4db23a5539
Bug 1324428 - Simplified preallocated process manager. r=billm
2017-02-01 13:34:24 +01:00
Andrew McCreight
8f66878a7c
Bug 1333915, part 2 - Stop using bridges and spawns in plugins. r=jimm
...
The old code would do the content process portion of the open by
immediately sending a message back to the content process, but this
has some weird issues with nesting and priorities. Instead of doing
that, I return the endpoint for the content process back to the
original sync call. This requires more code changes, to thread the
endpoint along, but it is conceptually simpler.
Once I removed the bridges and got it working, I was just able to
remove the spawns from the IPDL file and it worked.
MozReview-Commit-ID: 1tfiJrV4jbV
2017-01-25 14:17:17 -08:00
Gian-Carlo Pascutto
38513dad59
Bug 1330326 - Make sandboxing policy more configurable via preferences. r=jld
...
MozReview-Commit-ID: 9P0bSLLKRWp
2017-01-26 19:59:50 +01:00
Haik Aftandilian
e67a4231fe
Bug 1332522 - Part 2 - Remove read restrictions from level 2 policy for file content processes; r=gcp
...
Update MacSandboxInfo struct to include file system read flag and remove
filesytem read restrictions from the file content process sandbox.
MozReview-Commit-ID: B9LPocvb0W3
2017-01-24 15:20:08 -08:00
Andrew McCreight
9b24ae08b0
Bug 1329797 - Convert PBackground to use endpoints instead of opens. r=billm
...
Instead of an opens, the child sends a new message InitBackground to
the parent to create the parent side.
Most of this is threading around the endpoints instead of the
transport stuff.
MozReview-Commit-ID: 2c5SrCEAGyY
2017-01-24 11:49:13 -08:00
Sebastian Hengst
c3b24cf603
Backed out changeset e87ae43ca443 (bug 1330326)
2017-01-27 20:59:55 +01:00
Gian-Carlo Pascutto
8517f6a37a
Bug 1330326 - Make sandboxing policy more configurable via preferences. r=jld
...
MozReview-Commit-ID: 9P0bSLLKRWp
2017-01-26 19:59:50 +01:00
David Anderson
9f1553174d
Remove PMemoryReportRequest. (bug 1321492 part 3, r=erahm)
2017-01-26 16:35:54 -08:00
David Anderson
1df3329808
Remove the MemoryReportRequestChild dependency on ContentChild. (bug 1321492 part 2, r=erahm)
2017-01-26 16:35:53 -08:00
David Anderson
adca85e881
Move PMemoryReportRequest classes to a separate source file. (bug 1321492 part 1, r=erahm)
2017-01-26 16:35:53 -08:00
David Parks
3cc8bac5f7
Bug 1317735 - Consolidate env vars for logging. r=jimm
...
Assigns the preference security.sandbox.logging.enabled and the environment variable MOZ_SANDBOX_LOGGING to control whether or not sandbox violations are logged. The pref defaults to true. On Linux, only the environment variable is considered.
2017-01-23 12:46:49 -08:00
Nicholas Nethercote
d2434a7cc6
Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
2017-01-24 14:15:12 +11:00
Wes Kocher
9229178a70
Merge inbound to central, a=merge
...
MozReview-Commit-ID: BeGxZAeguBr
2017-01-24 16:08:16 -08:00
Sebastian Hengst
f9829433ab
Backed out bdd2118235e9 (bug 1324428) for timing out in dom/browser-element/mochitest/priority/test_Simple.html. r=backout
2017-01-23 21:59:29 +01:00
Ehsan Akhgari
cdb1519b4e
Bug 1331685 - Ensure that the ContentChild constructor send methods return null when shutting down; r=billm
...
Otherwise, the IPC attempt will crash the content process.
2017-01-23 13:18:20 -05:00
Andrew McCreight
f3f21b71cd
Bug 1331743 - Create CrossProcessCpowHolder even if there is no message manager. r=smaug
...
MozReview-Commit-ID: AtRfKQCHofe
2017-01-17 11:00:38 -08:00
Andrew McCreight
8b88ff331d
Bug 1321871, part 2 - Remove PContent opens of PGMPService. r=peterv
2017-01-05 12:55:57 -08:00
Gabor Krizsanits
71bb60fd91
Bug 1324428 - Simplified preallocated process mechanism. r=billm
2017-01-23 17:25:34 +01:00
Blake Kaplan
03e9f364da
Bug 1303727 - Propagate whether we're dealing with a local file to the parent. r=jduell
...
MozReview-Commit-ID: GSx2WgNKN4T
2017-01-10 17:49:16 -08:00
David Parks
01bbe540a2
Bug 1306239 - Add pref to toggle OS X sandbox violation debugging, default on. r=haik
...
Turns on sandbox denial logging if security.sandbox.logging.enabled is true.
Removes most sandbox violation messages but some related messages generated
by other processes will still get through.
2017-01-17 15:47:13 -08:00