Граф коммитов

55215 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu 065ab21012 Merge inbound to mozilla-central. a=merge 2019-04-10 01:09:36 +03:00
Dave Townsend 58c5da3a73 Bug 1542716: Allow overriding the update channel that is used when generating the default profile name. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D26632

--HG--
extra : moz-landing-system : lando
2019-04-09 18:38:17 +00:00
Nathan Froyd a18df6e1a4 Bug 524410 - part 5 - merge adjacent line records where possible; r=gsvelto
After replacing precise line information from .debug_line with coarse
line information from DW_AT_call_{file,line}, it's very likely that
adjacent line records actually refer to identical file and line
numbers.  Such adjacent records are not really useful and take up more
space than they should in the symbol file.  We might as well merge them
and save ourselves some space.

Differential Revision: https://phabricator.services.mozilla.com/D25473

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:10 +00:00
Nathan Froyd 0bc682f0a1 Bug 524410 - part 4 - look through lexical block DIEs where appropriate; r=gsvelto
DW_TAG_subprogram DIEs sometimes have child DW_TAG_lexical_block DIEs
which in turn contain child DW_TAG_inlined_subroutine DIEs that we woud
like to look at.  If we skip the DW_TAG_inlined_subroutine DIEs, we miss
important information.  We therefore need to look through the
DW_TAG_lexical_block DIEs to find the DIEs that we are interested in.

Depends on D25471

Differential Revision: https://phabricator.services.mozilla.com/D25472

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:10 +00:00
Nathan Froyd 9deb471fc5 Bug 524410 - part 3 - replace line information for inlined functions; r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25471

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Nathan Froyd 52be053c0b Bug 524410 - part 2 - parse DW_TAG_inlined_subroutine DIEs; r=gsvelto
We record the file and line that these subroutines were inlined from.
We'll use that information to provide more coarse-grained line
information in the next patch.

Depends on D25469

Differential Revision: https://phabricator.services.mozilla.com/D25470

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Nathan Froyd d648debc54 Bug 524410 - part 1 - extract file information out of .debug_line parsing; r=gsvelto
The DW_AT_call_file attributes that we eventually want to parse from
DW_TAG_inlined_subroutine DIEs refer to the file name table stored in
the .debug_line section.  To resolve those DW_AT_call_file attributes,
we need access to that table after parsing of the appropriate
.debug_line bits is done.  This patch adds support for extracting that
information from the .debug_line parsing process.

Differential Revision: https://phabricator.services.mozilla.com/D25469

--HG--
extra : moz-landing-system : lando
2019-04-05 16:35:09 +00:00
Lina Cambridge 9e950e825b Bug 1542990 - Use "Toolkit :: Storage" for kvstore bugs. DONTBUILD r=mak,myk
Differential Revision: https://phabricator.services.mozilla.com/D26657

--HG--
extra : moz-landing-system : lando
2019-04-09 18:11:57 +00:00
Chris H-C b5cb77c347 Bug 1539257 - Show Origin Telemetry in about:telemetry l10n-r?flod r=janerik,flod
Differential Revision: https://phabricator.services.mozilla.com/D26715

--HG--
extra : moz-landing-system : lando
2019-04-09 16:53:09 +00:00
Vijay Budhram cc01c2ca14 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225

--HG--
extra : moz-landing-system : lando
2019-04-09 13:30:59 +00:00
Marco Bonardo 06d433199e Bug 1541399 - Ensure we don't fetch search suggestions for file urls. r=adw
Fixes the tokenizer to recognize file:/// urls, plus adds a second layer of
protection, so that if URI fixup thinks the typed string may be an url, we don't
fetch suggestions for it.

Differential Revision: https://phabricator.services.mozilla.com/D26282

--HG--
extra : moz-landing-system : lando
2019-04-08 23:50:21 +00:00
Mike Hommey 071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.

Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.

Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.

Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.

Differential Revision: https://phabricator.services.mozilla.com/D26076

