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

695017 Коммитов

Автор SHA1 Сообщение Дата
Christian Holler 49a529842a Bug 1614294 - Increase the shutdown crash timeout for TSan builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65497

--HG--
extra : moz-landing-system : lando
2020-03-05 14:01:35 +00:00
Makoto Kato 070a000dd4 Bug 1620511 - Make ensure_mobile_android_packages Python3 compatible. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65683

--HG--
extra : moz-landing-system : lando
2020-03-06 17:30:27 +00:00
Jeff Gilbert 72e401a747 Bug 1620876 - Handle "//\n" webglsl comments. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D65929

--HG--
extra : moz-landing-system : lando
2020-03-09 03:19:25 +00:00
Tim Nguyen 6cec94d9be Bug 1620328 - Set conic-gradient angle range on Skia. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D65910

--HG--
extra : moz-landing-system : lando
2020-03-08 21:46:06 +00:00
Timothy Nikkel e424589434 Bug 1620817. Invalidate when the BrowserChild gets a different visible rect. r=mattwoodrow
layout/reftests/bugs/370422-1.html changes the size of a fission iframe.

Bug 1615504 made sure the visible rect got to the child process. But there is still a failure mode where (I assume) all invalidations/painting of changing the document size in the iframe content process happens before the effects visible rect ipc msg arrives at the content process.

In this case we still need to invalidate even though we use the correct visible rect on the builder we need a dirty rect that includes the unveiled area.

Depends on D65888

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

--HG--
extra : moz-landing-system : lando
2020-03-08 22:19:10 +00:00
Toshihito Kikuchi a8bf6fdef8 Bug 1605478 - Add temporary MOZ_DIAGNOSTIC_ASSERT to narrow down UntrustedModulesData's integrity problem. r=aklotz
Bug 1603714 showed there were `UntrustedModulesData` instances in which a load
event pointed to a module which did not exist in the modules list.

This patch adds `MOZ_DIAGNOSTIC_ASSERT` to the following places to narrow down
when it happened.

Given that the number of the impected users seems big (~200 crashes/day on Nightly),
we activate the assers with a probability of 1/16 (~12.5 crashes/day).

1. When processing load events
1-1. [Content] `UntrustedModulesProcessor::CompleteProcessing:`
  Verify events of a trusted module were eliminated by `GetModulesTrust`
1-2. [Content] `UntrustedModulesData::AddNewLoads`:
  Verify a new `ModuleRecord` matches the event
1-3. [Content] `UntrustedModulesProcessor::CompleteProcessing`:
  Verify processed data after new items were appended.

2. When processed data is sent
2-1. [Content] `UntrustedModulesProcessor::GetAllProcessedData`:
  Verify processed data before serialization.
2-2. [Content] `ParamTraits<mozilla::UntrustedModulesData>::WriteEvent`:
  Verify processed data before transferring to the browser process
2-3. [Browser] `ParamTraits<mozilla::UntrustedModulesData>::ReadEvent`:
  A final point to catch this integrity problem.  We had an IPC error here.

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

--HG--
extra : moz-landing-system : lando
2020-03-08 23:13:48 +00:00
Mark Banner c33838afba Bug 1620218 - Update Prettier to 1.18.2 and other ESLint modules to the latest versions. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D65510

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:23 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
eghitta d3f7560d28 Bug 1609872 - Make about:policies an HTML page. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D65896

--HG--
rename : browser/components/enterprisepolicies/content/aboutPolicies.xhtml => browser/components/enterprisepolicies/content/aboutPolicies.html
extra : moz-landing-system : lando
2020-03-08 20:54:17 +00:00
Toshihito Kikuchi 17bf9c99ee Bug 1619466 - Make the blocklist variable BROWSER_PROCESS work. r=aklotz
The blocklist variable `BROWSER_PROCESS` did not work as expected.  Entries
defined there were blocked not only in the browser process but also in the
child process.

