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

75551 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Sudiaman c27b002b63 Bug 1790758 - Convert Region.jsm and IgnoreLists.jsm JSM modules to ESMs r=Standard8,preferences-reviewers,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D157337
2022-09-20 12:21:45 +00:00
Andreea Pavel e865bcb13c Backed out changeset 8f84cc961e80 (bug 1790046) for multiple failures on a CLOSED TREE 2022-09-20 14:50:21 +03:00
Jan-Erik Rediger c3138c3f3e Bug 1790046 - Split up metrics_index into lists by product. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D157434
2022-09-20 09:36:21 +00:00
Mike Hommey db68ae8577 Bug 1791482 - Use ARM neon flags more consistently. r=firefox-build-system-reviewers,andi
In one place, we specifically check for softfp and do the right thing,
while in another we omit doing it, while at the same time we already
have a check in arm.configure that gives us (mostly) the flags we want.

Differential Revision: https://phabricator.services.mozilla.com/D157687
2022-09-20 09:12:31 +00:00
Jens Stutte 8e845bcd74 Bug 1791350 - Replace C++ uses of Services.startup.shuttingDown with appropriate AppShutdown::IsInOrBeyond. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D157628
2022-09-20 05:59:26 +00:00
Jens Stutte 3557a0e284 Bug 1791350 - Make Services.startup.shuttingDown be based on AppShutdown::isInOrBeyond. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D157617
2022-09-20 05:59:25 +00:00
Dana Keeler bdb75eecd3 Bug 1790451 - remove now-unnecessary QueryInterface(Ci.nsITransportSecurityInfo) calls r=jschanck,webdriver-reviewers,necko-reviewers,application-update-reviewers,nalexander,valentin
Differential Revision: https://phabricator.services.mozilla.com/D157166
2022-09-20 03:58:50 +00:00
Dana Keeler 923d7b2029 Bug 1790451 - make nsIChannel.securityInfo concrete as nsITransportSecurityInfo r=kershaw,necko-reviewers,valentin,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D157136
2022-09-20 03:58:49 +00:00
Emilio Cobos Álvarez e1357847e5 Bug 1781434 - Clean-up dialog initial focus code. r=pbz,Gijs
Make it a bit easier to read and less prone to race conditions. Remove a
setTimeout referencing bug 103197 which I'm pretty sure it's not an
issue.

Differential Revision: https://phabricator.services.mozilla.com/D156543
2022-09-20 03:02:18 +00:00
Norisz Fay 0fae12009e Backed out changeset 149d45b6a85b (bug 1781434) for causing mochitest failures on test_bug398289.html CLOSED TREE 2022-09-20 04:16:06 +03:00
Mark Hammond 5ecc219891 Bug 1790931 - vendor a new application-services so golden_gate doesn't get stale. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D157402
2022-09-19 23:37:51 +00:00
Emilio Cobos Álvarez 93d2bb3408 Bug 1781434 - Clean-up dialog initial focus code. r=pbz,Gijs
Make it a bit easier to read and less prone to race conditions. Remove a
setTimeout referencing bug 103197 which I'm pretty sure it's not an
issue.

Differential Revision: https://phabricator.services.mozilla.com/D156543
2022-09-19 21:57:12 +00:00
Paul Zuehlcke 9ed5385a5a Bug 1787911 - Update and add tests for cookiebanners.service.mode.privateBrowsing. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D157264
2022-09-19 20:46:35 +00:00
Paul Zuehlcke 112f6ef0e4 Bug 1787911 - Add cookiebanners.service.mode.privateBrowsing to control PBM separately. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D157263
2022-09-19 20:46:34 +00:00
Emilio Cobos Álvarez 121b2bb157 Bug 1790920 - Remove nsButtonBoxFrame. r=smaug
Create XULButtonElement instead to do the event handling. Pretty much a
straight port, this allows these elements to respect CSS display
properly (and use modern flexbox rather than old XUL layout).

