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

770064 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila a3bbc4c745 Backed out 2 changesets (bug 1730117) for causing failures at test_suppressed_events_nested_iframe.html. CLOSED TREE
Backed out changeset 649984f4a939 (bug 1730117)
Backed out changeset 37a35b6b54b4 (bug 1730117)
2021-09-21 00:38:17 +03:00
Alex Lopez fe61e94ec8 Bug 1696251: Allow mach commands as stand-alone functions and adapt existing commands. r=mhentges,webdriver-reviewers,perftest-reviewers,sparky,whimboo
This removes the `@CommandProvider` decorator and the need to implement
mach commands inside subclasses of `MachCommandBase`, and moves all
existing commands out from classes to module level functions.

Differential Revision: https://phabricator.services.mozilla.com/D121512
2021-09-20 20:21:07 +00:00
Markus Stange 822fb73cde Bug 1685798 - Don't use //iu regular expressions in form autofill regex matching, in order to avoid a performance cliff. r=dimi
Instead, we try to get similar effects by calling toLowerCase() both on the
regex string and on the matched string.
This is probably not equivalent for non-English text. If we notice problems,
we can add more regexes. But as far as I know, this feature is currently
only enabled in the US and Canada.

In my testing, this change improves performance by 30x.

Before: https://share.firefox.dev/3kccIw8
After: https://share.firefox.dev/3EkZsNt

Differential Revision: https://phabricator.services.mozilla.com/D118231
2021-09-20 20:13:46 +00:00
Csoregi Natalia 592741b7e0 Backed out changeset 0711ae54877b (bug 1719938) for bustages on media_features.rs. CLOSED TREE 2021-09-20 23:29:05 +03:00
André Bargull 27c5890b89 Bug 1719733 - Part 2: Call MeasureUnit::GetAvailable() in SpiderMonkey. r=platform-i18n-reviewers,dminor
Depends on D125966

Differential Revision: https://phabricator.services.mozilla.com/D125967
2021-09-20 20:04:17 +00:00
André Bargull ee78515033 Bug 1719733 - Part 1: Add a MeasureUnit class to the unified Intl API. r=platform-i18n-reviewers,dminor
Currently only provides a single method to retrieve all available measurement units.

`MeasureUnit::GetAvailable()` returns an enumeration similar to the other Intl
classes which use `intl::Enumeration`. This approach gives us a more consistent
API, because it abstracts away the internal ICU implementation, which looks up
the measurement units through `UResourceBundle`. But it also means the
implementation is slightly more complicated due to this additional abstraction.

The default constructor was deleted because all methods are static.

Differential Revision: https://phabricator.services.mozilla.com/D125966
2021-09-20 20:04:17 +00:00
Tom Ritter 7295e740f0 Bug 1731358: Allow Updatebot tasks to choose the platform they run on r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D126134
2021-09-20 19:54:55 +00:00
Mats Palmgren 8e002ac59f Bug 1591366 - Always reserve 64 bits for frame property value r=dholbert
Depends on D115711

Differential Revision: https://phabricator.services.mozilla.com/D124955
2021-09-20 19:52:46 +00:00
Sean Feng fc3b778ccf Bug 1591366 - Improve nested grid layout performance r=mats
This patch improves nested grid layout performance by caching the grid
items' block axis measurement to avoid potentially doing exponential
reflows.

Differential Revision: https://phabricator.services.mozilla.com/D115711
2021-09-20 19:52:45 +00:00
Gijs Kruitbosch 55ef0cdf8b Bug 1726621 - ensure form validation popup always hides on tabswitches, navigations, etc., r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D124268
2021-09-20 19:46:23 +00:00
Alex Henrie 210903b7e5 Bug 1730379 - Check mmap return value in ScopedMMap constructor. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D125335
2021-09-20 19:29:39 +00:00
Harry Twyford 393eadce50 Bug 1726437 - Add new monochromatic themes. r=dao,mixedpuppy
This is pretty much impossible to review as-is, so it may be more useful to review the script that made them. The repo is at https://github.com/htwyford/create-theme-script. parse-themes-script.js is the main script. It reads input.json. input.json is pulled from https://github.com/FirefoxUX/themes/blob/main/tokens/color/base.json, with some light edits to fix inconsistencies. The file in the FirefoxUX repo is an export of the colors in the Figma file: https://www.figma.com/file/xaRff6432QsirRftX8NZgb/MR2-Themes?node-id=86%3A17747.

The themes aren't perfect yet. For example, the text color in the Urlbar chiclet is sometimes wrong. They also don't consider the UX spec on badge colors, since UX is still actively updating that part of the spec. Since these themes are behind a pref, I think we should land it and fix the issues in followups. It will make it more clear what is changing when they're not being added en masse like this. Getting them in the tree ASAP also lets UX and QA get a head start on testing them.

Differential Revision: https://phabricator.services.mozilla.com/D125755
2021-09-20 19:27:52 +00:00
Edgar Chen 97e68450e6 Bug 1730117 - Part 2: Make EnterModalState suppress event handling for the nested in-process documents; r=smaug
This also makes nsIDOMWindowUtils::SuppressEventHandling work properly.

