Commit Graph

857 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
817cc11116 Bug 1331676 - Avoid doing sync IPC to the parent process for getting gfx feature status; r=dvander 2017-01-18 08:57:14 -05:00
Ben Kelly
98ea6e67f7 Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth 2017-01-12 14:00:36 -08:00
Andrea Marchesini
46a9207d60 Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Andrew McCreight
a1285d5eda Bug 1321052 - Convert ProcessHangMonitor to use endpoints. r=billm
MozReview-Commit-ID: Ixj2b3ONLcc
2017-01-05 12:54:52 -08:00
Andrea Marchesini
1f55f5062e Bug 1322550 - Rename DOMStorage to Storage, r=smaug 2017-01-04 14:53:01 +01:00
Bill McCloskey
35ca7dca87 Bug 1318506 - Assign a TabGroup to every PBrowser (r=mystor,ehsan)
Every new PBrowser, whether it's created by the parent or the child, needs
to get a TabGroup assigned to it. That way IPC messages for the PBrowser will
be dispatched to that TabGroup.

For new PBrowsers created by the child, we just create a new TabGroup or reuse
the opener's TabGroup.

For PBrowsers created by the parent, the child needs to intercept the
PBrowserConstructor message and assign a TabGroup immediately. PBrowsers created
by the parent never have an opener so we can always create a new TabGroup.

In both cases, the nsGlobalWindow::TabGroupOuter logic needs to be updated to
read the TabGroup out of the IPC code. Otherwise the DOM and IPC code will get
out of sync about TabGroups.

MozReview-Commit-ID: D5iEdgirfvK
2016-12-23 11:48:13 -08:00
Bill McCloskey
7c9badef0f Bug 1318506 - Initialize TabChild in constructor message, not allocation (r=dvander)
MozReview-Commit-ID: Iq1M4EeKHXg
2016-12-23 11:48:13 -08:00
Andrew McCreight
209d4ee048 Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd
f2d50c26f4 Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight
2f93d6e48d Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Ryan Hunt
1c4bd043c1 Bug 1320817 - Move child process PAPZ initialization into TabChild::InitRenderingState. r=kats 2016-11-28 22:21:27 -06:00
Tomislav Jurin
9ff3007b90 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00