Differential Revision: https://phabricator.services.mozilla.com/D157509
2022-09-19 17:02:37 +00:00
Paul Zuehlcke 0d7f45ae13 Bug 1787249 - Update security.ui.protections* telemetry to never expire.
Differential Revision: https://phabricator.services.mozilla.com/D157517
2022-09-18 13:50:41 +00:00
Andreea Pavel 1f07ec9cdd Bug 1760086 - update disabling condition to include linux opt r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D157392
2022-09-17 08:13:54 +00:00
Joel Maher f668f1c655 Bug 1790868 - clean up 32 bit annotations for tests that don't run on 32 bit, and general cleanup. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D157352
2022-09-16 12:40:13 +00:00
Anna Yeddi 4325e90a9d Bug 1791007: Catching exception in test for Beta when no Twisty is present. r=florian
Fixing Perma toolkit/components/aboutperformance/tests/browser/browser_aboutperformance.js | Uncaught exception in test when Gecko merges to Beta on 2022-09-19

Test with pref "toolkit.aboutPerformance.showInternals=false" to have no rows with subitems and trigger the exception.

Differential Revision: https://phabricator.services.mozilla.com/D157484
2022-09-15 21:14:24 +00:00
Martin Robinson f943c5f18d Bug 1789255: Anonymous children of elements with content-visibility should not be skipped for layout r=emilio
Some anonymous children are important for properly sizing their parents
even when those parents hide content with `content-visibility`. This is
shown by regressions in the proper layout of some form elements with
`content-visibility`.

This change introduces a more conservative approach for avoiding layout
of hidden content. Instead of leaving all children dirty during reflow,
reflow anonymous frames (and nsComboboxDisplayFrame, a specialized kind
of anonymous frame). This change means that frames may only lay out some
of their children, so it must introduce some more changes to assumptions
during line layout.

In addition, this change renames `content-visibility` related methods in
nsIFrame in order to make it more obvious what they do.

Differential Revision: https://phabricator.services.mozilla.com/D157306
2022-09-15 20:32:27 +00:00
Norisz Fay fd54c095de Backed out changeset c3780baf6f24 (bug 1789255) for causing build bustages CLOSED TREE 2022-09-15 21:14:04 +03:00
Martin Robinson 631f1807ed Bug 1789255: Anonymous children of elements with content-visibility should not be skipped for layout r=emilio
Some anonymous children are important for properly sizing their parents
even when those parents hide content with `content-visibility`. This is
shown by regressions in the proper layout of some form elements with
`content-visibility`.

This change introduces a more conservative approach for avoiding layout
of hidden content. Instead of leaving all children dirty during reflow,
reflow anonymous frames (and nsComboboxDisplayFrame, a specialized kind
of anonymous frame). This change means that frames may only lay out some
of their children, so it must introduce some more changes to assumptions
during line layout.

In addition, this change renames `content-visibility` related methods in
nsIFrame in order to make it more obvious what they do.

Differential Revision: https://phabricator.services.mozilla.com/D157306
2022-09-15 17:56:42 +00:00
Emilio Cobos Álvarez 2bda6c8d2d Bug 1789439 - Fix browser_modal_print.js after previous patch.
MANUAL PUSH: Orange fix CLOSED TREE
2022-09-15 09:49:10 -07:00
Emilio Cobos Álvarez a2c65fb57d Bug 1790899 - Force legacy layout inside some elements that force-create legacy boxes for now. r=Itiel
I'll fix the root cause soon enough, but this should unbreak stuff in
the meantime.

Differential Revision: https://phabricator.services.mozilla.com/D157380
2022-09-15 16:17:07 +00:00
Emilio Cobos Álvarez 1209e58484 Bug 1789439 - Throw rather than logging an error when tab-modal print is already open. r=mstriemer
If we succeed but return null, we end up retargeting to a new window
here:

  https://searchfox.org/mozilla-central/rev/3aaca0a12a2d1463da54933bdbdae2f06fead06f/dom/ipc/ContentParent.cpp#5462-5465

