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

817414 Коммитов

Автор SHA1 Сообщение Дата
Jens Stutte f466a8ebee Bug 1797688 - Part 1: Remove unnecessary check for gXPCOMThreadsShutDown in the ReleasingTimerHolder. r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D160619
2022-11-01 14:08:43 +00:00
Henrik Skupin bc818a8ce3 Bug 1774182 - [wdspec] Enhance "no such element" tests for WebDriver classic commands. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D160648
2022-11-01 14:08:15 +00:00
Stanca Serban 61d4863651 Backed out changeset c37b2558862b (bug 1787063) for causing new failures on _theme.scss. CLOSED TREE 2022-11-01 16:25:28 +02:00
David Shin c22e9caa8a Bug 1798022 - Attempt to give last baseline for scroll container before falling back to synthesized baseline. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D160680
2022-11-01 13:58:43 +00:00
Paul Zuehlcke 3baef5a4ac Bug 1795041 - Add tests for cookie banner handling section in the protections panel. r=timhuang
Depends on D160254

Differential Revision: https://phabricator.services.mozilla.com/D160485
2022-11-01 13:34:57 +00:00
Paul Zuehlcke 2cbc80b675 Bug 1795041 - Add a cookie banner handling per-site toggle to the protection panel. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D160254
2022-11-01 13:34:56 +00:00
Mark Banner 9189ff3f6f Bug 1798018 - Convert consumers of toolkit/modules/tests to import ES modules direct. r=Gijs,webdriver-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D160664
2022-11-01 13:26:38 +00:00
Mark Banner 7d3aef7f5d Bug 1798018 - Convert toolkit/modules/tests to ES modules. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D160663
2022-11-01 13:26:37 +00:00
Kelly Cochrane 8663faf53d Bug 1787063 - Adjust color-mix for secondary text to better align with design spec r=dao
Differential Revision: https://phabricator.services.mozilla.com/D160687
2022-11-01 13:26:20 +00:00
Jan de Mooij 1b17a8466f Bug 1384562 - Add OrdinaryToPrimitive fast path for stringifying plain objects. r=iain
The Ember subtest in Speedometer hits this a lot for some logging code and this is
likely to also affect similar JS code elsewhere.

This optimization is written so that even if it doesn't apply, there's little overhead
in most cases because we do the `toString` lookup only once.

Differential Revision: https://phabricator.services.mozilla.com/D160748
2022-11-01 13:15:45 +00:00
Ryan VanderMeulen 8dd1f60e09 Bug 1797588 - Update to JDK 17.0.5+8. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D160396
2022-11-01 12:34:47 +00:00
Kagami Sascha Rosylight aff6666c68 Bug 1798369 - Part 5: Esmify dom/serviceworkers/test r=dom-worker-reviewers,asuth
Depends on D160827

Differential Revision: https://phabricator.services.mozilla.com/D160828
2022-11-01 12:05:25 +00:00
Kagami Sascha Rosylight 161f27f2db Bug 1798369 - Part 4: Esmify dom/quota/test/modules/system r=dom-storage-reviewers,asuth
Depends on D160826

Differential Revision: https://phabricator.services.mozilla.com/D160827
2022-11-01 12:05:24 +00:00
Kagami Sascha Rosylight e3474dc92e Bug 1798369 - Part 3: Esmify dom/network/tests/tcpsocket_test.jsm r=necko-reviewers,kershaw
Depends on D160825

Differential Revision: https://phabricator.services.mozilla.com/D160826
2022-11-01 12:05:24 +00:00
Kagami Sascha Rosylight 50ce5b4e42 Bug 1798369 - Part 2: Esmify dom/indexedDB/test/unit/GlobalObjectsModule.jsm r=dom-storage-reviewers,asuth
Depends on D160824

Differential Revision: https://phabricator.services.mozilla.com/D160825
2022-11-01 12:05:23 +00:00
Kagami Sascha Rosylight 79c944ca42 Bug 1798369 - Part 1: Esmify dom/bindings/test/TestInterfaceJS.jsm r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D160824
2022-11-01 12:05:23 +00:00
Jens Stutte 4e74c37f21 Bug 1798298 - Use nsThread::Shutdown to shut down the CanvasRenderThread. r=gfx-reviewers,sotaro
Differential Revision: https://phabricator.services.mozilla.com/D160799
2022-11-01 10:11:27 +00:00
John Schanck 9a32599fad Bug 1754746 - example tlsserver that fails in handshake. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D148845
2022-11-01 09:52:52 +00:00
Valentin Gosu 46eba73276 Bug 1793521 - Add crashtest r=necko-reviewers,kershaw
Depends on D160785

