Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Khyati Agarwal
f2c8dd895b
bug 1469694 - GeckoChildProcessHost should check the return value of LaunchApp r=jld
...
Differential Revision: https://phabricator.services.mozilla.com/D24837
--HG--
extra : moz-landing-system : lando
2019-04-01 21:58:23 +00:00
Gerald Squelart
e1bd1f5588
Bug 1429613 - Using upgraded Variant::match where appropriate - r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D24891
--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:55 +00:00
Gerald Squelart
e2d15a1cfb
Bug 1429613 - Variant matcher callbacks renamed from match
to operator()
- r=froydnj
...
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.
Differential Revision: https://phabricator.services.mozilla.com/D24889
--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Jim Mathies
ad9b0890dd
Bug 1539577 - Avoid calling InitUIThread when native event processing is turned off. r=bobowen
...
Differential Revision: https://phabricator.services.mozilla.com/D25233
--HG--
extra : moz-landing-system : lando
2019-04-01 08:13:11 +00:00
Jim Mathies
3a40fd71ea
Bug 1539581 - Cleanup use of RegisterWindowMessgae in nsAppShell. r=bobowen
...
Differential Revision: https://phabricator.services.mozilla.com/D25235
--HG--
extra : moz-landing-system : lando
2019-04-01 16:53:04 +00:00
Sylvestre Ledru
ef0bfc3822
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D24168
--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Andrea Marchesini
ac66f432bc
Bug 1534538 - Principal serialization should not serialize base domain if not needed, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24710
--HG--
extra : moz-landing-system : lando
2019-03-29 19:20:52 +00:00
Nika Layzell
a33a880625
Bug 1537977 - Add a ManagedEndpoint IPDL type for manually constructing actors, r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D24425
--HG--
extra : moz-landing-system : lando
2019-03-28 20:02:50 +00:00
Oana Pop Rus
47e94b5d6e
Merge inbound to mozilla-central. a=merge
2019-03-28 12:11:35 +02:00
Haik Aftandilian
9eeac5a5a2
Bug 1525086 - Part 3b - Start the RDD sandbox earlier r=Alex_Gaynor
...
Start the RDD process earlier by changing RDDProcessHost to pass the necessary command line arguments for enabling the sandbox.
Per lsmp output on 10.14.3, starting the RDD process sandbox removes access to WindowServer, coreservicesd, lsd and distnoted.
Add a pref (defaulting to on) to control enabling starting the RDD process earlier.
Differential Revision: https://phabricator.services.mozilla.com/D23460
--HG--
extra : moz-landing-system : lando
2019-03-28 02:25:50 +00:00
Haik Aftandilian
ae8b138790
Bug 1525086 - Part 3a - Move sandbox param logic to GeckoChildProcessHost and MacSandboxInfo to be more reusable r=Alex_Gaynor
...
Move sandbox early start logic to GeckoChildProcessHost.
Move sandbox CLI param logic into MacSandboxInfo.
Differential Revision: https://phabricator.services.mozilla.com/D22409
--HG--
extra : moz-landing-system : lando
2019-03-28 02:25:52 +00:00
Andrew McCreight
44f182bf3b
Bug 1539261, part 2 - Mark various JSStructuredCloneData methods MOZ_MUST_USE. r=sfink
...
Also, fix up various places that call these methods.
Depends on D24991
Differential Revision: https://phabricator.services.mozilla.com/D24992
--HG--
extra : moz-landing-system : lando
2019-03-27 20:41:17 +00:00
arthur.iakab
7ae8fb76e1
Backed out 2 changesets (bug 1539261) for multiple build bustages on /fuzz-tests/testStructuredCloneReader.cpp CLOSED TREE
...
Backed out changeset 526daf87fff9 (bug 1539261)
Backed out changeset 5b070b6ae224 (bug 1539261)
2019-03-27 21:59:29 +02:00
Andrew McCreight
c5ae898857
Bug 1539261, part 2 - Mark various JSStructuredCloneData methods MOZ_MUST_USE. r=sfink
...
Also, fix up various places that call these methods.
Depends on D24991
Differential Revision: https://phabricator.services.mozilla.com/D24992
--HG--
extra : moz-landing-system : lando
2019-03-27 19:34:46 +00:00
Luke Wagner
b65bcf0771
Bug 1520931
- Remove dom/asmjscache (r=ttung)
...
Differential Revision: https://phabricator.services.mozilla.com/D24985
--HG--
extra : rebase_source : 359ed648d0f0120a7892c5ecc794c008b99d1e27
2019-03-26 16:57:55 -05:00
Cameron McCormack
bc72d9813e
Bug 1515551 - Add functionality to SharedMemoryBasic to help map the shared memory at an arbitrary address. r=kmag
...
This patch adds two things:
1. An optional fixed_address argument to SharedMemoryBasic::Map, which
is the address to map the shared memory at.
2. A FindFreeAddressSpace function that callers can use to find a
contiguous block of free address space, which can then be used to
determine an address to pass in to Map that is likely to be free.
Patches in bug 1474793 will use these to place the User Agent style
sheets in a shared memory buffer in the parent process at an address
that is also likely to be free in content processes.
Differential Revision: https://phabricator.services.mozilla.com/D15057
--HG--
extra : moz-landing-system : lando
2019-03-22 00:11:51 +00:00
sakshaat
d781937a67
Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
...
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.
Differential Revision: https://phabricator.services.mozilla.com/D22532
--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
srujana
9847052e21
Bug 1212103 : Added assert to check if the id is exceeding bounds of signed 32 bit integer r=jld
...
Added assert to check if the id is exceeding bounds of signed 32 bit integer.
```
x < (1<<29)
x+1 <= (1<<29)
((x+1)<<2) <= (1<<31)
((x+1)<<2) | (two bit tag t)<= (1<<31)
```
Differential Revision: https://phabricator.services.mozilla.com/D23808
--HG--
extra : moz-landing-system : lando
2019-03-22 19:06:02 +00:00
Doug Thayer
3f608fab0a
Bug 1441308 - Support moving Maybe's in IPC serialization r=mccr8
...
I'd like to move an ipc::ByteBuf member of a struct into a Maybe,
and in order for that to work IPDLParamTraits<Maybe> needs to support
the rvalue Write.
Differential Revision: https://phabricator.services.mozilla.com/D23986
--HG--
extra : moz-landing-system : lando
2019-03-22 18:29:00 +00:00
Ciure Andrei
3de853018a
Backed out 7 changesets (bug 1441308)for causing webrender build bustages CLOSED TREE
...
Backed out changeset 1764701d11d1 (bug 1441308)
Backed out changeset 32f7793dfd1a (bug 1441308)
Backed out changeset d8b4d6ec9b40 (bug 1441308)
Backed out changeset e2f83e4816dd (bug 1441308)
Backed out changeset baee8ada680f (bug 1441308)
Backed out changeset c09a51622e98 (bug 1441308)
Backed out changeset 737807563dd5 (bug 1441308)
2019-03-22 10:52:44 +02:00
Doug Thayer
0b1b0ee79e
Bug 1441308 - Support moving Maybe's in IPC serialization r=mccr8
...
I'd like to move an ipc::ByteBuf member of a struct into a Maybe,
and in order for that to work IPDLParamTraits<Maybe> needs to support
the rvalue Write.
Differential Revision: https://phabricator.services.mozilla.com/D23986
--HG--
extra : moz-landing-system : lando
2019-03-21 23:15:32 +00:00
Alex Gaynor
f3608ddac7
Bug 1536163 - Part 3 - use native Maybe syntax in place of OptionalShmem in IPDL; r=nika
...
--HG--
extra : rebase_source : 4f0c682a6d574308ec11608191f810c3fd6dc513
2019-03-21 06:52:48 +02:00
Alex Gaynor
177fb00eba
Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D22975
--HG--
extra : moz-landing-system : lando
2019-03-18 22:31:59 +00:00
Alex Gaynor
aad50392d8
Bug 1534364
- replace OptionalIPCServiceWorkerDescriptor with IPCServiceWorkerDescriptor? in IPDL: r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23013
--HG--
extra : moz-landing-system : lando
2019-03-15 12:55:10 +00:00
Andreea Pavel
af20d1c10b
Backed out changeset a5beba8cc190 (bug 1534364
) for assertion failures
2019-03-14 23:14:31 +02:00
Alex Gaynor
2b1e080e64
Bug 1534364
- replace OptionalIPCServiceWorkerDescriptor with IPCServiceWorkerDescriptor? in IPDL: r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23013
--HG--
extra : moz-landing-system : lando
2019-03-14 19:40:20 +00:00
Dorel Luca
0e9ffb4c4f
Merge mozilla-inbound to mozilla-central. a=merge
2019-03-14 18:25:40 +02:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Andrea Marchesini
21180cb43c
Bug 1534538 - Avoid sending CookieSettings from parent to child if not needed, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D23121
--HG--
extra : moz-landing-system : lando
2019-03-14 06:57:45 +00:00
David Major
e5773183d6
Bug 1528074 - Remove MSVC warning flags that clang-cl doesn't understand r=chmanchester
...
Per the previous patch, clang-cl only understands five MSVC-style warning flags: 7219c7e9af/clang/include/clang/Driver/CLCompatOptions.td (L188-L197)
This patch removes the flags that clang-cl doesn't understand.
Differential Revision: https://phabricator.services.mozilla.com/D22588
--HG--
extra : moz-landing-system : lando
2019-03-13 20:19:08 +00:00
Chris Pearce
de686d23c1
Bug 1530245 - Launch sandbox from new remote sandbox broker process. r=jld,bobowen
...
Depends on D22051
Differential Revision: https://phabricator.services.mozilla.com/D22052
--HG--
extra : moz-landing-system : lando
2019-03-13 09:24:52 +00:00
Chris Pearce
f4c9b88845
Bug 1530245 - Make GeckoChildProcessHost::mSandboxBroker an abstract pointer. r=bobowen
...
Differential Revision: https://phabricator.services.mozilla.com/D22051
--HG--
extra : moz-landing-system : lando
2019-03-13 09:24:37 +00:00
Alex Gaynor
456bcf6c38
Bug 1534666 - replace OptionalInputStreamParams with InputStreamParams? in IPDL; r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D23153
--HG--
extra : moz-landing-system : lando
2019-03-12 15:52:26 +00:00
Valentin Gosu
21bfdeb265
Bug 1525036
- Add CrossOriginPolicy to the browsing context r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21418
--HG--
extra : moz-landing-system : lando
2019-03-12 08:04:01 +00:00
Csoregi Natalia
d086070187
Backed out 5 changesets (bug 1525036
) for browser_httpCrossOriginHeader.js failures. CLOSED TREE
...
Backed out changeset 6717beb3ac53 (bug 1525036
)
Backed out changeset 0c05686bd62a (bug 1525036
)
Backed out changeset 502b0bb796cd (bug 1525036
)
Backed out changeset fa0363d33dbd (bug 1525036
)
Backed out changeset 6391f42aaa6d (bug 1525036
)
2019-03-09 02:39:11 +02:00
Valentin Gosu
d12177cb53
Bug 1525036
- Add CrossOriginPolicy to the browsing context r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21418
--HG--
extra : moz-landing-system : lando
2019-03-08 15:34:54 +00:00
Andrea Marchesini
43beb5b35b
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-08 09:00:06 +00:00
Jan Varga
f8372b6b8d
Bug 1526891 - Part 13: Send an async IPC message instead of dispatching a runnable to the PBackground thread when shutting down quota manager; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D20922
2019-02-23 17:30:41 +01:00
Jan Varga
993ecafb04
Bug 1517089 - Part 11: Verify principalInfo before creating any parent actors; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D19205
2019-02-08 21:02:03 +01:00
Jan Varga
473d8c3a68
Bug 1517089 - Part 9: Add baseDomain to ContentPrincipalInfo; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D19203
2019-02-08 21:01:50 +01:00
Coroiu Cristina
24aacfe9a4
Merge inbound to mozilla-central a=merge
2019-03-07 06:34:11 +02:00
Alex Gaynor
9a784d8ef8
Bug 1533066 - replace OptionalIPCClientInfo with IPCClientInfo? in IPDL; r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D22332
--HG--
extra : moz-landing-system : lando
2019-03-06 17:57:04 +00:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
2fb61cb48b
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:39 +00:00
Alex Gaynor
e5279ff3f7
Bug 1532727 - replace OptionalURIParams with URIParams? in IPDL; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D22138
--HG--
extra : moz-landing-system : lando
2019-03-06 14:05:50 +00:00
Alex Gaynor
d3a1bdd83c
Bug 1532368 - replace OptionalPrincipalInfo with PrincipalInfo? in IPDL; r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D21972
--HG--
extra : moz-landing-system : lando
2019-03-05 14:41:42 +00:00
Yaron Tausky
842cf2b27c
Bug 1484524: Allow creating a StrongWorkerRef for IPC in the Canceling state r=asuth
...
By allowing the creation of StrongWorkerRefs in the Canceling state we
ensure that IPC will not fail and lead to crashes.
Differential Revision: https://phabricator.services.mozilla.com/D21920
--HG--
extra : moz-landing-system : lando
2019-03-04 23:05:34 +00:00
Alex Gaynor
38a2064d1e
Bug 1441651 - Part 2 - pass Shmem and ByteBuf by rvalref to Send* IPC methods; r=nika,jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D19954
--HG--
extra : moz-landing-system : lando
2019-03-04 16:35:30 +00:00
Alex Gaynor
82df5a3cd4
Bug 1441651 - Part 1 - pass Shmem and ByteBuf by rvalref to ParamTraits; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D19953
--HG--
extra : moz-landing-system : lando
2019-03-04 16:07:37 +00:00