Which is bad.

Depends on D156682

Differential Revision: https://phabricator.services.mozilla.com/D156683
2022-09-15 15:37:57 +00:00
Emilio Cobos Álvarez 01987b8ab3 Bug 1790900 - Miscellaneous related clean-ups. r=dao
xul|menulist:-moz-focusring > xul|*.menulist-label-box can never match, since
the label box is in the shadow tree exposed as a part.

For the same reason the equivalent linux rule isn't needed either (there's
nothing that would set an outline on this).

While at it s/-moz-focusring/focus-visible.

Depends on D157421

Differential Revision: https://phabricator.services.mozilla.com/D157422
2022-09-15 15:13:04 +00:00
Emilio Cobos Álvarez 79b2777b8a Bug 1790900 - Share in-content menulist dropmarker spacing code. r=dao
The bug here is that the 12px height below wasn't having an effect (flexing
took priority) and now is.

Rather than removing it or what not, just center-align the dropmarker icon,
this works with box layout modes and is more straight-forward.

Differential Revision: https://phabricator.services.mozilla.com/D157421
2022-09-15 15:13:03 +00:00
Nika Layzell 0316dc51b9 Bug 1790614 - Part 2: Use {ASSERT,ENSURE}_NS_{SUCCEEEDED,FAILED} in gtests, r=ahal,necko-reviewers
These macros will produce better outputs when they fail than these existing
patterns using `ENSURE_TRUE(NS_SUCCEEDED(...))` or similar, so this is a bulk
rewrite of existing tests to use them.

It should also help with discoverability when people base their tests off of
other existing tests.

Differential Revision: https://phabricator.services.mozilla.com/D157214
2022-09-15 14:51:50 +00:00
Tom Schuster a2593348c1 Bug 1787250 - Remove SCRIPT_FILE_PROTOCOL_CORRECT_MIME probe. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D157341
2022-09-15 14:44:21 +00:00
Simon Friedberger e7b5980201 Bug 1790851 - Add libprio-rs dependency. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D157315
2022-09-15 14:39:07 +00:00
Landry Breuil 118080259d Bug 1714919 - fix mime handler spawning with glib >= 2.64 badly interacting with OpenBSD sandboxing r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D117338
2022-09-15 13:36:43 +00:00
jneuberger 175f4b8c5a Bug 1790970 - Adding 邮箱 (chinese for email) in isInferredEmailField to detect usernameField on alipay.com r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D157436
2022-09-15 12:39:21 +00:00
Gijs Kruitbosch c7b7551a00 Bug 1789905 - add 'week' support to mozIntl's formatbestUnit code, r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D157162
2022-09-15 07:53:17 +00:00
Makoto Kato 4e66e82fab Bug 1790800 - Disable WebMIDI support on Linux/riscv64. r=gsvelto
Actually, the midir in mozilla-central isn't able to built for Linux/riscv64.
Although upstreamed midir supports Linux/riscv64 by [*1], our tree version is
old and we cannot update it due to bug 1773189. So we should disable it on
Linux/riscv64.

*1 https://github.com/Boddlnagg/midir/pull/101

Differential Revision: https://phabricator.services.mozilla.com/D157319
2022-09-15 04:37:30 +00:00
issammani b9b608626d Bug 1780571 - Check if input is managed by LoginManager before saving it to FormHistory database. r=sgalich
Depends on D154389

Differential Revision: https://phabricator.services.mozilla.com/D154390
2022-09-15 03:20:09 +00:00
issammani e3ac135bc7 Bug 1780571 - Reproduce bug and add test to catch it. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D154389
2022-09-15 03:20:08 +00:00
Ryan VanderMeulen 083930f0c5 Bug 1790929 - Update protobuf to version 21.6. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D157391
2022-09-15 01:33:24 +00:00
Neil Deakin 2fb144622c Bug 1777207, don't replace extensions of executables when saving on Windows any more; the filename has already been validated and it can cause the filename a user chose to be incorrect, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D156729
2022-09-15 01:26:04 +00:00
Andreea Pavel c535d10d9a Bug 1781434 - temporarily disable test_modal_prompts.html on win10_2004 r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D157361
2022-09-14 21:13:23 +00:00
ayeddi 5152bffb04 Bug 1753251 - Treats twisty image in about:performance as a disclosure button. r=morgan,florian,Jamie
Summary row includes an image button to expand/collapse details - it is made focusable with keyboard, programmatic role of a button and a descriptive label are assigned, and keyboard events are provided. Related code was refactored.

