Commit Graph

834965 Commits

Author SHA1 Message Date
Nika Layzell
9a282e09c9 Bug 1814683 - Part 3: Use the new Maybe-based ReadParam signature throughout IPDL, r=ipc-reviewers,jld
This builds on top of the work in bug 1775062, by using this new signature
everywhere, including IPDL struct members and in/outparams for IPDL messages.
This is done with relatively minimal changes by using two bindings, one of
which is a reference.

Differential Revision: https://phabricator.services.mozilla.com/D168880
2023-03-20 15:40:32 +00:00
Nika Layzell
f965102dee Bug 1814683 - Part 2: Add a constructor for IPDL structs which moves each parameter, r=ipc-reviewers,mccr8
This will be useful after part 3 where it will be used as part of implementing
Read based on Maybe for IPDL structs. Without this change, we'd need to copy to
construct an IPDL struct containing a non-default-constructable type.

Differential Revision: https://phabricator.services.mozilla.com/D169268
2023-03-20 15:40:32 +00:00
Nika Layzell
78fa962afb Bug 1814683 - Part 1: Combine parent/child fields in IPDL structs/unions, r=ipc-reviewers,necko-reviewers,mccr8
This combines the multiple fields or variants which were previously used to
track sided types like protocol types into a single field wrapped with a
SideVariant.

This will be used in the next part to avoid the need for default constructors
for actor types allowing the proper types to be used.

Differential Revision: https://phabricator.services.mozilla.com/D168879
2023-03-20 15:40:31 +00:00
Sergey Galich
c831cb5d87 Bug 1823194 - Declutter toolkit/components/satchel/test/satchel_common.js API r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172931
2023-03-20 15:31:21 +00:00
Sergey Galich
754503b035 Bug 1823185 - Modernize toolkit/components/satchel/test/test_input_valid_state_with_autocomplete.html r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172926
2023-03-20 15:31:21 +00:00
Sergey Galich
3563f99806 Bug 1823173 - Modernize toolkit/components/satchel/test/test_form_autocomplete_validation_at_input_event.html r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172924
2023-03-20 15:31:21 +00:00
Sergey Galich
47837171f2 Bug 1823170 - Modernize toolkit/components/satchel/test/test_datalist_with_caching.html r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172922
2023-03-20 15:31:20 +00:00
Sergey Galich
5638e26a31 Bug 1823168 - Modernize toolkit/components/satchel/test/test_datalist_shadow_dom.html r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172921
2023-03-20 15:31:20 +00:00
Sergey Galich
f41714f78f Bug 1823167 - Modernize toolkit/components/satchel/test/test_datalist_readonly_change.html r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172919
2023-03-20 15:31:19 +00:00
Sergey Galich
42158b7cec Bug 1823123 - Modernize toolkit/components/satchel/test/test_form_autocomplete.html r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172918
2023-03-20 15:31:19 +00:00
Sergey Galich
59b4088c90 Bug 1823115 - Modernize toolkit/components/satchel/test/test_form_autocomplete_with_list.html r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172910
2023-03-20 15:31:18 +00:00
Sergey Galich
3a9812a027 Bug 1816134 - show datalist in autocomplete for text controls only r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D172626
2023-03-20 15:31:18 +00:00
Nan Jiang
76bc2cc0fb Bug 1822027 - Do not show SPOC topsites in the URLbar r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D173025
2023-03-20 15:31:02 +00:00
elephanteatsapple
8ca988dcf3 Bug 1811933 -Replace placeholder <select> and <options> in MigrationWizard with a <button> and a <panel-list>. r=mconley,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170420
2023-03-20 14:56:41 +00:00
Frederik Braun
dba0f580d4 Bug 1823410 - register mixed content upgrading of passive content pref in nimbus r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D173027
2023-03-20 14:49:55 +00:00
Emilio Cobos Álvarez
30e1917e4c Bug 1823187 - Don't asynchronously size searchbar popup. r=mak
After bug 1809084, the popup positioning code became more sound,
including reliably positioning once after opening.

