Commit Graph

857 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
38b71fbd21 Backed out changeset d45c9f5c4bc8 (bug 1281223) for bustage on a CLOSED TREE 2016-07-28 13:35:02 +02:00
Cervantes Yu
e87b3374e8 Bug 1281223 - Debug instrumentation for capturing accidental destruction of the ContentChild instance. r=billm
MozReview-Commit-ID: 5LozIBYXLeO
2016-07-28 19:17:04 +08:00
Haik Aftandilian
720f4f7470 Bug 1274540 - Record sandboxing status in crash reports; r=gcp
Adds content sandbox metadata to parent and child crash reports:
Includes the value of pref security.sandbox.content.level,
whether or not the system is capable of sandboxing, if the
sandbox was successfully turned on, and (on Linux systems)
the sandbox capabilities flags.

New crash report keys:
"ContentSandboxLevel" in parent and content
"ContentSandboxCapable" in parent
"ContentSandboxEnabled" in content
"ContentSandboxCapabilities" in content on Linux
2016-07-25 13:21:00 +02:00
Carsten "Tomcat" Book
19af329f0e merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Chris Pearce
facb452a67 Bug 1288976 - Use gmp-changed rather than gmp-path-added to retry MediaKeys requests. r=gerald
We're already routing the "gmp-changed" observer service notification over from
the chrome process to the content process, and it fires at pretty much the same
time as the "gmp-path-added" notification (and a few more) so we can just switch
to have the MediaKeySystemAccessManager listen on that notification instead, and
we'll be e10s compatible.




MozReview-Commit-ID: EowFDfdWgAJ
2016-07-25 10:18:34 +12:00
Wei-Cheng Pan
a87ccbfa5e Bug 1264566 - Part 2: Refactor all usage of FileDescriptor. r=valentin
Callers should use a UniquePtr to hold the platform handle.

MozReview-Commit-ID: 6BWnyAf4b3a
2016-05-27 16:12:51 +08:00
Mike Conley
617f7ad200 Bug 1261842 - Stop sending the window name to ContentParent when opening a new window. r=smaug
By the time that the parent is being asked to create a new window, the name
really doesn't matter anymore.

MozReview-Commit-ID: 4IKrEEylaLY
2016-06-08 15:31:01 -04:00
Andrea Marchesini
3ac1b3ccda Bug 1279493 - Use blob URLs exclusively rather than having mediastream and mediasource URLs, r=smaug 2016-07-21 14:31:43 +02:00
David Anderson
93867a4051 Open content VRManagers using endpoints. (bug 1287597 part 1, r=billm) 2016-07-21 00:14:59 -07:00
David Anderson
227ba95f86 Use Endpoints for content-process ImageBridges. (bug 1287366 part 2, r=billm) 2016-07-20 00:18:30 -07:00
Carsten "Tomcat" Book
e6bf5134e3 Backed out 25 changesets (bug 1261842, bug 1278985) breaking firefox-ui tests
Backed out changeset bb6c6889b802 (bug 1261842)
Backed out changeset c14ccfac7b4b (bug 1261842)
Backed out changeset d6ffc9db5346 (bug 1261842)
Backed out changeset 2a1acfd17baf (bug 1261842)
Backed out changeset 968e7b3b73fb (bug 1261842)
Backed out changeset 8d708922e47a (bug 1261842)
Backed out changeset 0a08398b5087 (bug 1261842)
Backed out changeset b2e910bb1d72 (bug 1261842)
Backed out changeset f6062f113911 (bug 1261842)
Backed out changeset 07b259eb7121 (bug 1261842)
Backed out changeset 970cbbb3a658 (bug 1261842)
Backed out changeset b6f7395d2bbf (bug 1261842)
Backed out changeset 20eb3987a721 (bug 1261842)
Backed out changeset 6eaa642a93e1 (bug 1261842)
Backed out changeset 855931929739 (bug 1261842)
Backed out changeset 1240345f5624 (bug 1261842)
Backed out changeset ce46ebf231c1 (bug 1261842)
Backed out changeset 8d34b61fbfb3 (bug 1261842)
Backed out changeset 9d8a382c5b1d (bug 1261842)
Backed out changeset e2472a4cc209 (bug 1261842)
Backed out changeset e91913cd64b8 (bug 1261842)
Backed out changeset 4cf843a05a68 (bug 1261842)
Backed out changeset cbdc0deb92bd (bug 1261842)
Backed out changeset a94e6a85c931 (bug 1261842)
Backed out changeset 3b5b92f04ea5 (bug 1278985)
2016-07-19 09:12:58 +02:00
Mike Conley
341f29447f Bug 1261842 - Stop sending the window name to ContentParent when opening a new window. r=smaug
By the time that the parent is being asked to create a new window, the name
really doesn't matter anymore.