Differential Revision: https://phabricator.services.mozilla.com/D137709
2022-09-14 20:46:52 +00:00
Gavin Suntop 2211aa07c8 Bug 1789703 - Extra cleanup for old save to pocket code r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D157141
2022-09-14 18:44:44 +00:00
Emilio Cobos Álvarez 37db8e12bd Bug 1790590 - contain: size <browser> elements. r=dao
This allows them to shrink below their intrinsic size without adding a
bunch of min-height: 0 when using emulated flexbox, by zeroing out their
intrinsic size.

See the attached test-case, which is a very reduced version of
browser.xhtml: contain: size on the iframe seems like a better fix than
making sure all ancestors have min-height: 0 all the way up, which is
kinda what bug 1790303 was aiming for.

Differential Revision: https://phabricator.services.mozilla.com/D157207
2022-09-14 18:31:42 +00:00
Anna Yeddi 2c9d8ed9b8 Bug 1753251 - Treats twisty image in about:processes as a disclosure button. r=Jamie,florian
Summary row includes a Twisty image button to expand/collapse details - it is made focusable with keyboard, programmatic role of a `button` and a descriptive label are assigned, and keyboard events are provided. Related code is refactored and focus styling is updated.

Tests fixed.

Differential Revision: https://phabricator.services.mozilla.com/D139151
2022-09-14 17:35:31 +00:00
Christian Holler 0ecbfcaa6a Bug 1790555 - Add missing fuzzing instrumentation. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D157188
2022-09-14 15:52:20 +00:00
Sarah Clements 204e4fc381 Bug 1787979 - keyboard shortcut navigates to the wrong tab from Firefox View tab r=dao
* Remove index: 0 in FirefoxViewHandler.openTab
* Add condition in tabbrowser _selectNextTab for FirefoxView tab
* Fix tests

Differential Revision: https://phabricator.services.mozilla.com/D156688
2022-09-14 15:20:01 +00:00
Marian-Vasile Laza 02b993c483 Backed out changeset 9bf0a16672ec (bug 1787979) for causing bc failures on browser_sma_click_element.js. CLOSED TREE 2022-09-14 16:45:04 +03:00
Marian-Vasile Laza 72a10218e8 Backed out changeset b2447b074791 (bug 1753251) for causing bc failures on browser_aboutprocesses_twisty.js. 2022-09-14 16:35:03 +03:00
Anna Yeddi 40cd24ed54 Bug 1753251 - Treats twisty image in about:processes as a disclosure button. r=Jamie,florian
Summary row includes a Twisty image button to expand/collapse details - it is made focusable with keyboard, programmatic role of a `button` and a descriptive label are assigned, and keyboard events are provided. Related code is refactored and focus styling is updated.

Differential Revision: https://phabricator.services.mozilla.com/D139151
2022-09-14 12:58:47 +00:00
Sarah Clements 20971e4d83 Bug 1787979 - keyboard shortcut navigates to the wrong tab from Firefox View tab r=dao
* Remove index: 0 in FirefoxViewHandler.openTab
* Add condition in tabbrowser _selectNextTab for FirefoxView tab
* Fix tests

Differential Revision: https://phabricator.services.mozilla.com/D156688
2022-09-14 11:24:58 +00:00
Dale Harvey adea50e5d0 Bug 1790673 - Add pref to disable open in Private Search urlbar result. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D157238
2022-09-14 10:25:46 +00:00