Commit Graph

917997 Commits

Author SHA1 Message Date
André Bargull
b49cda0000 Bug 1898186 - Part 9: Remove ISO-8601 calendar assertions. r=spidermonkey-reviewers,dminor
These assertions were removed from the spec when supporting multiple built-in
calendars other than the ISO-8601 calendar was allowed even without ECMA-402
integration.

Depends on D211185

Differential Revision: https://phabricator.services.mozilla.com/D211186
2024-05-25 14:25:51 +00:00
André Bargull
0b9c758c85 Bug 1898186 - Part 8: Replace string calendar with enum class. r=spidermonkey-reviewers,dminor
Replace the string calendar with an enum class in preparation for adding support
of more built-in calendars. (This will happen in a follow-up bug.)

Depends on D211184

Differential Revision: https://phabricator.services.mozilla.com/D211185
2024-05-25 14:25:51 +00:00
André Bargull
87c43ea622 Bug 1898186 - Part 7: Return a linear string from ToTemporalCalendarIdentifier. r=spidermonkey-reviewers,sfink
The calendar identifier will generally be a linear string, so if we directly
return a linear string from `ToTemporalCalendarIdentifier`, we can simplify
some callers.

Depends on D211183

Differential Revision: https://phabricator.services.mozilla.com/D211184
2024-05-25 14:25:50 +00:00
André Bargull
4d78e64279 Bug 1898186 - Part 6: Enable now passing tests. r=spidermonkey-reviewers,dminor
Depends on D211182

Differential Revision: https://phabricator.services.mozilla.com/D211183
2024-05-25 14:25:50 +00:00
André Bargull
a59dd90007 Bug 1898186 - Part 5: Make all options-reading operations consistent. r=spidermonkey-reviewers,sfink
Changes from:
753b33cf25
5bc2597163

Depends on D211181

Differential Revision: https://phabricator.services.mozilla.com/D211182
2024-05-25 14:25:50 +00:00
André Bargull
9e8e6bacdd Bug 1898186 - Part 4: Move era/eraYear into 262 portion of spec. r=spidermonkey-reviewers,dminor
Changes from:
e1ed2eb7f1

Depends on D211180

Differential Revision: https://phabricator.services.mozilla.com/D211181
2024-05-25 14:25:49 +00:00
André Bargull
d224ea25ab Bug 1898186 - Part 3: Update spec step numbers. r=spidermonkey-reviewers,dminor
Depends on D211179

Differential Revision: https://phabricator.services.mozilla.com/D211180
2024-05-25 14:25:49 +00:00
André Bargull
e1517be055 Bug 1898186 - Part 2: Editorial updates. r=spidermonkey-reviewers,dminor
Changes from:
f04f65fe1a
e4b6a9a6b4
09a286ff14
9aa2899a2d

Depends on D211178

Differential Revision: https://phabricator.services.mozilla.com/D211179
2024-05-25 14:25:48 +00:00
André Bargull
29c6b15e8b Bug 1898186 - Part 1: Refactor CalendarFields + PrepareTemporalFields. r=spidermonkey-reviewers,dminor
Changes from:
d8e1946813
d967a0154a