--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
Myk Melez 8921690f26 Bug 1542888 - avoid Rkv::Manager call to std::fs::canonicalize r=lina
Avoid using Rkv::Manager, which calls std::fs::canonicalize, triggering bug 1531887 in Firefox on Android.

Differential Revision: https://phabricator.services.mozilla.com/D26605

--HG--
extra : moz-landing-system : lando
2019-04-09 03:57:18 +00:00
Emilio Cobos Álvarez d69e259595 Bug 1542193 - Unify handling of e10s and non-e10s Forms:ShowDropDown messages. r=mconley
I assume this was an artifact of when this was done with XBL.

Depends on D26517

Differential Revision: https://phabricator.services.mozilla.com/D26518

--HG--
extra : moz-landing-system : lando
2019-04-08 18:22:20 +00:00
Emilio Cobos Álvarez fe83b723b7 Bug 1542193 - Fix handling of select's direction in e10s. r=mconley
In bug 1375476 I fixed one of the places but missed the other. I'll refactor
them in a bit.

I wish I could run the select tests locally to extend them properly...

Differential Revision: https://phabricator.services.mozilla.com/D26517

--HG--
extra : moz-landing-system : lando
2019-04-08 18:19:28 +00:00
Botond Ballo 01fb933f83 Bug 1516056 - Remove SessionStoreUtils workaround added in bug 1538762. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D25526

--HG--
extra : moz-landing-system : lando
2019-04-08 23:35:53 +00:00
Dave Townsend 756e9d9e2a Bug 1542221: Correctly save the state of nsIToolkitProfileService.startWithLastProfile. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26576

--HG--
extra : moz-landing-system : lando
2019-04-08 22:50:42 +00:00
Andrew McCreight 1b901ff2db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

Differential Revision: https://phabricator.services.mozilla.com/D26422

--HG--
extra : moz-landing-system : lando
2019-04-08 21:39:27 +00:00
Ciure Andrei 3ff6ff6d6f Backed out changeset 5937ad352b2d (bug 1542024) for perma failing 406106-1.html CLOSED TREE 2019-04-09 00:12:32 +03:00
Geoff Brown 8d88b9a596 Bug 1318091 - Disable failing android gtests; r=bc
Disable gtests observed to fail on Android. Some of these are simple build
failures and failures due to file permissions or paths, while other failures
are more obscure.
Once Android gtests are running on mozilla-central, I will file follow-up
bugs inviting teams to investigate the failures and re-enable Android gtests
that are important to them.

Differential Revision: https://phabricator.services.mozilla.com/D26606

--HG--
extra : moz-landing-system : lando
2019-04-08 20:58:21 +00:00
Aaron Klotz 7dc9ef4c4d Bug 1541130: Add XRE_GetChildProcBinPathType to nsXULAppAPI.h; r=froydnj,jld
The binary path type of a particular content process is useful information
outside of IPC. Given that `XRE_EnableSameExecutableForContentProc` already
exists, and given that the binary path type is closely related to
`GeckoProcessType`, I've added a new function, `XRE_GetContentProcBinPathType`.

The mapping of process type to binary type has been moved to the
`GeckoProcessTypes` definitions.

This patch also modifies `ipc::GeckoChildProcessHost` to call into the new
function.

Differential Revision: https://phabricator.services.mozilla.com/D25816

--HG--
extra : moz-landing-system : lando
2019-04-08 20:19:51 +00:00
Chris H-C edef257303 Bug 1527656 - Telemetry.recordEvent should not throw r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D26380

--HG--
extra : moz-landing-system : lando
2019-04-08 20:19:03 +00:00
Andreas Tolfsen 32c351567c bug 1542836: toolkit/xre: format --MOZ_LOG and --MOZ_LOG_FILE help text; r=erahm
Produces a help text that conforms to the line width recommendations
of nsICommandLine.

On the other hand, the formatting of the source code itself is
rendered rather ugly by clang-format.

Differential Revision: https://phabricator.services.mozilla.com/D26583

--HG--
extra : moz-landing-system : lando
2019-04-08 19:30:44 +00:00
Andrew McCreight ccc11f67db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

