Wes Kocher
9a54a919a0
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 2LT2oEKZno8
2017-03-21 16:20:49 -07:00
Michael Layzell
b6012319a5
Bug 1337056 - Part 10: Remove ReadPermissions from the sync-messages list, r=billm
...
MozReview-Commit-ID: 8Ki4KEHKnQm
2017-03-21 11:08:03 -04:00
Ehsan Akhgari
566751834a
Bug 1346583 - Remove the PContent::Msg_OpenAnonymousTemporaryFile sync IPC; r=billm
2017-03-21 09:27:48 -04:00
Andrea Marchesini
2e9d67bae0
Bug 1347557 - Move 2 static methods about the IPC serialization of streams into an helper class, r=qdot
2017-03-21 07:47:25 +01:00
Wes Kocher
4f5262444c
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Kearwood Gilbert
b38d859652
Bug 1346926 - Make PVRManager::SetHaveEventListener async r=kanru
...
- There appears to be no issues with simply changing
SetHaveEventListener from sync to async.
MozReview-Commit-ID: 3LKgDx9AZnm
--HG--
extra : rebase_source : 6c706f592f71a8c967a58f6906861fcff2525ebf
2017-03-21 13:21:17 -07:00
Kearwood Gilbert
4e410934af
Bug 1346923 - Remove PVRManager::GetDisplays sync IPC r=daoshengmu,kanru
...
- PVRManager::GetDisplays was a sync IPC that was part of an optimization
for a use case that has been eliminated by changes to the WebVR spec.
- This was an optimization for Navigator.activeVRDisplays that would allow
enumeration of displays active in any content process without powering
on any additional VR hardware. This will no longer be necessary as the
activeVRDisplays has been restricted to returning only the displays
active in the current javascript context.
MozReview-Commit-ID: F6sOtM9nups
--HG--
extra : rebase_source : bd8967fab9677206d998eea922c8d1640551de1c
2017-03-15 16:40:57 -07:00
Andrea Marchesini
50f7937e84
Bug 1340163 - Introducing originNoSuffix as attribute in ContentPrincipalInfo, r=smaug
2017-03-20 16:03:45 +01:00
Sebastian Hengst
a472d9b04f
Backed out changeset 54a1f0cb64d9 (bug 1340163) for crashing e.g. in browser/components/originattributes/test/browser/browser_cacheAPI.js. r=backout
2017-03-20 15:38:19 +01:00
Andrea Marchesini
38c6ab4035
Bug 1340163 - Introducing originNoSuffix as attribute in ContentPrincipalInfo, r=smaug
2017-03-20 14:51:54 +01:00
Andrew McCreight
042b6e5ca4
Bug 1347527, part 2 - Fix incorrect protocol name. r=kanru
...
This was causing the wrong error.
MozReview-Commit-ID: GQmuOOH55Ta
--HG--
extra : rebase_source : 1689af838857a9f08571fe3fc0a43c822abf242c
2017-03-15 06:24:53 -07:00
Andrew McCreight
04d2052106
Bug 1347527, part 1 - "can't use compression" IPDL error message doesn't have a closing paren. r=kanru
...
MozReview-Commit-ID: CONYxlOB2sP
--HG--
extra : rebase_source : 3c0784e9fd25c9bf2a67ec6fca9cb6d61730a9b9
2017-03-15 06:03:56 -07: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
Aaron Klotz
45cba5a03b
Bug 1325834: Make mscom::ProxyStream use CreateStreamOnHGlobal instead of SHCreateMemStream on Windows 7; r=jimm
...
MozReview-Commit-ID: FAlPgS6iJL
2017-03-14 18:42:24 -06:00
Wes Kocher
a7c590aa9c
Merge inbound to central, a=merge
...
MozReview-Commit-ID: KWDF34vWlBx
2017-03-14 17:18:59 -07:00
Aaron Klotz
518de5dc75
Bug 1346910: Ensure that the interface output by IServiceProvider::QueryService is correctly wrapped by the mscom interceptor; r=jimm
...
MozReview-Commit-ID: 40fF7cS0Mpx
--HG--
extra : rebase_source : 79573a2b845c65164dac35a5ad2b99fe7af13ac7
2017-03-14 11:04:46 -06:00
Carsten "Tomcat" Book
fb74131fe7
Merge mozilla-central to mozilla-inbound
2017-03-14 14:26:07 +01:00
Carsten "Tomcat" Book
dba578960e
merge mozilla-inbound to mozilla-central a=merge
2017-03-14 14:23:03 +01:00
Michael Layzell
9b0ad3267d
Bug 1346866 - Make the IPC serialization/deserialization time probes main-thread-only, r=billm
...
MozReview-Commit-ID: 5Sc820Jh494
2017-03-13 19:25:48 -04: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
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
Kearwood Gilbert
5441d7848d
Bug 1345564 - Reduce sync IPC calls used by WebVR r=daoshengmu,Ehsan,kanru
...
- Eliminated the VRDisplay.GetImmediateSensorState sync call
and associated code as it is no longer needed.
MozReview-Commit-ID: 7BsCKC9EbsY
--HG--
extra : rebase_source : ae2de369d156e397d919d83b6c63b10374953bae
2017-03-03 16:21:18 -08:00
Andrew McCreight
6634f11883
Bug 1345977 - Add unused message to PTestSyncHang to prevent compiler warning. r=billm
...
Adding this unused message prevents a compiler warning
about the private field mState being unused.
Also, get rid of some trailing whitespace.
MozReview-Commit-ID: Lb43JQhIbJU
--HG--
extra : rebase_source : c76eb5383a1535c79f2a66d3d6f8454e5b61d945
2017-03-10 14:34:19 -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
Ehsan Akhgari
5ab5fb52c4
Bug 1342636 - Part 3: Remove the GetCurrentScreenConfiguration sync IPC message; r=billm
2017-03-10 21:29:04 -05:00
Michael Layzell
3acb9e3b8a
Bug 1342635 - Part 2: Add a telemetry probe for IPDL IPC serialzation time, r=billm
...
MozReview-Commit-ID: Gyx4QO8f5yx
2017-03-10 09:15:26 -05:00
Michael Layzell
657e5bfebf
Bug 1342635 - Part 1: Add a telemetry probe for IPDL IPC deserialization time, r=billm
...
MozReview-Commit-ID: 8XWFWoRECrC
2017-03-10 09:15:26 -05:00
Michael Layzell
0429f84e21
Bug 1337073 - Improve the precision of the IPC_SYNC_LATENCY_MS probe and rename it to IPC_SYNC_MAIN_LATENCY_MS, r=billm
...
MozReview-Commit-ID: 7JB7h06wCzu
2017-03-10 09:15:26 -05:00
Michael Layzell
93bfac3b3c
Bug 1343729 - Only collect IPC_SYNC_LATENCY_MS on the main thread, r=billm
...
MozReview-Commit-ID: GtsujcVJNtW
2017-03-10 09:15:26 -05:00
Thinker K.F. Li
48e9a43dc4
Bug 1331173 - Increase header segment capacity for TaskTracer. r=billm
...
--HG--
extra : rebase_source : 3cc829ac53c520896d3f28ddf4a8e27a6eac6fc1
2017-03-10 02:35:00 +01:00
Ehsan Akhgari
dcb0bf572d
Bug 1345497 - Remove the unused PVRManager::GetControllers sync IPC; r=kip,billm
2017-03-09 23:26:47 -05:00
Andrea Marchesini
7006d4e231
Bug 1339713 - Use IPCStream everywhere - part 6 - fixing AutoIPCStream when inputStream is null, r=smaug
2017-03-09 14:11:21 +01:00
Ehsan Akhgari
cc09372649
Bug 1345111 follow-up: Add a few platform-specific sync IPC messages back; fake-r=billm
2017-03-08 23:27:47 -05:00
Ehsan Akhgari
0946cb8425
Bug 1345111 - Make the IPDL compiler error out when it finds sync-messages.ini entries without corresponding IPDL sync messages; r=billm
...
This ensures that our sync-messages.ini correctly reflects the existing set of
sync IPC messages we have.
2017-03-08 22:43:35 -05:00
Andrew McCreight
50ab94e943
Bug 1345897 - Use a separate error function for sentinel errors. r=kanru
...
Using a separate error function will distinguish mismatched sentinels
from other errors, such as array length problems.
MozReview-Commit-ID: Gl8swNhqLns
--HG--
extra : rebase_source : 494759b105086c6c26f3ac53fb644bbf51c12800
2017-03-09 13:37:55 -08:00
Andrew McCreight
91a4a0b1a5
Bug 1346345 - Implement != operator for IPDL structs. r=kanru
...
MozReview-Commit-ID: H1CDbuXZ5U0
--HG--
extra : rebase_source : 88005a00cf7c9625179b63354d8947635fcf8d2a
2017-03-10 11:42:07 -08:00
Aaron Klotz
116698fb6b
Bug 1344965: Clean up mscom interfaces to improve separation of concerns; r=jimm
...
MozReview-Commit-ID: C96y3i8hjWs
--HG--
extra : histedit_source : 8cee3ff07ecd0310ac9648d903328d54588d3dde
2017-03-06 17:22:43 -07:00
Aaron Klotz
90071c5f69
Bug 1344798: Allow mscom::AsyncInvoker to be able to handle proxied and non-proxied interfaces; r=jimm
...
MozReview-Commit-ID: 6lQg6fwuvmw
--HG--
extra : histedit_source : 28d66eb2ec245b8ca41baba85c7a74ecbc3341f2
2017-03-02 17:39:01 -07:00
Andrea Marchesini
9fa58ed270
Bug 1299500 - Get rid of DeviceStorage API - part 11 - FileSystem, r=ehsan
2017-03-08 20:15:45 +01: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
Wes Kocher
ee0cad3420
Backed out changeset 2288120b007e (bug 1345111) for Windows build failures a=backout
...
MozReview-Commit-ID: IcBrJg6Ff8T
2017-03-07 17:28:01 -08:00
Ehsan Akhgari
0899f728cc
Bug 1345111 - Make the IPDL compiler error out when it finds sync-messages.ini entries without corresponding IPDL sync messages; r=billm
...
This ensures that our sync-messages.ini correctly reflects the existing set of
sync IPC messages we have.
2017-03-07 20:13:29 -05:00
Ehsan Akhgari
3169d6c35c
Bug 1340710 - Part 6: Store BasePrincipal::{mOriginNoSuffix,mOriginSuffix} as a pair of atoms; r=bholley
...
This has the nice side effect of making nsIPrincipal::GetOrigin() a bit faster
by avoiding computing the origin each time.
2017-03-06 22:27:53 -05:00
Ryan VanderMeulen
5463f0305e
Bug 1343453 - Backport some upstream libevent fixes to our in-tree copy. r=billm
...
Fixes for upstream issues #317 , #318 , #332 , #335 , and #340 .
2017-03-06 16:43:06 -05:00
Mike Conley
f915a50e10
Bug 1343639 - Allow TaskFactory::NewRunnableMethod pass an arbitrary number of arguments to the runnable. r=billm
...
MozReview-Commit-ID: LXs6urqSxX9
--HG--
extra : rebase_source : 87be6ac18e6625a50f562401742a8184be513dd8
2017-03-06 15:36:06 -05:00
Honza Bambas
654b5c9af9
Bug 1320458 - Make logging by sandboxed child processes to a file work on Windows, r=aklotz
...
MozReview-Commit-ID: 7eiW3Lo6q8Z
2017-03-06 17:42:31 +01:00
Ryan VanderMeulen
8dbf7d75e2
Bug 1344187 - Add guards around code in ProxyStream.cpp that require the crash reporter. r=aklotz
2017-03-03 13:33:13 -05:00
Andrew McCreight
e5898d34c7
Bug 1342580 - Don't generate actor "state" method. r=kanru
...
MozReview-Commit-ID: 8Am8TIQfH0h
--HG--
extra : rebase_source : bcd0458573c2aa48908f1407ad3e7e72870c94aa
2017-02-24 15:35:35 -08:00