This code was asynchronously reducing the size of the popup, sometimes
after popup positioning.

Which means that if the popup had to slide (due to having many one-off
buttons), and we then shrunk it, the popup would be mispositioned.

There's no reason the getBoundsWithoutFlushing call has to be async
afaict, so just size the popup up-front.

Differential Revision: https://phabricator.services.mozilla.com/D172928
2023-03-20 14:44:18 +00:00
Greg Mierzwinski
25b79087e6 Bug 1784176 - Add a feature for manual logins for recording sites. r=perftest-reviewers,AlexandruIonescu
This patch adds the ability to run manual logins for our websites since it can be simpler, and quicker in some cases. At the same time, a bug with the options handling is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D164590
2023-03-20 14:42:45 +00:00
Cristina Horotan
45435f96ea Backed out 2 changesets (bug 1822759) for causing build bustage at pageInfo.css CLOSED TREE
Backed out changeset aa5bf955a23c (bug 1822759)
Backed out changeset 86f4f0a9ce68 (bug 1822759)
2023-03-20 16:45:38 +02:00
Cristina Horotan
4bb2c7c915 Bug 1784826 - disable test_bug360437.xhtml on all platforms for frequent failures. a=test-only 2023-03-20 16:37:09 +02:00
Cristina Horotan
cf36c98aa5 Bug 1784826 - disable test_bug360437.xhtml on win 11 platform for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172991
2023-03-20 14:24:34 +00:00
ui.dev
cf077f0070 Bug 1820820 - Update how the playPause button is selected for airmozilla wrapper. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D172963
2023-03-20 14:18:11 +00:00
Tiaan Louw
7d4dde97c0 Bug 1823015 - Enable layout.css.more_color_4 pref for failing test r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172983
2023-03-20 14:15:02 +00:00
Stanca Serban
8af2c71296 Bug 1775565 - disable browser_ext_openPanel.js on linux, mac opt and win11_2009. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D172990
2023-03-20 14:12:04 +00:00
Marco Castelluccio
56f93684c9 Bug 1804450 - Use 'shortest' expiration for crashreporter symbols. r=taskgraph-reviewers,jmaher DONTBUILD
Depends on D173012

Differential Revision: https://phabricator.services.mozilla.com/D173013
2023-03-20 14:03:51 +00:00
Marco Castelluccio
d3c0a68b9c Bug 1804450 - Add a 'shortest' expiration policy. r=taskgraph-reviewers,jmaher DONTBUILD
This is to be used for artifacts that are ingested by other services right away, e.g. crash symbols or coverage data.

Differential Revision: https://phabricator.services.mozilla.com/D173012
2023-03-20 14:03:50 +00:00
Emilio Cobos Álvarez
3d76dfa5ff Bug 1822759 - Use min-height: auto for permissions in pageInfo window. r=dao
That gets the right behavior even with flex-shrink: 1. An alternative
would be to also set flex-shrink: 0, but I don't see how this min-height
is useful so may as well remove code. Either way.

Depends on D172767

Differential Revision: https://phabricator.services.mozilla.com/D172768
2023-03-20 14:03:31 +00:00
Emilio Cobos Álvarez
d6cd984646 Bug 1822759 - Unify pageInfo.css. r=dao
Except the header styles, most of the other styles are identical.

Differential Revision: https://phabricator.services.mozilla.com/D172767
2023-03-20 14:03:31 +00:00
Olli Pettay
e04ab8699c Bug 1823397, Try to avoid allocations when handling mapped attributes, r=emilio
Depends on D173017