I did a tiny bit of cleanup in the nsIXPConnectJSObjectHolder case of
DelegatedQueryInterface().

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

Differential Revision: https://phabricator.services.mozilla.com/D26422

--HG--
extra : moz-landing-system : lando
2019-04-08 19:44:45 +00:00
Dimi Lee fe3a1447b2 Bug 1542149 - Add some MacOS file extensions to to the list of executable extensions in download protection. r=Gijs
Here are the file extensions are added to the list:
1. action
2. caction
3. configprofile
4. definition
5. dylib
6. internetconnect
7. networkconnect
8. service
9. wflow
10.workflow

Differential Revision: https://phabricator.services.mozilla.com/D26284

--HG--
extra : moz-landing-system : lando
2019-04-05 12:04:49 +00:00
Ciure Andrei dc0b2df589 Backed out 3 changesets (bug 1541130) for causing GeckoChildProcessHost.cpp build bustages CLOSED TREE
Backed out changeset 656108173cde (bug 1541130)
Backed out changeset 5914a425bc67 (bug 1541130)
Backed out changeset 8ef30ebad16c (bug 1541130)
2019-04-08 22:54:57 +03:00
Aaron Klotz dd69e6bdd5 Bug 1541130: Follow-up: Add missing parts that had been stripped out during rebase; r=froydnj, jld on a CLOSED TREE
--HG--
extra : histedit_source : 2849ecff69e5b362ac2565552e101c542b47f696
2019-04-08 12:55:55 -06:00
Felipe Gomes 8b53b905aa Bug 1542760 - Correctly report the GPU process in about:support. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D26526

--HG--
extra : moz-landing-system : lando
2019-04-08 14:46:59 +00:00
Lina Cambridge 6bef7b8477 Bug 1542528 - Add an `xpcom::c_str` macro for creating static C strings. r=froydnj
This is based on the `c_str` macro in `js/rust/src/heap.rs`, but
returns a `NulTerminatedCStr` type that can be cast to a pointer.

This commit also changes `ThreadPtrHolder::new` to take a
`NulTerminatedCStr`, and removes an unnecessary `RefPtr` reference in
`is_current_thread`.

Differential Revision: https://phabricator.services.mozilla.com/D26429

--HG--
extra : moz-landing-system : lando
2019-04-08 14:43:35 +00:00
Chris H-C 1360eb1f6c Bug 1521597 - Remove data collection no longer useful r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D26375

--HG--
extra : moz-landing-system : lando
2019-04-08 07:27:14 +00:00
Luca Greco 8e50a683f8 Bug 1525917 - Add test for background page request cookies on cookieBehaviors. r=Ehsan,mixedpuppy
Depends on D22347

Differential Revision: https://phabricator.services.mozilla.com/D22348

--HG--
extra : moz-landing-system : lando
2019-04-05 17:52:07 +00:00
Luca Greco b4fe2cd3b8 Bug 1525917 - Do not override cookieBehavior to accept for an extension top level principal. r=Ehsan,baku
Differential Revision: https://phabricator.services.mozilla.com/D22347

--HG--
extra : moz-landing-system : lando
2019-04-05 17:54:56 +00:00
Avery Berninger fa0b54611b Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-08 09:15:16 +00:00
Cosmin Sabou 2174454bff Backed out changeset 7e40ec0c948d (bug 1523741) for telemetry failures on aboutTelemetry.homeSection. 2019-04-06 20:44:55 +03:00
Avery Berninger 09dac60807 Bug 1523741 - Converting legacy aboutTelemetry to Fluent aboutTelemetry, r=jaws,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D20417

--HG--
extra : moz-landing-system : lando
2019-04-06 00:54:52 +00:00
Felipe Gomes 0991a67ee9 Bug 1505322 - Display a breakdown of remote processes in about:support. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D26015

--HG--
extra : moz-landing-system : lando
2019-04-06 05:49:47 +00:00
Sylvestre Ledru 03fc65347c Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D26280

--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru 03c8e8c2dd 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-05 21:41:42 +00:00
Brian Grinstead dd5a4c95c6 Bug 1495861 - Convert <radio> to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D8121