Differential Revision: https://phabricator.services.mozilla.com/D211178
2024-05-25 14:25:48 +00:00
Updatebot
9508d23ab6 Bug 1898850 - Update android nightly application-services version bump to d73a4c7a45e1e10ae46a66078c00b439185c00ab r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D211647
2024-05-25 13:42:28 +00:00
Timothy Nikkel
0220614e37 Bug 1892643. Allow checking for shutdown in the image decode pool after the decode pool has been cleared. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D208086
2024-05-25 09:45:37 +00:00
longsonr
7d4a28101d Bug 1898409 - use the CTM for non-scaling-stroke rather than the screen CTM r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D211581
2024-05-25 09:27:22 +00:00
Iulian Moraru
c2f37d420b Backed out changeset 4a2ec4353ec1 (bug 1626741) for causing bc failures on browser_fullscreen_context_menu.js. CLOSED TREE 2024-05-25 11:32:43 +03:00
Mozilla Releng Treescript
3666adfbf0 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
be -> 667eb156bff7af648d3630ec8cf57cf35b6ce5d2
cs -> 6361153138f47fecfc66aae56b400c80bcaa4bb9
en-CA -> 72d98342c4096bc544b10acaefbac8ead221d117
en-GB -> fa725d5fdf110cfcf5437ffe8400d57003b2ee23
2024-05-25 07:02:17 +00:00
Iulian Moraru
61105d6e93 Backed out changeset 98f82a742b40 (bug 1510262) for causing failures on browser_aboutPrefs_fc_patch_partialBadSize_complete.js. CLOSED TREE 2024-05-25 09:08:43 +03:00
alwu
76e53e7c22 Bug 1827266 - support AV1 for MFCDM. r=media-playback-reviewers,jolin
Differential Revision: https://phabricator.services.mozilla.com/D211584
2024-05-25 02:15:55 +00:00
Mozilla Releng Treescript
b7c7e03438 no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-05-25 00:20:30 +00:00
Nick Alexander
e6ae3745c5 Bug 1898637 - Unify macos_framework_artifacts. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211628
2024-05-24 23:43:53 +00:00
Max Christian Pohle
d4336651a4 Bug 1842290 - Report whether Firefox is the default mailto protocol handler, r=nalexander,firefox-desktop-core-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D211455
2024-05-24 23:13:53 +00:00
Erik Nordin
1fc67a866c Bug 1894091 - Announce translation complete via A11yUtils r=ayeddi,fluent-reviewers,translations-reviewers,gregtatum,bolsson
The SelectTranslationsPanel now uses A11yUtils to announce
to assistive technology when the translation has completed.

Differential Revision: https://phabricator.services.mozilla.com/D211542
2024-05-24 22:39:19 +00:00
Eitan Isaacson
3357f914c8 Bug 1895551 - Remove aria attribute from ElementInternals when set to null. r=Jamie,dom-core,edgar
Differential Revision: https://phabricator.services.mozilla.com/D209721
2024-05-24 22:37:12 +00:00
John Schanck
d795febb58 Bug 1887577 - allow webauthn in xhtml documents. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D210204
2024-05-24 20:42:32 +00:00
Jonathan Sudiaman
ba32564cea Bug 1859774 - Add new Firefox View search component to Storybook r=kcochrane,fluent-reviewers,fxview-reviewers,reusable-components-reviewers,hjones
Simplified debouncing logic to avoid depending on DeferredTask. Add missing `aria-label` which is needed for the edge case of showing a search box without placeholder.

Differential Revision: https://phabricator.services.mozilla.com/D210701
2024-05-24 20:32:56 +00:00
Nikki Sharpley
ecc3669212 Bug 1892033 - Move sidebar style persistence from XULstore to SessionStore r=sidebar-reviewers,sessionstore-reviewers,backup-reviewers,dao,Gijs,sclements,kpatenio
Move style persistence from XULstore to SessionStore.

Follow up bug to fix persistence of sidebar when only a new tab is open and window is closed, and its
accompanying test `browser_sidebar_persist.js`: Bug 1898613

Depends on D207048

Differential Revision: https://phabricator.services.mozilla.com/D207787
2024-05-24 20:16:31 +00:00
Joel Maher
15a6a58ab8 Bug 1898801 - Fix tests on mac which use python2 to use python3 on macosx 14.x+. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D211604
2024-05-24 19:45:19 +00:00
Robin Steuber
c143f86d86 Bug 1896944 - Restore $TmpVal after using it for a different purpose r=nalexander
This is a bit ugly. The better fix for this issue is https://phabricator.services.mozilla.com/D211452 but that fix is a bit more invasive whereas this fix is a bit safer for uplift. So this patch will be uplifted and the other one will clean things up but won't be uplifted.