Differential Revision: https://phabricator.services.mozilla.com/D160786
2022-11-01 09:50:18 +00:00
Valentin Gosu f4e5d22860 Bug 1793521 - Make sure URLs with invalid IDNA labels parse the same round-trip r=necko-reviewers,kershaw
This was regressed by bug 1788115, which allowed us to parse ASCII labels
again to enforce they're valid. However, the existing code only checked for
invalid punycode (that fails decoding), not ACE labels that are invalid.

If we don't check for this condition uidna_labelToUnicode will add a U+FFFD
character to the end of the label, making us encode it again, changing the URL.
When that happens, the principal's origin may change between serializations,
which is not OK.

Depends on D159373

Differential Revision: https://phabricator.services.mozilla.com/D160785
2022-11-01 09:50:18 +00:00
Valentin Gosu 00b54695c2 Bug 1793521 - Handle RHEntryInfoToRHEntry returning nullptr in BackgroundUtils.cpp r=ckerschb,freddyb
It seems RHEntryInfoToRHEntry may sometimes fail because deserializing the
principal fails. However, in this case `NS_ENSURE_SUCCESS(rv, rv);` does
nothing and is probably just a left-over from a refactoring.

If we don't bail early we may wind up with a nullptr in the redirectHistory
chain, which is most unexpected.

Differential Revision: https://phabricator.services.mozilla.com/D159373
2022-11-01 09:50:17 +00:00
Zhao Jiazhong 73a507a3e9 Bug 1798246 - Reduce ScratchTagScope in function loadAtomOrSymbolAndHash. r=dthayer,jandem
This is a workaround for scratch register usage conflict issue on loongarch64.

Differential Revision: https://phabricator.services.mozilla.com/D160745
2022-11-01 08:22:14 +00:00
sotaro 2ca9b289bc Bug 1795050 - Add context lost check to ClientWebGLContext::UpdateWebRenderCanvasData() r=gfx-reviewers,lsalzman
There was a case that context was lost with mResetLayer=false.

Differential Revision: https://phabricator.services.mozilla.com/D160874
2022-11-01 08:13:54 +00:00
ahochheiden 85e7e607e8 Bug 1766497 - Manually copy `pyvenv.cfg` on Windows to workaround a bug with `venv` on Python 3.6 r=firefox-build-system-reviewers,glandium
Depends on D159196

Differential Revision: https://phabricator.services.mozilla.com/D160599
2022-11-01 07:48:07 +00:00
ahochheiden f166c5e18b Bug 1766497 - Remove early exit on Homebrew Python3.10 now that we're using `venv` instead of `virtualenv` r=firefox-build-system-reviewers,nalexander
Depends on D158922

Differential Revision: https://phabricator.services.mozilla.com/D159196
2022-11-01 07:48:06 +00:00
ahochheiden fc391c3273 Bug 1766497 - Doc updates regarding `venv` r=firefox-build-system-reviewers,nalexander
- Removed references to Python 2
- Replaced references to `virtualenv` with `venv`

Depends on D145787

Differential Revision: https://phabricator.services.mozilla.com/D158922
2022-11-01 07:48:06 +00:00
Alex Hochheiden fbe0d1ecd7 Bug 1766497: Remove unused `virtualenv` package r=ahal
Now that Python's stdlib `venv` is used, `virtualenv` is no longer
needed.

Since mozharness depends on the wheels for `setuptools` and `pip`, and
they were vendored within `virtualenv` we must move them somewhere else.

I've chosen to add `third_party/python/venv/wheels` to hold those wheels
now that `virtualenv` is no longer there.

Depends on D145786

Differential Revision: https://phabricator.services.mozilla.com/D145787
2022-11-01 07:48:01 +00:00
Alex Hochheiden 4e98bd4b18 Bug 1766497: Mozharness: use `venv` instead of `virtualenv` r=ahal
The 'pip' and 'setuptools' that are bundled with 'venv' are not
consistent across python version and platforms. As such, we must
explicitly install a version of each that works with our codebase.