This patch makes sure entries in `BROWSER_PROCESS` are blocked only in the
browser process.

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

--HG--
extra : moz-landing-system : lando
2020-03-08 19:47:17 +00:00
Shane Caraveo d51b1be41f Bug 1618500 handle permissions and preferences changes on addon update r=aswan
If an addon is updated and moves permissions between required to optional, we
want to retain the previously granted permission so the extension does not have to
request the permission from the user again. We also handle permission removal
and changes to preferences based on permissions.

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

--HG--
extra : moz-landing-system : lando
2020-03-08 19:29:55 +00:00
Ian Neal 5a836d5e08 Bug 1620854 - Tarball generation should also exclude git files. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65906

--HG--
extra : moz-landing-system : lando
2020-03-08 19:12:35 +00:00
Ted Campbell 27fbcdf5f5 Bug 1620852 - Run clang-format in js/ before merge-to-beta. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D65900

--HG--
extra : moz-landing-system : lando
2020-03-08 17:58:25 +00:00
Steve Fink 9ed399ec96 Bug 1620846 - gen.next() py3 compatibility fix for js testing r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D65899

--HG--
extra : moz-landing-system : lando
2020-03-08 17:42:12 +00:00
Kershaw Chang c86671a23a Bug 1620758 - Don't call AltSvcMapping::ProcessHeader OMT r=valentin
This patch contains two changes.
1. `AltSvcMapping::ProcessHeader` is not thread-safe, so dispatching an async task to do this.
2. `TRRService::Init` is called earlier before the user profile is loaded. If `network.trr.fetch_off_main_thread` is default to false and changed to true by users, TRR background thread would not be created.

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

--HG--
extra : moz-landing-system : lando
2020-03-08 13:52:07 +00:00
Yaron Tausky ca1e31ce93 Bug 1507180 - Add explanatory comment r=dom-workers-and-storage-reviewers,sg
Hopefully this comment would prevent a future contributor from
removing the copy operation.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 09:36:39 +00:00
Oana Pop Rus f8ccb19274 Merge mozilla-central to autoland on a CLOSED TREE 2020-03-08 16:46:13 +02:00
Oana Pop Rus e7d86cec68 Backed out changeset 996f931d61b6 (bug 1605478) for build bustages in Unified_cpp_toolkit_xre0.obj 2020-03-08 16:40:06 +02:00
Jan de Mooij bc480939fc Bug 1620825 - Disable DST-related test262 test for now.
Differential Revision: https://phabricator.services.mozilla.com/D65892

--HG--
extra : moz-landing-system : lando
2020-03-08 11:57:19 +00:00
Thal 557a0e222d Bug 1620596 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D65865

--HG--
extra : moz-landing-system : lando
2020-03-07 14:43:42 +00:00
Mike Hommey b6cb0ded83 Bug 1620165 - Switch win64-aarch64 opt and debug builds to cross-compiles. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D65486

--HG--
extra : moz-landing-system : lando
2020-03-06 21:47:52 +00:00
Mike Hommey a1559ceaf5 Bug 1620165 - Switch win32 opt and debug builds to cross-compiles. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D65485

--HG--
extra : moz-landing-system : lando
2020-03-06 21:09:16 +00:00
Mike Hommey 3c91017340 Bug 1620165 - Remove the now redundant win64-cross/opt build. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D65484

--HG--
extra : moz-landing-system : lando
2020-03-06 21:09:13 +00:00
Mike Hommey 4a257fb555 Bug 1620165 - Switch win64 opt and debug builds to cross-compiles. r=dmajor
This duplicates the peculiarities of the win64-cross/opt task, while adding
a rust-size dependency it was lacking.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 21:09:06 +00:00
Toshihito Kikuchi ff780f7c65 Bug 1615370 - Add fallback to ShellExecuteExW in nsMIMEInfoWin. r=aklotz
If a system uses a custom shell instead of Windows Explorer,
`ShellExecuteByExplorer` always fails because it relies on explorer.exe,
but `ShellExecute` stil works because it's in-proc implementation.