Differential Revision: https://phabricator.services.mozilla.com/D211608
2024-05-24 19:44:26 +00:00
Matthew Gaudet
9c7c992988 Bug 1898777 - Throw MissingUpstreamRepo from SrcRepository when calling get_outgoing_files r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D211579
2024-05-24 19:09:17 +00:00
Mozilla Releng Treescript
50e24df759 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> 18ad1a21bd37313e833ac606f80fcc9d1a91d760
ia -> 4dbeed2fdac32d261501ec1cca545f165833cb5c
2024-05-24 19:02:48 +00:00
Jeremy Swinarton
ce226d6ca7 Bug 1878051: Prevent THP from opening if panels or contextmenus open r=dwalker,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D210723
2024-05-24 18:12:09 +00:00
Magnus Melin
67a2c5c9c7 Bug 1898709 - Use GetMostRecentBrowserWindow() instead of GetMostRecentWindow(u"navigator:browser") to cater for Thunderbird's main window. r=nalexander
Based on https://github.com/Betterbird/thunderbird-patches/blob/main/115/bugs/1863798-toast-notification-foreground-mail-client-m-c.patch

Fixed cases where general code assume main window is Firefox.
GetMostRecentBrowserWindow is getting "navigator:browser" for Firefox, so there is no change in behavior,
but it means more things will work for Thunderbird.

Differential Revision: https://phabricator.services.mozilla.com/D211520
2024-05-24 17:43:52 +00:00
ffxbld
53c7b30100 No Bug, mozilla-central repo-update HSTS HPKP remote-settings mobile-experiments - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D211351
2024-05-24 17:20:16 +00:00
Jon Coppeard
f482422bf1 Bug 1888429 - Part 4: Make the internal thread pool dispatch tasks to free threads in a fixed order r=jandem
This changes the shell's internal thread pool to dispatch tasks to helper threads in
a fixed order rather than by threads picking up each task depending on which is
the first to get scheduled. In other words, if there is only ever at most one
task in the system then all tasks will be run on the first pool thread; if
there are at most two then the only the first two threads will be used.

This results in a noticable improvement on the splay benchmark on my linux
system, probably due to cache effects. This patch only affects the shell but it
indicates that it may be preferable for TaskController to work in a similar
way.

This removes JS::DispatchReason which is no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D206764
2024-05-24 16:50:06 +00:00
Jon Coppeard
e1f3c50592 Bug 1888429 - Part 3: Refactor helper thread code to make more GlobalHelperThreadState members private r=jandem
One thing I noticed while working on this was how much of the internals of
GlobalHelperThreadState are public. Code that access these internals can be
refactored into methods which also simplifies this code.

Differential Revision: https://phabricator.services.mozilla.com/D206763
2024-05-24 16:50:06 +00:00
Jon Coppeard
4094124a69 Bug 1888429 - Part 2: Don't run helper thread tasks on the main thread if they've already been dispatched to the thread pool r=jandem
After a task has been dispatched to the thread pool it's not possible to cancel
it. Don't run such tasks on the main thread but wait instead.

This does make a difference to parallel marking on the linux system I tested
on, so the patch changes that to explicitly use the main thread as one of the
marking threads (this always happened previously since we don't release the
lock before waiting on it). I believe this is because the core the main thread
is running on is likely to already have a bunch of the relevant data in its
caches.

Differential Revision: https://phabricator.services.mozilla.com/D206761
2024-05-24 16:50:05 +00:00
Jon Coppeard
713d18615c Bug 1888429 - Part 1.5: Limit number of dispatched tasks for all task kinds r=jandem
This removes the check from checkTaskThreadLimit that always allows tasks to
start if |maxThreads == threadCount|. Previously there was a further check on
the number of dispatched tasks that limited this to the number of threads but
that was removed in the previous patch. I don't know why this check was ever
there.

Without this change we will dispatch helper thread tasks for all Ion
compilations which can result in a very large number of tasks being dispatched.
Combined with the fact that this patch stack means that we can't cancel tasks
after they've been dispatched but before they start running this meant that
some tests were timing out.

The patch also simplifies the rest of that method as I've always found it
confusing.

Differential Revision: https://phabricator.services.mozilla.com/D209918
2024-05-24 16:50:05 +00:00
Jon Coppeard
4c0c91961b Bug 1888429 - Part 1: Pass task to run to helper thread dispatch callback r=jandem,mccr8
This changes the helper thread system to pick the task to dispatch up front and
pass it though to TaskController via the callback.

One issue that came up was that the memory containing IonCompileTasks is
protected until the task starts running, but we may now trace these before that
happens.