Differential Revision: https://phabricator.services.mozilla.com/D125615
2021-09-20 19:23:52 +00:00
Edgar Chen d10e28e072 Bug 1730117 - Part 1: Make sync XHR suppress event handling for the nested in-process documents; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D125187
2021-09-20 19:23:52 +00:00
lamoure6 a4e720c69d Bug 1719938 - Removed remaining (non-negated) -moz-proton media queries. r=mhowell,mtigley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125328
2021-09-20 19:21:50 +00:00
Brad Werth fb11266988 Bug 1653417 Part 6: Make NativeLayerRootCA attempt to isolate video layers. r=gfx-reviewers,jrmuizel
This is another requirement for the video display layer to be detached and use
less power: the layer must be topmost and have only a black layer behind it.

Differential Revision: https://phabricator.services.mozilla.com/D124150
2021-09-20 19:19:28 +00:00
Brad Werth 2931358d79 Bug 1653417 Part 5: Make NativeLayerCA use AVSampleBufferDisplayLayers for video. r=gfx-reviewers,mstange
This patch reconstitutes a CMSampleBuffer from an IOSurface using spoofed
timing information to display the single sample immediately. Using this method
is neccessary, but not sufficient for the video display layer to be detached
and use less power. The remaining requirements are covered by later parts of
this patch series.

Differential Revision: https://phabricator.services.mozilla.com/D116643
2021-09-20 19:19:27 +00:00
Brad Werth 32624d8ae8 Bug 1653417 Part 4: Add scaffolding for NativeLayerCA to specialize video layers. r=gfx-reviewers,mstange
This is scaffolding for checking the conditions where the specialized video
layers will reduce power consumption. In the next part, we'll actually create
and fill the specialized layers.

Differential Revision: https://phabricator.services.mozilla.com/D107292
2021-09-20 19:19:27 +00:00
Brad Werth 8b0ed5b62c Bug 1653417 Part 3: Convert NativeLayerCA::Representation flags to use a bitfield. r=gfx-reviewers,mstange
The size of the NativeLayerCA::Representation struct seems to be a factor in
the power consumption of native layer updates. Converting this series of bools
into a bitfield is an easy way to reduce the structure size.

Differential Revision: https://phabricator.services.mozilla.com/D124992
2021-09-20 19:19:26 +00:00
Brad Werth 1a1a751ea1 Bug 1653417 Part 2: Make nsCocoaWindow notify its native layer when toggling fullscreen. r=gfx-reviewers,mstange
This allows the native layer code to determine when specialized video layers
might be beneficial for reducing power consumption.

Differential Revision: https://phabricator.services.mozilla.com/D124149
2021-09-20 19:19:26 +00:00
Molly Howell d8d823a0e5 Bug 1730835 - Prevent toolbarbuttons used as menu items from aligning to the center of the menu. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D125751
2021-09-20 19:08:31 +00:00
Molly Howell 92fc13dacf Bug 1724319 - Fix toolkit downloads component tests for when new download changes are enabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D125901
2021-09-20 19:07:47 +00:00
Brad Werth 8313bf8e70 Bug 1653417 Part 1: Define a pref for specialized video layers on macOS. r=gfx-reviewers,jrmuizel
If this pref is set, native layers will use a specialized video layer api for
fullscreen video content, which will reduce power consumption. It will do this
by isolating the fullscreen video layer from other layers. It may also remove
non-video content accompanying the fullscreen video. Content behind the video
*will* be replaced with a black fullscreen rectangle.

Future bugs will aim to reduce this side effect.

Differential Revision: https://phabricator.services.mozilla.com/D124999
2021-09-20 18:58:36 +00:00
Sean Feng c01f1a8018 Bug 1729342 - Use delegatesFocus for <input type=date/time/datetime-local> widget r=emilio
Currently datetimebox uses some hardcoded logic to find the edit
field inside the shadow tree and focus it.

Since we have delegatesFocus implemented, we could just use it without
these logic.

