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

790713 Коммитов

Автор SHA1 Сообщение Дата
Greg Tatum 45500af2ce Bug 1762297 - Change buttons on about:welcome language prompt; r=Mardak,platform-i18n-reviewers,nordzilla,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D142516
2022-04-01 21:39:16 +00:00
Greg Tatum e21ea02da1 Bug 1762297 - Assert the requested locales calls in about:welcome test; r=platform-i18n-reviewers,nordzilla
This bug asserts the current behavior, which will change in a following
patch.

Differential Revision: https://phabricator.services.mozilla.com/D142599
2022-04-01 21:39:16 +00:00
Cosmin Sabou ff0de58ac3 Backed out changeset b7dc5de07187 (bug 1753700) for causing android mochitest failures on test_ext_tabs_getCurrent.html. CLOSED TREE 2022-04-02 01:28:06 +03:00
Ray Kraesig 82b6f1bd95 Bug 1758654 - avoid stack overflow by running on a fiber r=gsvelto
Implement a strategy suggested by Raymond Chen [0] for avoiding stack
overflow in library code: move the relevant work onto a temporary fiber
with a potentially arbitrary stack size.

Additionally, implement a cppunittest to test the fiber code.

[0] https://devblogs.microsoft.com/oldnewthing/20200601-00/?p=103815
    _The Old New Thing_, "How can I expand my thread’s stack at runtime?"
    (and several followup posts).

Differential Revision: https://phabricator.services.mozilla.com/D141521
2022-04-01 21:20:51 +00:00
Jonathan Kew 5fff131f4c Bug 1761429 - Ensure we don't leak a gfxHarfBuzzShaper while handling font-size-adjust. r=lsalzman
The !mHBFace assertion here was (somewhat indirectly) pointing out that we
potentially leaked a gfxHarfBuzzShaper during font-size-adjust processing,
where (depending on the property value) we might end up creating a temporary
shaper to measure a character during metrics setup.

(A hypothetical AtomicUniquePtr<T> that we could use for fields like
gfxFont::mHarfBuzzShaper etc would have avoided this bug. Filed bug
1762633 about this.)

Differential Revision: https://phabricator.services.mozilla.com/D142712
2022-04-01 21:20:26 +00:00
Tooru Fujisawa 586d1b0392 Bug 1761581 - Directly report errors in self-hosted code. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D142353
2022-04-01 21:20:13 +00:00
Tooru Fujisawa dbdc38994d Bug 1761756 - Check the intersection again after conditioning the rect. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D142310
2022-04-01 21:20:08 +00:00
Molnar Sandor 8c2a7b41fb Backed out changeset caf3fd368a8e (bug 1759621) for causing xpc failures in /test_css-properties-db.js CLOSED TREE 2022-04-02 00:18:00 +03:00
Randell Jesup ae3ccd0aa8 Bug 1762605 - RLBox thread-safety annotations r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D142695
2022-04-01 20:43:57 +00:00
Tim Giles 33fa70370a Bug 1762649 - Fix credit card supported countries to use 'GB' code instead of 'UK'. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D142724
2022-04-01 20:35:37 +00:00
Serge Guelton dce3864b82 Bug 1754864 - cleanup js/ includes r=andi
Differential Revision: https://phabricator.services.mozilla.com/D141465
2022-04-01 20:29:34 +00:00
Nick Alexander b896fb72f7 Bug 1761389 - Add and use new PDF-specific document icon on Windows. r=bhearsum
The new icon is not channel-specific, but I've kept it in branding
since it's possible that we'll distinguish in the future.

Differential Revision: https://phabricator.services.mozilla.com/D142396
2022-04-01 20:29:18 +00:00
Nick Alexander fdcac688e9 Bug 1761389 - Pre: Use defines rather than inline numerals for icon indices. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D142395
2022-04-01 20:29:18 +00:00
Cosmin Sabou ae056f8313 Backed out changeset f255030d86d8 (bug 1577122) for causing talos crashes in Bug 1762611. 2022-04-01 23:30:12 +03:00
David Shin e75208ec5b Bug 1759621 - Migrate `<th>` `text-align` behaviour from presentation hint to UA CSS. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D142494
2022-04-01 20:24:19 +00:00
Andrew Halberstadt f7b854fe90 Bug 1748929 - Move TaskGraphGenerator.verify_* to a verifications in util/verify.py, r=releng-reviewers,aki
Standalone taskgraph doesn't have a 'verify_parameters' function as we can't
assume that parameters are documented in every consumer repo. By moving these
to proper verifications in util/verify.py, each consumer repo in standalone may
optional implement something for them or not (as they see fit).

Differential Revision: https://phabricator.services.mozilla.com/D142024
2022-04-01 20:19:27 +00:00
Andrew Halberstadt 85419e7f57 Bug 1748929 - Refactor util/verify.py to support non-task verifications, r=releng-reviewers,aki
Currently all verifications loop over tasks in a taskgraph. Though there are
some miscellaneous verifications in generator.py for things like parameters and
attributes. These verifications are currently specific to Gecko and cannot be
ported to other repositories.