Differential Revision: https://phabricator.services.mozilla.com/D206762
2024-05-24 16:50:05 +00:00
Chun-Min Chang
cac448c325 Bug 1897631 - Cancel OutputDecodedData after parent-object goes away r=media-playback-reviewers,padenot
The parent global object of a webpage utilizing the WebCodecs API can go
away while WebCodec decoder (or encoder) output is in flight. If the
parent object is no longer available, all subsequent output callbacks
must be canceled.

Differential Revision: https://phabricator.services.mozilla.com/D211448
2024-05-24 16:40:15 +00:00
Chun-Min Chang
fadb12215a Bug 1897631 - Skip OutputEncoded*Data if AutoJSAPI init fails r=media-playback-reviewers,padenot
This patch ensures that OutputEncoded*Data does nothing if `AutoJSAPI`
initialization fails due to the absence of a parent object. As a result,
all encoder output will be dropped in such cases.

Differential Revision: https://phabricator.services.mozilla.com/D211447
2024-05-24 16:40:14 +00:00
Chun-Min Chang
287bbfa3f7 Bug 1897631 - Add testcase r=media-playback-reviewers,padenot
This patch introduces a test that simulates the steps outlined in bug
1897631 to reproduce a crash caused by the absence of the parent global
object. The parent object goes away when the page is refreshed, while
there are pending encoder or decoder output callbacks queued for
execution. In such cases, when these output callbacks are executed, they
fail to create the necessary WebCodecs elements due to lack of the
required parent global objects. Those objects were removed during the
page reload.

However, one drawback of using a page refresh in the test is that it
doesn't guarantee the crash will occur 100% of the time. There is a
slight chance the test will pass by luck. Nevertheless, having a test
that works 90% of the time is better than having no test at all.

Differential Revision: https://phabricator.services.mozilla.com/D211470
2024-05-24 16:40:14 +00:00
Byron Campen
42c61729da Bug 1894419: Extend gtest timeout to 60 minutes on tsan. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D211536
2024-05-24 16:33:43 +00:00
Byron Campen
cfe31ae8d8 Bug 1894419: Re-enable these tests on TSan. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D210980
2024-05-24 16:33:43 +00:00
Byron Campen
4066c86c09 Bug 1894419: Various gtest TSan fixes. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D210979
2024-05-24 16:33:42 +00:00
James Teow
727a4c395e Bug 1896265 - Part 9: Expire link caches on un-initialization - r=dao
It's mostly helpful for browser tests to reset TopSites.

Differential Revision: https://phabricator.services.mozilla.com/D211425
2024-05-24 16:05:11 +00:00
James Teow
28409f920e Bug 1896265 - Part 8: Remove initial preference values event - r=dao
Differential Revision: https://phabricator.services.mozilla.com/D211424
2024-05-24 16:05:10 +00:00
James Teow
6ce3b11485 Bug 1896265 - Part 7: Remove periodic updates of TopSites - r=dao
Differential Revision: https://phabricator.services.mozilla.com/D211423
2024-05-24 16:05:10 +00:00
James Teow
f57f231633 Bug 1896265 - Part 6: Subscribe to all relevant preference changes - r=dao
Differential Revision: https://phabricator.services.mozilla.com/D211422
2024-05-24 16:05:09 +00:00
James Teow
e790768040 Bug 1896265 - Part 5: Change main entry points to update search shortcuts and remove init/uninit from onActions - r=dao
Differential Revision: https://phabricator.services.mozilla.com/D211421
2024-05-24 16:05:09 +00:00
James Teow
44042b6b2a Bug 1896265 - Part 4: Rely on TopSites.updatePinnedSearchShortcuts to update search shortcuts - r=dao
Differential Revision: https://phabricator.services.mozilla.com/D211420
2024-05-24 16:05:09 +00:00
James Teow
0cbfa05b7a Bug 1896265 - Part 3: Force consumers to use TopSites.insert - r=dao
Differential Revision: https://phabricator.services.mozilla.com/D211419
2024-05-24 16:05:08 +00:00
James Teow
14630a1c35 Bug 1896265 - Part 2: Force consumers to call TopSites.pin and TopSites.unpin directly - r=dao
Differential Revision: https://phabricator.services.mozilla.com/D211418
2024-05-24 16:05:08 +00:00