We added a fallback for a local file to address Bug 1602726.  This patch adds
a fallback for a uri.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 21:43:49 +00:00
Toshihito Kikuchi af5571ae8c Bug 1605478 - Add temporary MOZ_DIAGNOSTIC_ASSERT to narrow down UntrustedModulesData's integrity problem. r=aklotz
Bug 1603714 showed there were `UntrustedModulesData` instances in which a load
event pointed to a module which did not exist in the modules list.

This patch adds `MOZ_DIAGNOSTIC_ASSERT` to the following places to narrow down
when it happened.

Given that the number of the impected users seems big (~200 crashes/day on Nightly),
we activate the assers with a probability of 1/16 (~12.5 crashes/day).

1. When processing load events
1-1. [Content] `UntrustedModulesProcessor::CompleteProcessing:`
  Verify events of a trusted module were eliminated by `GetModulesTrust`
1-2. [Content] `UntrustedModulesData::AddNewLoads`:
  Verify a new `ModuleRecord` matches the event
1-3. [Content] `UntrustedModulesProcessor::CompleteProcessing`:
  Verify processed data after new items were appended.

2. When processed data is sent
2-1. [Content] `UntrustedModulesProcessor::GetAllProcessedData`:
  Verify processed data before serialization.
2-2. [Content] `ParamTraits<mozilla::UntrustedModulesData>::WriteEvent`:
  Verify processed data before transferring to the browser process
2-3. [Browser] `ParamTraits<mozilla::UntrustedModulesData>::ReadEvent`:
  A final point to catch this integrity problem.  We had an IPC error here.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 21:46:47 +00:00
Sylvestre Ledru ff3d04b683 Bug 1620635 - doc follow up - fix a typo DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D65864

--HG--
extra : moz-landing-system : lando
2020-03-07 12:13:02 +00:00
Gabriele Svelto 11fbcdd4e7 Bug 1608048 - Block all old versions of COMODO Internet Security Essentials DLLs r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D62895

--HG--
extra : moz-landing-system : lando
2020-03-06 23:11:56 +00:00
Timothy Nikkel 3f743c836a Bug 1617315. Add crashtest.
Depends on D65880

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

--HG--
extra : moz-landing-system : lando
2020-03-07 19:59:39 +00:00
Timothy Nikkel 07f1c3af49 Bug 1614211. Add crashtest.
Differential Revision: https://phabricator.services.mozilla.com/D65880

--HG--
extra : moz-landing-system : lando
2020-03-07 19:59:35 +00:00
championshuttler 38b5308165 Bug 1581814 - Re-enable mobile/android/components/extensions/test/mochitest/test_ext_tabs_executeScript_bad.html.r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D65794

--HG--
extra : moz-landing-system : lando
2020-03-07 12:54:59 +00:00
Hector Zhao b2fdf38a7f Bug 1618475 - Create targeting attributes for filtering onboarding cards in Fx China repack. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D65725

--HG--
extra : moz-landing-system : lando
2020-03-07 12:31:02 +00:00
Emilio Cobos Álvarez ed7d25f51e Bug 1620779 - Use built-in cargo vendor to vendor wrench / wgpu.
We were using the old cargo-vendor, which tries to fetch dependencies in a way
that crates.io dislikes, leading to spurious timeouts.

Use the built-in command instead. We no longer need the --relative-path flag
because the built-in one uses a relative path by default.

MANUAL PUSH: Fixing tree closure, so need to push on CLOSED TREE.

Differential Revision: https://phabricator.services.mozilla.com/D65882
2020-03-07 21:28:07 +01:00
Dale Harvey 7ea39613e0 Bug 1592335 - Add tests for sort_orders with specified locale r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D65629