This patch refactors the verifications logic to enable adding other arbitrary
verifications that don't use the same parameter values that a normal task
verification does. This will allow us to move the Gecko specific verifications
out of 'generator.py', which will allow us to use the standalone taskgraph
version of it.

Differential Revision: https://phabricator.services.mozilla.com/D142023
2022-04-01 20:19:27 +00:00
Kagami Sascha Rosylight 513cb1e763 Bug 1753309 - Fix build bustage 2 CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D142725
2022-04-01 20:11:23 +00:00
Ryan Hunt a4ec0a0687 Bug 1762619 - wasm: Disable code caching. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D142707
2022-04-01 19:35:34 +00:00
Kagami Sascha Rosylight 8b47c8a801 Bug 1753309 - Fix build bustage CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D142723
2022-04-01 19:51:18 +00:00
Molnar Sandor 83464f7ed4 Backed out changeset 053c8f65df23 (bug 1758369) for causing gv-junit failures in geckoview.test.AutocompleteTest#creditCardSaveModifyAccept 2022-04-01 22:50:00 +03:00
Scott cff1fa8e96 Bug 1762616 - Creating Pocket config for Pocket panels r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D142706
2022-04-01 19:26:06 +00:00
Ed Lee 4cb69d15d4 Bug 1762289 - Add thank you noodle backdrop image for about:welcome r=emcminn,dmose
Differential Revision: https://phabricator.services.mozilla.com/D142709
2022-04-01 19:17:50 +00:00
Emilio Cobos Álvarez 48c147fe43 Bug 1762625 - Remove unused principal argument from nsGeolocationService. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D142710
2022-04-01 19:14:53 +00:00
Lee Salzman bc333ceb93 Bug 1761404 - Add DrawTarget DrawShadow API call. r=jrmuizel,gfx-reviewers
This implements a new DrawTarget API call, DrawShadow. This can be used to draw
the shadow of a given Path and Pattern. Unlike DrawSurfaceWithShadow, this only
draws the shadow to simplify the resulting implementation. DrawTarget provides
a default implementation that will draw a blurred shadow to a transient surface
before handing it off to DrawSurfaceWithShadow, allowing existing DrawTarget
implementations to function without having to implement the new API at all.

Within DrawTargetWebgl, DrawShadow allows direct caching of the shadow in the
existing PathCache mechanism, unlike DrawSurfaceWithShadow which would usually
be called with different transient surfaces every time, even if the input
patterns actually matched.

CanvasRenderingContext2D is modified to call DrawShadow when only a shadow
needs to be applied without any filter. AdjustedTarget is modified to wrap
the necessary DrawTarget draw calls so they can be dispatched appropriately.

Since a lot of redundant shadow parameters are shared between DrawShadow and
DrawSurfaceWithShadow, and since a lot of consumers of these functions need
to also pass around these parameters, this also bundles these into a new
ShadowOptions structure to make this easier.

Differential Revision: https://phabricator.services.mozilla.com/D142026
2022-04-01 19:03:29 +00:00
Dan Minor 7bfa09587b Bug 1761464 - Load dictionaries lazily; r=smaug
Loading dictionaries is time consuming and must occur on the main thread. By
loading them lazily, we can hopefully spread these loads across multiple calls
rather than loading them all at once, which results in noticeable jank on
slower systems.

Differential Revision: https://phabricator.services.mozilla.com/D142558
2022-04-01 18:57:41 +00:00
Dan Minor cf34ce99d8 Bug 1761464 - Pass nsCString to RLBoxHunspell::Create; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D142696
2022-04-01 18:57:40 +00:00
Dan Minor 1dc69c5bc0 Bug 1761464 - Don't free dictionaries when they are no longer in use; r=smaug
This adds an mEnabled flag which is used to hide dictionaries from the
spellchecker rather than freeing them. Loading dictionaries is an expensive
process which must occur on the main thread. By retaining dictionaries in
memory, we avoid having to reload them. If the number of dictionaries in use
exceeds a set number (10), we'll attempt to free any disabled dictionaries to
avoid memory use growing indefinitely.

Differential Revision: https://phabricator.services.mozilla.com/D142557
2022-04-01 18:57:40 +00:00
Tim Giles 0cb7e5d490 Bug 1758369 - Ensure credit card number has no whitespaces or dashes before trying to match type. r=dimi,sgalich
This fixes the cases where a website modifies the credit card number after it has been filled.

Differential Revision: https://phabricator.services.mozilla.com/D140858
2022-04-01 18:38:02 +00:00
David Shin 505bdc0c07 Bug 1762258 - Add product name to printed PDF's "Creator" metadata field. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D142593
2022-04-01 18:33:26 +00:00
ashley 95cf10ee66 Bug 1744398 - Test if media element receives 'emptied' before 'timeupdate' r=alwu
Depends on D142628