To achieve this, we simply create the venv using '--without-pip'
then 'pip install' both 'pip' and 'setuptools' using the wheels we have
'vendored' inside 'virtualenv'. There's no way to install a specific
version of 'pip' on venv creation, so it's faster to skip installing the
old version of 'pip' then, and install specific version we want right
afterwards.

We also don't want to use the venv '--upgrade` feature to upgrade 'pip',
since that will tie us to pypi, and will fail if pypi is down for
whatever reason.

Depends on D144872

Differential Revision: https://phabricator.services.mozilla.com/D145786
2022-11-01 07:48:00 +00:00
Alex Hochheiden edcac27dbf Bug 1766497: Mach: use `venv` instead of `virtualenv` r=ahal
Brew's Python 3.10 causes `virtualenv==20.7.2` to produce a wonky folder
structure (`$venv/opt/homebrew/lib/python3.10/site-packages`?).

This is likely fixed with newer `virtualenv`, but the simpler workaround
here is to use `venv` instead now that Python 3 is always used.

Adds `python3-venv` to docker image so that tests and debian-based tasks
can leverage it.

Differential Revision: https://phabricator.services.mozilla.com/D144872
2022-11-01 07:48:00 +00:00
sunil mayya bc5fa6471f Bug 1794785 - ensure event dispatches in nsHttpConnectionMgr is not executed under a lock. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D160779
2022-11-01 07:34:38 +00:00
Mozilla Releng Treescript a09341e61a no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
es-AR -> 5a20e75e98d255400482d997becdc8913ed4a8fa
hsb -> 81ed26088ff0d535bb5f211b6b19c760e9585034
lo -> d19e51946a5d9a0adeb45de3131bcfb6bae32fa4
nl -> 3198378ffd882446c53219ca6541edb0711fe58b
nn-NO -> b29562a1174bebfdb14178d804cdf0da79440b32
sl -> 0906267f4d441302a188e83831b9dd2512cc5a29
2022-11-01 07:02:16 +00:00
Jari Jalkanen a3decf626d Bug 1791767 - Add ISUPPORTS declaration macro for event targets. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D160813
2022-11-01 06:37:18 +00:00
Boris Chiou 71eaeb877e Bug 1774275 - Support the basic dynamic change among document-timeline, scroll-timeline, and null timeline. r=hiro
This patch tries to let SetTimelineNoUpdate() and
SilentlySetCurrentTime() be closer to the spec,
https://drafts.csswg.org/web-animations-2/#setting-the-timeline, and
https://drafts.csswg.org/web-animations-2/#silently-set-the-current-time

Besides, I update the test in scroll-timeline-dynamic.tentative.html
when changing the timeline from a scroll-timeline to none. Per the spec,
we should preserve the progress (note: step 10 in
https://drafts.csswg.org/web-animations/#setting-the-timeline).

Differential Revision: https://phabricator.services.mozilla.com/D159656
2022-11-01 01:49:36 +00:00
Glenn Watson 480db43e21 Bug 1798244 - Port gradient stops to be stored in gpu-buffer r=gfx-reviewers,lsalzman
Port gradient stops to be stored in the gpu-buffer rather than
the gpu-cache. The intent is to land a small use case for the
gpu-buffer code, which will allow us to get an idea if there's any
unexpected performance or driver bugs from the new gpu-buffer code,
before making wider use of this to replace the gpu-cache.

Differential Revision: https://phabricator.services.mozilla.com/D160743
2022-11-01 01:30:47 +00:00
Ting-Yu Lin d3a255d610 Bug 1797995 - Add a crashtest fixed by Bug 1797703. r=layout-reviewers,tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D160859
2022-11-01 01:29:27 +00:00
Itiel a4d22ff977 Bug 1798211 - Improve the identity panel layout and CSS r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D160725
2022-11-01 01:25:58 +00:00
Emilio Cobos Álvarez ad0925318b Bug 1798429 - Remove useless variables in nsSprocketLayout. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D160863
2022-11-01 01:12:51 +00:00
Boris Chiou 722dd73447 Bug 1771282 - Introduce ScrollTimelineAnimationTracker. r=hiro
It's possible to change the timeline if the animation is in pending. So
we still need an animation tracker to track the scroll-linked
animations. Besides, per the spec, we should keep this animation in
pending if its timeline is inactive. So in this patch, we always put the
scroll-linked animations into ScrollTimelineAnimationTracker, and if we
change the timeline but the animation is still in pending, we move the
animation into the correct animation tracker if needed.

Using two different animation trackers because we would like to trigger
scroll-linked animations after frame construction and reflow,
and don't want to ensure the paint is scheduled.

Note:
1. All tests in scroll-timeline-dynamic.tentative.html are failed. We
   will fix them in Bug 1774275.
2. Drop `animation-duration: infinite` from
   progress-based-animation-animation-longhand-properties.tentative.html,
   because infinite is not defined in animation-duration in [css-animations-1].

Differential Revision: https://phabricator.services.mozilla.com/D159650
2022-10-31 23:25:17 +00:00
Hiroyuki Ikezoe 512ea500ee Bug 1791606 - Downgrade the assertion when we found multiple SnapTargets for the same focused content. r=emilio
The assertion is valid, but fixing it would be a bit of work (bug 1798240),
so now we degrade the assertion to make it harmless on fuzzers works.

Differential Revision: https://phabricator.services.mozilla.com/D160742
2022-10-31 22:58:12 +00:00
Jonathan Watt 0f1f88eea5 Bug 1798312 - Rename page::PageOrientation to page::PageSizeOrientation. r=AlaskanEmily
The @page rule may contain both 'page-orientation' and 'size' properties. The
'size' property can contain an orientation component which was being
represented as 'PageOrientation' prior to this patch. This patch changes that
to 'PageSizeOrientation' so that 'PageOrientation' can be used for
'page-orientation' in a subsequent patch.

Differential Revision: https://phabricator.services.mozilla.com/D160790
2022-10-31 22:52:16 +00:00
Marian-Vasile Laza 1c6a6c7dd8 Backed out changeset 0e774d830db6 (bug 1798211) for causing bc failures on browser_addCertException.js. CLOSED TREE 2022-11-01 01:01:59 +02:00
Mike Hommey afbf00b6b7 Bug 1797897 - Switch fuzzing builds to lld instead of gold. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D160597
2022-10-31 22:36:11 +00:00
Mike Hommey 88e00f990e Bug 1797904 - Don't require mercurial when bootstrapping with git. r=firefox-build-system-reviewers,nalexander
The version of git-cinnabar that the bootstrap script pulls now doesn't
require Mercurial. Even older versions have been working fine without
Mercurial for a while.

Differential Revision: https://phabricator.services.mozilla.com/D160601
2022-10-31 22:35:02 +00:00
Itiel bb2b4a4003 Bug 1798211 - Improve the identity panel layout and CSS r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D160725
2022-10-31 22:10:09 +00:00
Gijs Kruitbosch d50f446da8 Bug 1761417 - add a test for spellcheck menu not closing when changing dictionaries, r=mconley
Depends on D155603

Differential Revision: https://phabricator.services.mozilla.com/D159778
2022-10-31 22:09:24 +00:00
Richard Marti e7aef8707f Bug 1761417 - Don't close the spellcheck menu on select/deselect a language. r=Gijs
Based on https://github.com/Betterbird/thunderbird-patches/blob/main/102/bugs/1783001-dont-close-spellcheck-menu-2-m-c.patch

Differential Revision: https://phabricator.services.mozilla.com/D155603
2022-10-31 22:09:24 +00:00
scott 94cec31663 Bug 1794020 - topsite promo tiles
Differential Revision: https://phabricator.services.mozilla.com/D160851
2022-10-31 22:05:25 +00:00
Emilio Cobos Álvarez d1af858321 Bug 1798171 - Remove vertical spacers in site permission dialog. r=mconley
We size to the minimum vertical size, so by default they don't take any space
at all anyways.

When scrolling, the min size of the content flexes along with them causing
broken sizing.

Differential Revision: https://phabricator.services.mozilla.com/D160723
2022-10-31 21:54:33 +00:00
Joel Maher 569b706a2d Bug 1798331 - annotation more tests for win11. r=bxbrenden
Differential Revision: https://phabricator.services.mozilla.com/D160807
2022-10-31 21:15:09 +00:00
Morgan Rae Reschenberg 77efbaba52 Bug 1797222: Make char rects relative to their continuation before caching r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D160401
2022-10-31 20:57:30 +00:00