--HG--
extra : moz-landing-system : lando
2019-04-05 21:16:24 +00:00
Lina Cambridge ef1ac8b64d Bug 1540894 - Store diverging structure in the bookmarks mirror. r=tcsc
This commit:

* Uses chunking to insert child GUIDs in `storeRemoteFolder`.
* Changes the mirror schema to store diverging structure, so that it
  can be passed to Dogear.
* Sorts remote items by GUID, so that diverging ones can be reparented
  in a deterministic order.
* Measures and logs the time taken to run the Rust merger.
* Adds tests for multiple parents and replacing invalid remote items.
* Fixes two tests in `test_bookmark_structure_changes` to ensure the
  remote structure is consistent.

Differential Revision: https://phabricator.services.mozilla.com/D26275

--HG--
extra : moz-landing-system : lando
2019-04-05 20:44:43 +00:00
Lina Cambridge 55eaa1eb23 Bug 1540894 - Vendor Dogear v0.2.3. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D26274

--HG--
extra : moz-landing-system : lando
2019-04-05 20:44:18 +00:00
Tom Ritter f957bd6970 Bug 1520177 - Fixed MinGW build's accessibility r=froydnj
This patch contains three fixes.

1) As in Bug 1515982, we use the constant for RT_MANIFEST instead of
the define, which needs winuser.rh to be included

2) We stop exempting the mingw builds from RCINCLUDE in
toolkit/library/moz.build which causes us to miss all of the
resources in xul.dll

3) We explicitly include IA2Marshal.dll instead of relying on
compiler magic to include it for us.

Differential Revision: https://phabricator.services.mozilla.com/D26295

--HG--
extra : moz-landing-system : lando
2019-04-05 18:14:16 +00:00
Randall E. Barker f0ff77d732 Bug 1541285 - Set CrashGenerationServer thread name for Linux and Android r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25983

--HG--
extra : moz-landing-system : lando
2019-04-05 20:14:21 +00:00
Jan-Erik Rediger 1f35158e01 Bug 1539907 - Don't write category labels for histograms when not recorded on target r=chutten
The new histogram is used as a compile-time check.

Differential Revision: https://phabricator.services.mozilla.com/D26330

--HG--
extra : moz-landing-system : lando
2019-04-05 17:51:59 +00:00
Luca Greco f84cec16a0 Bug 1541449 - storage.local API should fire onChanged event when falsey values are removed. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D25949

--HG--
extra : moz-landing-system : lando
2019-04-04 12:06:44 +00:00
Jan-Erik Rediger 02ff9a3491 Bug 1539166 - Trigger periodic prio ping once a day r=chutten
Depends on D26152

Differential Revision: https://phabricator.services.mozilla.com/D26153

--HG--
extra : moz-landing-system : lando
2019-04-05 16:17:06 +00:00
Jan-Erik Rediger bddd7c0344 Bug 1539166 - Trigger periodic ecosystem ping once a day r=chutten
Depends on D26151

Differential Revision: https://phabricator.services.mozilla.com/D26152

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:58 +00:00
Jan-Erik Rediger e391635b57 Bug 1539166 - Allow other periodic pings to be sent at regular intervals r=chutten
Depends on D26150

Differential Revision: https://phabricator.services.mozilla.com/D26151

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:56 +00:00
Jan-Erik Rediger 1520e51251 Bug 1539166 - Simplify daily ping reschedule r=chutten
This is only called on environment-changed pings.
We avoid re-setting the scheduler timeout, so that we can trigger other
pings at regular intervals unrelated to main pings.
This will not cause the daily ping to be sent more often, at worst we
schedule something once too frequently.

Depends on D26149

Differential Revision: https://phabricator.services.mozilla.com/D26150

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:54 +00:00
Jan-Erik Rediger 3019794ae5 Bug 1539166 - Remove unused variables r=chutten
Depends on D26148

Differential Revision: https://phabricator.services.mozilla.com/D26149

--HG--
extra : moz-landing-system : lando
2019-04-05 15:48:52 +00:00