Differential Revision: https://phabricator.services.mozilla.com/D142629
2022-04-01 18:26:05 +00:00
ashley bbae966812 Bug 1744398 - Media element load algorithm must fire 'emptied' before 'timeupdate' r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D142628
2022-04-01 18:26:05 +00:00
Cosmin Sabou ebb6debed2 Bug 1762362 - Update metadata. a=testonly CLOSED TREE 2022-04-01 21:31:39 +03:00
Cathy Lu 2a809cdea0 Bug 1753700 - Add priorityHint to allow apps to increase process priority for background tabs r=geckoview-reviewers,mccr8,agi
Prior behavior for active tabs in an inactive app would have the process priority oom score of 15. Now it's set to a higher priority oom score of 11. This will increase priority for recently used tabs on apps and prevent Android from unloading them.

Differential Revision: https://phabricator.services.mozilla.com/D142386
2022-04-01 17:44:33 +00:00
Tom Schuster 2e72af38c0 Bug 1753309 - Implement AbortSignal.timeout() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D137900
2022-04-01 17:15:19 +00:00
Nika Layzell 7743d4fd62 Bug 1761536 - Part 2: Replace nsTArray::elem_type with value_type, r=mccr8
There weren't that many uses of the existing typedef, so it seemed like
it might be worthwhile to just replace all uses of the previous typedef
with the stl-like one.

Differential Revision: https://phabricator.services.mozilla.com/D142705
2022-04-01 17:00:25 +00:00
Nika Layzell 98fc25db17 Bug 1761536 - Part 1: Add a `value_type` typedef to nsTArray, r=xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D142607
2022-04-01 17:00:25 +00:00
andrej 6cbd9c7da7 Bug 1741975 - Have WPT tests available in taskcluster r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140843
2022-04-01 16:59:17 +00:00
Tom Ritter bff6a5c9a7 Bug 1761075: Update version.h for dav1d when vendoring r=jbauman,jewilde
Differential Revision: https://phabricator.services.mozilla.com/D141890
2022-04-01 16:45:42 +00:00
Iulian Moraru d7933a01b3 Backed out changeset 4a083131d350 (bug 1753700) for causing linting failures on browser_ProcessPriorityManager.js. CLOSED TREE 2022-04-01 19:37:35 +03:00
Ed Lee 352b921b1e Bug 1762488 - Remove text configuration nesting with raw unlocalized text r=emcminn
Also allow configuring styles like zap and color. Clean up some unnecessary conditional rendering as Localized already handles that.

Differential Revision: https://phabricator.services.mozilla.com/D142673
2022-04-01 16:20:45 +00:00
Cathy Lu 8b26a85901 Bug 1753700 - Add priorityHint to allow apps to increase process priority for background tabs r=geckoview-reviewers,mccr8,agi
Prior behavior for active tabs in an inactive app would have the process priority oom score of 15. Now it's set to a higher priority oom score of 11. This will increase priority for recently used tabs on apps and prevent Android from unloading them.

Differential Revision: https://phabricator.services.mozilla.com/D142386
2022-04-01 16:10:47 +00:00
Sean Feng b16f825818 Bug 1738777 - Check whether we need to ignore tabindex again when doing sequential navigation r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D140406
2022-04-01 15:52:38 +00:00
John Schanck dfbc83b435 Bug 1758579 - land NSS NSS_3_77_RTM UPGRADE_NSS_RELEASE, r=djackson
Differential Revision: https://phabricator.services.mozilla.com/D142584
2022-04-01 15:44:27 +00:00
Randell Jesup ea1a74bb1e Bug 1760662 - DOM worker thread-safety annotations r=dom-worker-reviewers,smaug
Differential Revision: https://phabricator.services.mozilla.com/D130594
2022-04-01 15:44:23 +00:00
Dave Townsend f321e0bb55 Bug 1761932: Remove the unneeded keyframes DB schema check. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D142447
2022-04-01 15:29:17 +00:00
Gabriel Bustamante 6bd24d3ead Bug 1760675 - Upload gecko run-task and fetch content scripts as decision artifacts - r=releng-reviewers,aki
Differential Revision: https://phabricator.services.mozilla.com/D142517
2022-04-01 15:19:41 +00:00
Mathew Hodson b1bff09171 Bug 1746686 - Use `ChromeUtils.import` with one parameter in add-ons test code. r=robwu
Export some new TestUtils objects for code only used by tests.
Remove obsolete code for the Adobe EME plugin.

Differential Revision: https://phabricator.services.mozilla.com/D134220
2022-04-01 15:17:50 +00:00
Erik Nordin 89585cfcc9 Bug 1762476 - Validate promise existence in L10nMutations r=dminor
Validates that the TranslateElements promise exists before
attempting to append a native handler to it.

Differential Revision: https://phabricator.services.mozilla.com/D142619
2022-04-01 14:59:51 +00:00
Cathy Lu 104eb166e9 Bug 1753700 - Rename ActivityChanged to BrowserPriorityChanged. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D141531
2022-04-01 14:42:41 +00:00