Differential Revision: https://phabricator.services.mozilla.com/D173018
2023-03-20 13:56:01 +00:00
Olli Pettay
557baad70b Bug 1823397, Add nsAutoAtom*String, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173017
2023-03-20 13:56:00 +00:00
lyavor
784f78bfb7 Bug 1804684 - Fragment navigation may change document URI scheme from https to http r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D165282
2023-03-20 13:46:20 +00:00
Luca Greco
f34bba48bf Bug 1823390 - Replace extension.readJSON with fetch to reduce perf impact of loading the DNR ruleset. r=robwu
`DNRStore`'s `#getManifestStaticRulesets` method is currently using `extension.readJSON` to load the JSON files
for the DNR static rulesets enabled, but internally `extension.readJSON` calls `String.prototype.replace` with
a regular expression to remove inline comments from the JSON files data retrieved and that have a noticebeable
impact due to the size that the DNR rulesets size may likely have (especially compared to the usual size of
manifest.json and locale files may have).

Given that Chrome doesn't support inline comments in DNR rulesets, we can consider replacing the call to
`extension.readJSON` with `fetch`, which wouldn't allow inline comments in the rulesets JSON files but
it would have a smaller impact due to not going through a call to `String.prototype.replace` and through
the js RegExp evaluations.

Alternatively we may consider keeping the call to `extension.readJSON` but tweak it to make sure we opt
out from the call to `String.prototype.replace` for this particular call (by also tweaking readJSON
method to allow that).

Differential Revision: https://phabricator.services.mozilla.com/D172604
2023-03-20 13:46:14 +00:00
Luca Greco
f0025f6986 Bug 1823390 - Fix typo in assertion message in head_dnr.js. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D172603
2023-03-20 13:46:14 +00:00
Byron Campen
f162da1700 Bug 1821231: Take RTX stats into account for outbound-rtp stats. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D172615
2023-03-20 13:44:35 +00:00
serge-sans-paille
5b6a2dae54 Bug 1822901 - Forward declare arch-specific xsimd specialization r=padenot
Otherwise the compiler tries to instantiate the generic version based on
its current architecture flags, which may not be enough, resulting in
error along those lines:

        'xsimd::batch<float, xsimd::neon> vgainr' has incomplete type

Differential Revision: https://phabricator.services.mozilla.com/D172864
2023-03-20 13:07:38 +00:00
Andrew Halberstadt
577c4dacfe Bug 1811850 - [lint] Fix ruff errors resulting from new configuration, r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,firefox-build-system-reviewers,ahochheiden
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D172359
2023-03-20 13:06:28 +00:00
Andrew Halberstadt
82d9947901 Bug 1811850 - [lint] Replace pylint linter with ruff, r=linter-reviewers,marco
This is enabling the PLE and PLC rules across a much larger swatch of the code
base. The PLR and PLW are additionally enabled at the warning level (introduces
~2500 new warnings).

To avoid extraneous changes in people's patches, rules at the warning level are
excluded from --fix.

Differential Revision: https://phabricator.services.mozilla.com/D172358
2023-03-20 13:06:28 +00:00
Andrew Halberstadt
441546dc79 Bug 1811850 - [lint] Replace isort linter with ruff, r=taskgraph-reviewers,linter-reviewers,marco,jcristau
This results in some changes from our current `isort` configuration. I'm
unclear if it's because ruff isn't at 100% parity with isort, they choose
different defaults or if I missed some configuration.

Either way, the changes all look reasonable to me (see child commit), so I'm
inclined to just accept the new import format it imposes.

Differential Revision: https://phabricator.services.mozilla.com/D172348
2023-03-20 13:06:27 +00:00
Andrew Halberstadt
dd673c2fb2 Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre
Ruff is a very fast linter implemented in Rust and it can act as a drop-in
replacement for flake8. When running the same set of rules across all files
in mozilla-central (without mozlint), flake8 takes 900 seconds whereas ruff
takes 0.9 seconds.

Ruff also implements rules from other popular Python linters such as pylint,
isort and pyupgrade. There are even plans to implement feature parity with
black in the future. Ultimately, it can become our one stop shop for all Python
linting and formatting.

This stack will swap out all our Python lint tools for ruff (excluding black
for now).

