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

860505 Коммитов

Автор SHA1 Сообщение Дата
Karl Tomlinson 89c28e8c37 Bug 1860954 don't store the graph lookup key in the graphs hashtable r=padenot,pehrsons
The necessary values for the lookup are now all in the graph itself.

I suspect this would also be possible with nsTHashtable but HashSet is
designed for a lookup class that differs from the stored class and requires
less boilerplate.

Depends on D191831

Differential Revision: https://phabricator.services.mozilla.com/D191832
2023-10-26 03:42:04 +00:00
Makoto Kato 9956d39635 Bug 1860222 - Cache previous result of nsLineBreaker::UpdateCurrentWordLanguage. r=TYLin,jfkthame
We will call `nsLineBreaker::UpdateCurrentWordLanguage` per `nsLineBreaker`
instance with utf-16 text or hyphen support. When browsing Wikipedia's large
page (browsertime uses https://en.wikipedia.org/wiki/Barack_Obama), this method
is called over 400 times with same atom (mostly "en", a few is "en-us") on
pageload time of Wikipedia.

As long as looking profiler data, nsLineBreaker::UpdateCurrentWordLanguage is
shown. And this isn't very fast due to parse the locale string with ICU4C.

So I think that we can improve a few pageload time to cache previous result.

Differential Revision: https://phabricator.services.mozilla.com/D191732
2023-10-26 02:24:23 +00:00
Karl Tomlinson 289905bb6e Bug 1860954 clarify that gGraphs is not used for offline graphs r=pehrsons
Depends on D191830

Differential Revision: https://phabricator.services.mozilla.com/D191831
2023-10-26 01:43:54 +00:00
Natalia Csoregi 9aacb97a70 Backed out changeset f1d6081744b0 (bug 1854045) as requested for causing Bug 1860978 and Bug 1861043. CLOSED TREE 2023-10-26 04:55:20 +03:00
David P 5fdb72e1f5 Bug 1811076: Part 1 - Initial commit of content analysis SDK r=cmartin
SDK from https://github.com/chromium/content_analysis_sdk
Pulled July 31, 2023

Differential Revision: https://phabricator.services.mozilla.com/D189567
2023-10-26 01:17:09 +00:00
Mike Hommey efeeadc85f Bug 1861273 - Add some profile markers for sub-phases of configure. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D191910
2023-10-26 00:49:31 +00:00
James Teow b4ae989be0 Bug 1855356 - Allow download of collection attachments to re-occur after failure - r=Standard8
Depends on D189992

Differential Revision: https://phabricator.services.mozilla.com/D190247
2023-10-26 00:45:34 +00:00
Karl Tomlinson 0bea1b1f27 Bug 1860952 warn when nsMaybeWeakPtr::GetValue() returns null for unexpected reasons r=xpcom-reviewers,mccr8
such as failure to implement QueryInterface to T or nsISupportsWeakReference.

Null return values are assumed to either represent an object that no longer
exists or no object, and so these failures are not detected elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D191827
2023-10-26 00:22:49 +00:00
Daisuke Akatsuka 49f78e27b7 Bug 1830732: If there is a loading page in _blank target, copy its URL r=adw
Differential Revision: https://phabricator.services.mozilla.com/D191825
2023-10-26 00:22:00 +00:00
Daniel Holbert 071c722cc0 Bug 1861259 part 3: Coalesce redundant array-index checks in nsRefreshDriver. r=tnikkel
This patch doesn't change behavior; it just removes some redundant checks.

(Note that the tight-scoping around nsAutoMicroTask/ReduceAnimations is
important for the RAII object to be torn down at the intended time; but it
doesn't need its own if-check.)

Depends on D191909

Differential Revision: https://phabricator.services.mozilla.com/D191911
2023-10-25 23:50:05 +00:00
Daniel Holbert 98398d6c56 Bug 1861259 part 2: Unroll the observer-array-loop in nsRefreshDriver::Tick. r=tnikkel
This patch doesn't change behavior.

This is a bit gross, but it helps us make better use of the backtrace to figure
out what's going on in a given crash report.

Differential Revision: https://phabricator.services.mozilla.com/D191909
2023-10-25 23:50:04 +00:00
Daniel Holbert 640f2e283d Bug 1861259 part 1: Refactor out a helper function for loop body in nsRefreshDriver::Tick. r=tnikkel
This doesn't affect behavior; it's just a pure refactoring, moving code from
being inline to being in a helper function.

Differential Revision: https://phabricator.services.mozilla.com/D191908
2023-10-25 23:50:04 +00:00
James Teh 4f15c940fa Bug 1860724: Use RemoteChildAt instead of RemoteNextSibling when handling RemoteAccessible reorder events. r=eeejay
RemoteNextSibling is slow because it uses IndexInParent, which is not currently cached.

Differential Revision: https://phabricator.services.mozilla.com/D191719
2023-10-25 23:31:53 +00:00
James Teh 5d6cbfc643 Bug 1848909: Add a11y support for XUL toolbarbuttons labelled by a text leaf. r=eeejay
Normally, XUL toolbarbutton elements are labelled using the label attribute or a child label element.
However, there are some instances such as in the Synced Tabs menu where a toolbarbutton contains only a text leaf.
Previously, these buttons exposed no label to accessibility APIs.
To fix this, we now allow a text leaf child in the accessibility tree.

We already supported this for XUL button elements.
Also, there was a bunch of existing common code in IsAcceptableChild for XULToolbarbuttonAccessible and XULButtonAccessible and the former subclasses the latter.
Therefore, XULToolbarbuttonAccessible::IsAcceptableChild has been refactored to call the base class method, adding an additional check specific to toolbarbuttons.

Differential Revision: https://phabricator.services.mozilla.com/D191713
2023-10-25 23:31:19 +00:00
James Teh 8fe0f11ad9 Bug 1859458: Never try to cast a XUL TableAccessible to a CachedTableAccessible. r=morgan
This is a speculative crash fix; I don't know how to reproduce this problem.
A non-XUL (HTML, SVG, etc.) table cell should always have a CachedTableAccessible ancestor.
Apparently, this sometimes isn't the case.
It seems there can be a table ancestor which is not a CachedTableAccessible, which could only be a XULListboxAccessible or XULTreeGridAccessible.
In this case, CachedTableCellAccessible::GetFrom would previously try to cast this TableAccessible to a CachedTableAccessible and breakage would ensue.
I don't know how this can happen, but we protect against this now by returning early if a XUL table is found, since a XUL table can never be a CachedTableAccessible.
In contrast, all non-XUL tables are always CachedTableAccessibles.

Differential Revision: https://phabricator.services.mozilla.com/D191374
2023-10-25 23:30:25 +00:00
James Teh 6ac2a29689 Bug 1860941: Don't pointlessly call GetProp in EnableBlindAggregation if there's no LazyInstantiator on which blind aggregation needs to be enabled. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D191812
2023-10-25 22:58:15 +00:00
Karl Tomlinson 2cc42dc9c8 Bug 1860954 store window ID on graph r=padenot
This will be used for naming audio output streams.

Depends on D191828

Differential Revision: https://phabricator.services.mozilla.com/D191830
2023-10-25 22:58:03 +00:00
Natalia Csoregi b730e4ddd5 Backed out 3 changesets (bug 1861020, bug 1860766) for causing permafailures on test_focus.xhtml. CLOSED TREE
Backed out changeset aae525447aff (bug 1861020)
Backed out changeset ca283022c693 (bug 1860766)
Backed out changeset 564a91732aa1 (bug 1860766)
2023-10-26 02:55:41 +03:00
Timothy Nikkel a958e79ad1 Bug 1860474. A few small optimizations to DisplayPortUtils::MaybeCreateDisplayPort. r=hiro
These are small but they do show up in sp3 profiles.

IsPaintingToWindow is always true, so just assert it.

HaveScrollableDisplayPort is a simple pointer check, whereas AsyncPanZoomEnabled needs to jump several pointers (and WantAsyncScroll is slower yet), so change the order.

HasNonMinimalNonZeroDisplayPort is not needed unless we are inside that if, so don't call it outside the if.

Differential Revision: https://phabricator.services.mozilla.com/D191599
2023-10-25 22:39:18 +00:00
Mike Hommey 499299574f Bug 1859733 - Parse profile_build_resources.json instead of build_resources.json. r=releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D191376
2023-10-25 22:34:23 +00:00
Mike Hommey 38875f2a2b Bug 1860711 - Avoid leaving an empty build resources file behind when failing. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D191801
2023-10-25 22:34:23 +00:00
Mike Hommey b1d37c633f Bug 1860710 - Add missing psutil stub for cpu_count. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D191800
2023-10-25 22:34:22 +00:00
Greg Tatum 2a9a371e85 Bug 1815339 - Handle a missed promise rejection; r=nordzilla
This is another drive-by that I noticed while working on this patch
stack. It was causing additional errors in tests.

Differential Revision: https://phabricator.services.mozilla.com/D190726
2023-10-25 22:15:12 +00:00
Greg Tatum 96328cba8c Bug 1815339 - Fix auto-translate errors showing uninitialized screen; r=nordzilla
This is a drive-by fix for a behavior I was seeing while testing this
patch stack.

Differential Revision: https://phabricator.services.mozilla.com/D190725
2023-10-25 22:15:12 +00:00
Greg Tatum 9904c68b69 Bug 1815339 - Ensure dangling MessagePorts are cleaned up in JSActorManager; r=asuth
The previous behavior was triggering an assertion in the
StructuredCloneHolder destructor. In this particular case, the dangling
MessagePorts can safely ignored.

Differential Revision: https://phabricator.services.mozilla.com/D191472
2023-10-25 22:15:11 +00:00
Greg Tatum 7ed80127cd Bug 1815339 - Add missing member to the StructuredCloneData move assignment operator; r=asuth
This was causing an error when transferring MessagePorts.

Differential Revision: https://phabricator.services.mozilla.com/D190724
2023-10-25 22:15:11 +00:00
Greg Tatum f2ed6409bc Bug 1815339 - Restore the transfer attribute in JSWindowActor; r=ipc-reviewers,nika
This was removed in Bug 1580907, but the translations feature needs it
restored in order to transfer MessageChannel ports. A new test is added
as well.

Differential Revision: https://phabricator.services.mozilla.com/D190723
2023-10-25 22:15:11 +00:00
Natalia Csoregi a95493f879 Backed out 2 changesets (bug 1856464) for causing failures on test_SpecialPowersSandbox.html. CLOSED TREE
Backed out changeset 4a8a737bf972 (bug 1856464)
Backed out changeset d91e54437030 (bug 1856464)
2023-10-26 01:20:48 +03:00
Tom Marble 28edc0c671 Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 21:47:25 +00:00
Heitor Neiva 1474977650 Bug 1861199 - Fix attribution string r=bhearsum,taskgraph-reviewers,releng-reviewers
Reverts the order of transforms so padding happens after task-context
Prevents run-task from removing the tab characters when passing in the values to bash

Differential Revision: https://phabricator.services.mozilla.com/D191696
2023-10-25 21:41:14 +00:00
Natalia Csoregi 19d7f6e498 Backed out changeset 566ecf6a1527 (bug 1811076) for causing Bugzilla failures. CLOSED TREE 2023-10-26 00:39:25 +03:00
David P 9752269254 Bug 1811076: Part 1 - Initial commit of content analysis SDK r=cmartin
SDK from https://github.com/chromium/content_analysis_sdk
Pulled July 31, 2023

Differential Revision: https://phabricator.services.mozilla.com/D189567
2023-10-25 21:01:03 +00:00
Abhishek Madan 373916c840 Bug 1860617 - Updated Strip On Share to be enabled by default. r=dmehic,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191675
2023-10-25 21:00:31 +00:00
Hiroyuki Ikezoe dd0f953d7b Bug 1860943 - Hold mutex before accessing mAnimation. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D191813
2023-10-25 20:59:44 +00:00
Mike Hommey c66a1d80e6 Bug 1859997 - Switch manifestparser to toml instead of tomlkit. r=jmaher,ahal,mach-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D191394
2023-10-25 20:54:17 +00:00
Shane Hughes 82eccc0225 Bug 1830715 - ASRouter devtools for editing and resetting impressions. r=omc-reviewers,emcminn
Adds some new ASRouter methods for resetting impressions of all 3 types,
message impressions, group impressions, and screen impressions, and
exposes them through some new buttons and textboxes in a new Impressions
tab in the ASRouter devtools.

Differential Revision: https://phabricator.services.mozilla.com/D178261
2023-10-25 20:52:29 +00:00
Karl Tomlinson d221f4fa92 Bug 1860954 clarify that fingerprinting resistance status is not a direct part of the key for graph lookup r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D191828
2023-10-25 20:43:26 +00:00
Ray Kraesig 3fd218210b Bug 1853920 - [2/2] quote empty strings in Windows command lines r=win-reviewers,gstoll
Quote empty arguments in command lines. Add appropriate tests.

Differential Revision: https://phabricator.services.mozilla.com/D191128
2023-10-25 19:51:11 +00:00
Ray Kraesig 1fdc9f004c Bug 1853920 - [1/2] cleanup: merge function implementations r=win-reviewers,mhowell
`internal::ArgStrLen` and `internal::ArgToString` must behave
identically. Merge them into a common implementation function to ensure
this.

Additionally, use `size_t` rather than `int` as an intermediate data
type where appropriate.

No functional changes.

Differential Revision: https://phabricator.services.mozilla.com/D191127
2023-10-25 19:51:10 +00:00
Matthew Gregan b8644ef4d3 Bug 1860960 - Update AudioIPC to ec6af6ec. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D191838
2023-10-25 19:50:43 +00:00
Byron Campen 3ffa4e8008 Bug 1860794: Tell PC to break cycles if the unlink starts in RTCRtpSender/Receiver/Transceiver. r=mjf
Depends on D191804

Differential Revision: https://phabricator.services.mozilla.com/D191805
2023-10-25 19:44:42 +00:00
Byron Campen 8398bf5d4d Bug 1860794: Fix state bloat caused by MediaTransportChild holding a strong ref to MediaTransportHandlerIPC. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D191804
2023-10-25 19:44:42 +00:00
Michael Froman 1b775ebfe2 Bug 1858926 - updated libwebrtc patch stack adding third_party/libwebrtc/tools directory to patch-stack. r=ng,webrtc-reviewers DONTBUILD
This will help avoid future vendoring errors if files under this path
are changed.

Depends on D191886

Differential Revision: https://phabricator.services.mozilla.com/D191887
2023-10-25 19:20:17 +00:00
Michael Froman e7bd2ec8a2 Bug 1861140 - updated libwebrtc patch stack to remove patch signatures. r=ng,webrtc-reviewers DONTBUILD
Depends on D191885

Differential Revision: https://phabricator.services.mozilla.com/D191886
2023-10-25 19:20:17 +00:00
Michael Froman 398f0a9a98 Bug 1861140 - remove signature from patches to reduce patch-stack file churn. r=ng DONTBUILD
This reduces unnecessary churn when switching platforms between linux
and macOS where we see changes like:
-2.34.1
+2.39.3 (Apple Git-145)

Removing the signature from the patches does not impact our ability
to restore the patch-stack and having it there only creates noise.

Differential Revision: https://phabricator.services.mozilla.com/D191885
2023-10-25 19:20:17 +00:00
Nico Grunbaum 5c361ce13e Bug 1861212 - add comment clarifying packet loss probe units;r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D191881
2023-10-25 19:16:22 +00:00
Natalia Csoregi da7a394242 Backed out changeset ce62de041fca (bug 1860041) for causing failures on test_focus_display_none_xorigin_iframe.html. CLOSED TREE 2023-10-25 23:16:00 +03:00
Natalia Csoregi 78f5ecb34b Backed out 5 changesets (bug 1859590, bug 1854056) for causing failures on loginSelectAccept. CLOSED TREE
Backed out changeset 014fe16de49d (bug 1854056)
Backed out changeset de64651e1c03 (bug 1854056)
Backed out changeset 3dec43c1d8f4 (bug 1859590)
Backed out changeset 62fb2795d76a (bug 1854056)
Backed out changeset 9475f6426316 (bug 1854056)
2023-10-25 23:13:54 +03:00
Natalia Csoregi e3c85ca318 Backed out changeset ffd68d524a72 (bug 1860890) for causing failures on test_TelemetryEnvironment_search.js. CLOSED TREE 2023-10-25 22:45:06 +03:00
Natalia Csoregi 8a8efda530 Backed out changeset 1ca403a2c00e (bug 1859905) for causing failures on test_mochitest_integration.py CLOSED TREE 2023-10-25 22:26:24 +03:00