--HG--
extra : moz-landing-system : lando
2020-03-06 18:33:03 +00:00
Michal Novotny d607330e6d Bug 1470571 - Sync with cache IO thread before checking alt-data flag in index, r=valentin
syncWithCacheIOThread() ensures that all pending events on IO thread are processed before we continue on the main thread, where we synchronously check the flag in the index

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

--HG--
extra : moz-landing-system : lando
2020-03-06 18:36:43 +00:00
Mike Hommey 7ef39a5fd8 Bug 1617043 - Track the time spent in fetch-content and mach artifact toolchain. r=rstewart
Note: while we can use time.monotonic in fetch-content, we can't in
mach artifact toolchain yet because it's still python2.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:46:14 +00:00
Simon Giesecke f66d2d1e91 Bug 1617170 - Replace GetFileReferencesHelper class by DispatchAndReturnFileReferences function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64076

--HG--
extra : moz-landing-system : lando
2020-03-07 09:36:59 +00:00
Simon Giesecke 6280440e9a Bug 1617170 - Unfriend FileInfo from FileManager and encapsulate access to mFileInfos. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64346

--HG--
extra : moz-landing-system : lando
2020-03-07 10:06:39 +00:00
Simon Giesecke 071004fb63 Bug 1617170 - Added const at a few places. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64342

--HG--
extra : moz-landing-system : lando
2020-03-07 09:34:31 +00:00
Simon Giesecke d8f8d659ae Bug 1617170 - Remove output parameter on GetStructuredCloneReadInfo* function, use Result instead. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D64077

--HG--
extra : moz-landing-system : lando
2020-03-07 09:34:03 +00:00
Simon Giesecke 3f03a15c43 Bug 1617170 - Replace sequence of ifs by switch. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64075

--HG--
extra : moz-landing-system : lando
2020-03-07 09:52:12 +00:00
Simon Giesecke 328d63a507 Bug 1617170 - Extracted common WrapAsJSObject function. r=dom-workers-and-storage-reviewers,perry
Differential Revision: https://phabricator.services.mozilla.com/D64074

--HG--
extra : moz-landing-system : lando
2020-03-07 09:33:13 +00:00
Simon Giesecke f18dc19439 Bug 1617170 - Remove mysteriously named ResolveMysteryMutableFile function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64073

--HG--
extra : moz-landing-system : lando
2020-03-07 09:32:49 +00:00
Simon Giesecke 55974e9697 Bug 1617170 - Use Variant in StructuredCloneFile. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D63683

--HG--
extra : moz-landing-system : lando
2020-03-07 09:32:21 +00:00
Simon Giesecke 2c98fa92a7 Bug 1617170 - Encapsulate StructuredCloneFile. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D63681

--HG--
extra : moz-landing-system : lando
2020-03-07 09:31:48 +00:00
Mark Banner b2df945d37 Bug 1620542 - Turn on linting of .eslintrc.js files. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D65704

--HG--
extra : moz-landing-system : lando
2020-03-07 09:30:44 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Emilio Cobos Álvarez f102f74183 Bug 1615100 - Paint the range thumb using button colors. r=spohl
This is very basic, and just uses the button colors. Did this because I thought
that it was going to help me fix one test but it didn't in the end, feel free to
reject, or to tell me to land the cleanup somewhere else :)

Depends on D65674

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:54:04 +00:00
Emilio Cobos Álvarez b6508fca7c Bug 1620297 - Make the range background size fixed. r=mstange
Otherwise the rendering of stuff like:

  <input type=range style="height: 300px">

Makes no sense. So this is closer to other widgets, and also happens to fix the
only test which is a real regression from non-native widget :)

Depends on D65673

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

--HG--
extra : moz-landing-system : lando
2020-03-07 09:57:42 +00:00
Emilio Cobos Álvarez eec667aac3 Bug 1620297 - Add support for vertical range inputs. r=mstange
This _almost_ fixes layout/reftests/forms/input/range/auto-size.html. It still
fails because of the variable-width track size :/

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

--HG--
extra : moz-landing-system : lando
2020-03-07 09:58:30 +00:00