Differential Revision: https://phabricator.services.mozilla.com/D172313
2023-03-20 13:06:27 +00:00
ffxbld
787579f0f2 No Bug, mozilla-central repo-update HPKP remote-settings tld-suffixes - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D172961
2023-03-20 12:38:17 +00:00
Robert Longson
93304f6d11 Bug 1823290 - Check for NS_FRAME_SVG_LAYOUT directly rather than checking for an SVG frame that isn't an outer SVG frame r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172960
2023-03-20 12:30:45 +00:00
Calixte
b292300625 Bug 1823360 - Update PDF.js to new version 3903391f3cbed25806adc4a9874979f7725ec883 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D172989
2023-03-20 12:29:51 +00:00
Dan Robertson
126bc64c16 Bug 1168182 - Update webdriver recommended prefs. r=whimboo,webdriver-reviewers,jdescottes
Update the webdriver recommended preferences to include
dom.events.wheel-event-groups.enabled=false

Differential Revision: https://phabricator.services.mozilla.com/D172025
2023-03-20 12:19:36 +00:00
Dan Robertson
30e2548477 Bug 1168182 - Bind wheel event targets to wheel transactions. r=masayuki,smaug
- Create wheel transactions for wheel events handled by APZ.
 - Group wheel events with the current wheel transaction, so that all
   wheel events in a wheel transaction are fired to the same element.
 - Store the current event target for the first event in a wheel
   transaction to be used for subsequent events.
 - Add the dom.event.wheel-event-groups.enabled preference as a feature
   flag for this behavior.

Differential Revision: https://phabricator.services.mozilla.com/D163484
2023-03-20 12:19:36 +00:00
Sandor Molnar
17db57410f Backed out changeset 145603d042c8 (bug 1823376) for causing bc failures in uriloader/exthandler/tests/mochitest/browser_protocolhandler_loop.js CLOSED TREE 2023-03-20 14:45:17 +02:00
Sandor Molnar
a67270c195 Backed out 2 changesets (bug 1804140) for causing multiple failures.
Backed out changeset 14243ef3e860 (bug 1804140)
Backed out changeset 8f4ae1ab430d (bug 1804140)
2023-03-20 14:33:35 +02:00
Paul Zuehlcke
c4e9743fec Bug 1823376 - Return early after calling launchWithURI without prompt. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172997
2023-03-20 11:37:30 +00:00
Emilio Cobos Álvarez
8d22c05239 Bug 1823088 - Fix flex-basis in the edit bookmark panel. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172900
2023-03-20 11:36:28 +00:00
Emilio Cobos Álvarez
a763d95c3a Bug 1823201 - Use display rather than visibility: collapse to hide scroll arrows. r=Gijs
Since visibility: collapse can still end up with a non-zero size for
e.g., padding and so. display: none is a better fit for this.

I noticed this while investigating the overflow mentioned in the
previous patch.

Differential Revision: https://phabricator.services.mozilla.com/D172935
2023-03-20 11:31:18 +00:00
Emilio Cobos Álvarez
3c891dcf69 Bug 1823201 - Make arrowscrollbox deal with minimal scroll area correctly. r=Gijs
There are two bugs here:

 * We're sizing the popup in a way such as there's a <1px scroll range,
   even though there's space to position the popup in the screen without
   it. That's a layout bug I'll look into.

 * When you hit that situation, we never detect that we're scrolled to
   the end (because we have overflow and we're scrolled to the start
   even when scrolled to the end as well).

This patch fixes the second. As per above it's not a complete fix, but
it needs fixing as well, hypothetically you could've hit this with
enough bookmarks to just hit the screen, plus 1 pixel.

I'll look into the first bug too.

Differential Revision: https://phabricator.services.mozilla.com/D172933
2023-03-20 11:30:55 +00:00
Peter Van der Beken
0a61153f2e Bug 1804140 - Enable SHIP by default on desktop, whether or not Fission is disabled. r=smaug,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D172278
2023-03-20 11:17:06 +00:00