Differential Revision: https://phabricator.services.mozilla.com/D125440
2021-09-20 18:33:41 +00:00
Harry Twyford 42b741a2fd Bug 1730262 - Add first monochromatic theme. r=desktop-theme-reviewers,dao,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D125283
2021-09-20 18:30:49 +00:00
Francesco Lodolo (:flod) cb963e1cc5 Bug 1731528 - Add Santali (sat) to Nightly builds, r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D126066
2021-09-20 18:18:48 +00:00
Alex Lopez f9280b82f8 Bug 1696251: Rename setup to avoid name conflict when declassing mach commands. r=mhentges,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D126035
2021-09-20 18:06:48 +00:00
Ben Hearsum a2883c0968 No bug: backout rerun-pr action because it cannot be made to work in a reasonable fashion. r=releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D126123
2021-09-20 17:38:59 +00:00
Lee Salzman 5712e001aa Bug 1731636 - Guard against failed BufferData when loading vertex attributes in SWGL. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D126119
2021-09-20 17:14:19 +00:00
Byron Campen 1a3c093ae0 Bug 1693804: Re-enable these tests on linux. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D126098
2021-09-20 17:10:07 +00:00
Tom Ritter 507252d29e Bug 1731357: Enable the updatebot verification job on autoland r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D126011
2021-09-20 17:07:59 +00:00
Tom Ritter c630db4497 Bug 1700396 - Bump updatebot for the comment length fix r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D126118
2021-09-20 17:06:52 +00:00
Tom Ritter c41133e5b2 Bug 1730959: Provide a level for logging.disable in mach vendor r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D125741
2021-09-20 17:05:36 +00:00
Byron Campen 50c3cf7a3c Bug 1651268: Make sure the pre-run code for FindExpirationTime waits for timers to fire on all threads. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D125603
2021-09-20 16:45:53 +00:00
Neil Deakin 13cf41155c Bug 1724977, change default value of browser.tabs.warnOnClose to false, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D125780
2021-09-20 16:39:57 +00:00
Mike Conley b50fd4a2ec Bug 1707582 - Make browser_UsageTelemetry_interaction.js less susceptible to intermittent failure. r=mtigley,Gijs
This test was brittle for a few reasons:

1. The bookmarks toolbar is, by default, configured to show and hide
   depending on whether or not about:home/about:newtab is displayed.
   This meant that sometimes when trying to click on a bookmark
   toolbar item, a transition from the visible-to-collapsed or
   collapsed-to-visible state would be underway, and the click
   event would ultimately miss its mark.
2. The bookmarks toolbar also populates itself lazily, so the test has
   been adjusted to ensure that there are items in the toolbar before
   it attempts to click on one.

Differential Revision: https://phabricator.services.mozilla.com/D125761
2021-09-20 16:17:26 +00:00
Tom Ritter 800a85074e Bug 1729481: Exclude more things from dav1d to make it easier to update r=jbauman
Depends on D124940

Differential Revision: https://phabricator.services.mozilla.com/D124941
2021-09-20 16:09:55 +00:00
Tom Ritter 79c5c45599 Bug 1729481: Add support for an edge case in dav1d r=jewilde
dav1d's moz.build has  SOURCES[foo].flags assignment, we
can grab what we need from that for the purposes of this
function.

Depends on D124939

Differential Revision: https://phabricator.services.mozilla.com/D124940
2021-09-20 16:09:55 +00:00
Tom Ritter a758caf0c7 Bug 1729481: Fix a bug in the python-version hacks r=jewilde
I was checking if the caller was 'log' but that wasn't correct
because we pass the result of the function to log, we don't call
it from log

Differential Revision: https://phabricator.services.mozilla.com/D124939
2021-09-20 16:09:54 +00:00
Greg Tatum c2a474824b Bug 1719702 - Remove remaining ICU4C references in PluralRules in SpiderMonkey; r=platform-i18n-reviewers,dminor
I left the reference to UPluralRulesEstimatedMemoryUse as I felt it was
still accurate, and will only need to be renamed if/when we switch to
ICU4X.

Differential Revision: https://phabricator.services.mozilla.com/D126101
2021-09-20 16:02:36 +00:00
Mike Kaply 981bf3a9fe Bug 1729001 - Lock pocket new tab in preferences. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D125275
2021-09-20 15:50:37 +00:00
criss 173045805b Backed out changeset d70451b36f3f (bug 1725646) as per developer's request. CLOSED TREE 2021-09-20 19:42:12 +03:00
criss 4a4377f3ae Merge mozilla-central to autoland on a CLOSED TREE 2021-09-20 19:26:26 +03:00
criss b11064abde Merge autoland to mozilla-central. a=merge 2021-09-20 19:11:05 +03:00
criss 95547fbd1c Backed out changeset 5cc5876a51be (bug 1601228) for causing merge conflict a=backout 2021-09-20 19:08:44 +03:00
Katherine Patenio 4b0addaf02 Bug 1730972 - remove brandProductName from DTD. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D125750
2021-09-20 14:39:05 +00:00
Robert Mader b9982073c9 Bug 1731480 - Stop reporting swrast as driver, r=aosmond
`swrast` is reported as fallback software driver. This happens with
unknown sw-drivers (e.g. zink on lavapipe), but also when `glxtest`
incorrectly detects software rendering. This can be confusing and
is basically always wrong - by now it even got removed from Mesa
and for years only has been used on niche setups.

Make this more clear by using "mesa/software-unknown" instead.
No functional change beyond reporting intended here.

Differential Revision: https://phabricator.services.mozilla.com/D126052
2021-09-20 14:38:22 +00:00
Christoph Kerschbaumer 502869a709 Bug 1731602: Update some tests within netwerk/ to work with https-first enabled r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D126103
2021-09-20 14:30:47 +00:00
Kershaw Chang 0017d6ff11 Bug 1726528 - Make sure we don't fallback to a record without echConfig, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D125074
2021-09-20 14:24:15 +00:00
Kershaw Chang 21d1774ea9 Bug 1726528 - Add a pref to control whether to enable echConfig for http3, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D123125
2021-09-20 14:24:14 +00:00