MozReview-Commit-ID: 4IKrEEylaLY
2016-06-08 15:31:01 -04:00
Andrea Marchesini
2a77b642a3 Bug 1279186 - Blob URLs in multi-e10s - part 3 - Remove all the blobURLs when the child goes away, r=me 2016-07-18 11:13:31 +02:00
Andrea Marchesini
cc1175569b Bug 1279186 - Blob URLs in multi-e10s - part 1 - BlobURLs broadcasted, r=gabor 2016-07-17 16:50:50 +02:00
David Anderson
cbb942190f Send content compositor bridges using endpoints rather than Opens. (bug 1282348 part 7, r=billm) 2016-07-17 21:24:28 -07:00
Iris Hsiao
102cce1cd6 Backed out changeset effbc83efa08 (bug 1279186) 2016-07-18 12:11:07 +08:00
Andrea Marchesini
cc147c927e Bug 1279186 - Blob URLs in multi-e10s - part 1 - BlobURLs broadcasted, r=gabor 2016-07-17 16:50:50 +02:00
Andrea Marchesini
cdafafdc73 Bug 1186932 - Implement support for form submission of a picked directory - part 6 - GetFilesHelper executed on the parent process, r=smaug 2016-07-14 09:04:21 +02:00
Andrea Marchesini
ef79736364 Bug 1286126 - Move ServiceWorker initialization early in the ContentChild startup, r=gabor 2016-07-13 10:34:24 +02:00
Lee Salzman
dbd438bc8a Bug 1286317 - part 2 - remove Qt widget usage from plugins. r=jrmuizel 2016-07-12 20:28:31 -04:00
Alexandre Lissy
11df7f04db Bug 1285157 - Remove SetTransport(aChannel) for NUWA r=cyu
MozReview-Commit-ID: HR8r9flyJDQ
2016-07-07 10:07:24 +02:00
Andrea Marchesini
1649abea0a Bug 1285947 - Rename BrowserConfiguration to ServiceWorkerConfiguration, r=gabor 2016-07-11 16:04:04 +02:00
Andrea Marchesini
924300c131 Bug 1279503 - part 2 - moving BrowserConfiguration in the ContentChild::InitXPCOM, r=gabor 2016-07-11 00:28:13 +02:00
Fabrice Desré
288fa0129a Bug 1284455 - Remove the System Messages API, Gecko part r=me
MozReview-Commit-ID: 1mhzddSLkuu
2016-04-20 19:04:13 +02:00
Michael Layzell
7581dc0c5b Bug 1278939 - Store nsIFile entries as nsIFile, but continue to produce dom::File objects from relevant APIs, r=enndeakin 2016-07-04 15:45:45 -04:00
Chih-Yi Leu
50630611e7 Bug 1221730 - Move gamepad API to PBackground. r=qdot, r=baku 2016-06-28 00:25:00 +02:00
Dave Huseby
133d94302e Bug 1280497 - fixes bug 1280497 by removing the assert and adding missing code in permission manage. r= baku
fixes bug 1280497 by removing the assert and adding missing code in
permission manager.
2016-06-17 08:18:00 +02:00
Cervantes Yu
0def5fe401 Bug 1275398 - Use shmem for sending image data in IPCDataTransfer. r=nical
MozReview-Commit-ID: 9XETnSBXxEW
2016-06-16 00:57:46 +08:00
Blake Kaplan
37317cd21c Bug 1274516 - Add a helper to iterate over all ContentParents and use it to clear the image cache in both the parent and child processes. r=billm r=seth 2016-06-10 16:00:22 -07:00
Makoto Kato
1543b91e5f Bug 1257731 - Part 1. Send HaveBidiKeyboards information to content process. r=masayuki
MozReview-Commit-ID: 87J4hE79e3n
2016-06-03 18:56:04 +09:00
Bill McCloskey
77e5086879 Bug 1268559 - Wait to finish nested event loops before shutdown (r=bsmedberg) 2016-06-08 22:10:44 -07:00
Jonas Sicking
893d1cf3ac Bug 1263991 parts 2 and 2.5: Enable launching a server in the parent process. r=baku,ehsan 2016-06-07 02:46:03 -07:00
Carsten "Tomcat" Book
db216362ee Backed out changeset 65e49149fbcc (bug 1263991) 2016-06-07 12:10:29 +02:00
Jonas Sicking
d5d5cd9094 Bug 1263991 part 2: Enable launching a server in the parent process. r=baku 2016-06-07 02:46:03 -07:00
Jim Mathies
5b48ca8566 Bug 1268559 - Add a safety shutdown timer in ContentChild. r=billm
MozReview-Commit-ID: FVnOvJzErpI
2016-06-02 07:52:17 -05:00
Kit Cambridge
55818e5451 Bug 1275434 - Notify "push-subscription-modified" observers in the child. r=dragana
MozReview-Commit-ID: H3DGrhEm3fn
2016-05-14 16:54:51 -07:00
Kit Cambridge
7a4fee08c1 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
2016-05-19 19:01:34 -07:00
Karl Tomlinson
7468cc8813 bug 1276086 set GLib prgname in child process r=glandium
MozReview-Commit-ID: 4Neb36zGScf
2016-05-27 11:50:26 +12:00
Alexandre Lissy
5366092293 Bug 1273998 - Proper export of printing IPDL with --disable-printing r=bobowen,glandium,?glandium
MozReview-Commit-ID: GNUrl6LKcMm
2016-05-19 12:25:22 +02:00
Blake Kaplan
7a30fa561f Bug 1244533 - Pass dragend coordinates down to the content process. r=enndeakin 2016-05-19 11:55:40 -07:00
Julian Hector
2bf8c4bd2f Bug 1259508 - Cubeb init before seccomp. r=jld 2016-05-12 14:35:11 +02:00
Bob Owen
53bf7bada8 Bug 1189846 Part 7: Create nsPrintingProxy and PrintingParent during process initialization. r=jimm
MozReview-Commit-ID: 98g7eZUJ6bY
2016-05-16 10:40:54 +01:00
Kan-Ru Chen
d9c3cb5a67 Bug 1261612 - Allow <iframe mozbrowser> in chrome doc to use transparent attribute. r=smaug
MozReview-Commit-ID: JjiPKnw95pS
2016-05-16 10:56:09 +08:00
Ben Kelly
5b46bd3b21 Bug 1093357 P1 Implement an actor for streaming pipes from child to parent. r=jld
* * *
Bug 1093357 P1 interdiff 001 address review feedback
2016-05-15 10:32:09 -07:00
Kit Cambridge
1f29167357 Bug 1269436 - Always pass the principal to push observer notifications. r=dragana
MozReview-Commit-ID: J1vU3nRKlsa
2016-05-02 09:38:47 -07:00
Kyle Huey
29ffff705f Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj 2016-05-05 01:44:59 -07:00
Catalin Badea
6e0e247bd4 Bug 1218080 - Don't send the url to the parent process when opening new windows, because it is not actually used. r=smaug 2016-05-03 18:15:07 +03:00
Kit Cambridge
61c2aa7c41 Back out 3 changesets (bug 1263799) for bustage.
Backed out changeset d379317d86df (bug 1263799)
Backed out changeset 067e84f524d1 (bug 1263799)
Backed out changeset 8f31424a9d07 (bug 1263799)

MozReview-Commit-ID: KJ9b8tC5k4n
2016-05-02 11:38:55 -07:00
Kevin Chen
7bf1b75f08 Bug 1263799 - Support IPC for TV service between B2G and content processes. Part 2 - IPC. r=schien
MozReview-Commit-ID: 4lZj8rVYoDV
2016-04-15 13:44:20 +08:00
Carsten "Tomcat" Book
70be75ac0e Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak 2016-04-29 14:22:04 +02:00