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

839817 Коммитов

Автор SHA1 Сообщение Дата
Jari Jalkanen 60e176584d Bug 1828400 - Stop logging errors if nothing is overwritten. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D175609
2023-05-03 11:48:51 +00:00
Emilio Cobos Álvarez 4f71b39dfb Bug 1830986 - Fix 32-bit builds.
MANUAL PUSH: Trivialish fix CLOSED TREE
2023-05-03 13:33:50 +02:00
Luca Greco f77699f12a Bug 1826817 - Re-enable test assertions on mirrored DNR telemetry probes when executing tests on artifact builds. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D176932
2023-05-03 10:45:38 +00:00
Emilio Cobos Álvarez e816d6d829 Bug 1830986 - Make a more precise decision on the StringBuilder unit size. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D177001
2023-05-03 10:44:22 +00:00
Emilio Cobos Álvarez bfc49acc42 Bug 1830986 - Minor StringBuilder clean-ups. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D177000
2023-05-03 10:44:22 +00:00
Emilio Cobos Álvarez 3f20dc0f3e Bug 1830986 - Avoid a bunch of allocations in innerHTML / outerHTML getter. r=smaug
One thing that stands out of the profiles in bug 1827132 are a ton of
allocations and attribute lookups.

While the root cause of that performance issue is likely to be a
DOMSubtreeModified event that Chrome doesn't fire or so, those are
rather easy to optimize and might be more generally useful.

I removed handling of `<br type="">`, because editor no longer uses it.
Maybe we can also remove some of the other of the prefixed attribute
shenanigans.

Differential Revision: https://phabricator.services.mozilla.com/D176956
2023-05-03 10:44:22 +00:00
Jan-Niklas Jaeschke cffddeed9d Bug 1830542: Avoid unnecessary allocation when registering `Selection`s in `nsRange`s. r=smaug
`nsRange`s need to keep track of all `Selection` instances they are in, while maintaining an as-small-as-possible memory footprint.

The approach of using a linked list to store the selection pointers led to a performance regression
because of the necessary allocations of the selection wrapper class.

Since the `AutoTArray` has an identical size, the list can easily be replaced.

Differential Revision: https://phabricator.services.mozilla.com/D176908
2023-05-03 10:03:29 +00:00
Kagami Sascha Rosylight 4612d82e3a Bug 1831044 - Remove redundant *Throws attributes in URL r=webidl,smaug
D34766 removed the usages by not using URLWorker on those methods.

Differential Revision: https://phabricator.services.mozilla.com/D176989
2023-05-03 10:01:52 +00:00
Andreas Pehrson fa6606c9ba Bug 1830825 - Handle spurious wakeups in DelayedRunnable.TimerFiresBeforeRunnableRuns. r=emilio
This patch adds a state on the stack so that it can be known at all times which
async steps have run, and to make sure main thread can handle spurious wakeups.
With this state, only one monitor is needed, so the other is removed.

Differential Revision: https://phabricator.services.mozilla.com/D176895
2023-05-03 09:05:35 +00:00
James Teh 87e2c0219d Bug 1829603 part 2: Include the src of images without names in the parent process a11y cache. r=morgan
This is used by some clients to help remediate inaccessible images.

Differential Revision: https://phabricator.services.mozilla.com/D176905
2023-05-03 09:02:53 +00:00
James Teh d1c3206f01 Bug 1829603 part 1: Include the class attribute in the parent process a11y cache. r=morgan
This is used by the Web Access NVDA add-on to identify and remediate some inaccessible elements on websites with accessibility problems.
It is also useful for developers using screen readers when trying to identify specific elements in the absence of semantics.

Differential Revision: https://phabricator.services.mozilla.com/D176896
2023-05-03 09:02:53 +00:00
Neil Deakin 34df9a7220 Bug 1829981, reduce maximum filename length to 254, as Windows File Explorer won't allow deleting filenames longer than this, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D176911
2023-05-03 09:02:27 +00:00
Noemi Erli 538408056f Merge mozilla-central to autoland a=merge on a CLOSED TREE 2023-05-03 12:05:33 +03:00
Noemi Erli 39c144a88f Backed out changeset 68f1bedc4fd5 (bug 1812038) for causing build bustages in nsJARInputStream.cpp 2023-05-03 12:04:50 +03:00
Noemi Erli 01825ce9f0 Merge autoland to mozilla-central. a=merge 2023-05-03 12:00:06 +03:00
Perry McManis 6ebb4fdd04 Bug 1828528 - expose Text metric type in FOG r=chutten for causing merge conflict
Differential Revision: https://phabricator.services.mozilla.com/D176350
2023-05-03 11:58:20 +03:00
Marco Bonardo 3e6600cc63 Bug 1829139 - Optimizations to old visits expiration. r=Standard8
This included multiple changes:
  1. Expire old non-typed hidden single-visit URIs
  2. Expire long urls only if they are single-visit
  3. increase the necessary age for expiration to 90 days
  4. stop notifying listeners inside the database transaction

Differential Revision: https://phabricator.services.mozilla.com/D176028
2023-05-03 08:40:31 +00:00
Kershaw Chang 43975ce600 Bug 1831041 - Onle record TRR telemetry when DoH mode is 2 or 3, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176988
2023-05-03 08:34:08 +00:00
Valentin Gosu 6250f03723 Bug 1828126 - Test for cookie timestamp fixup r=pbz,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176022
2023-05-03 08:30:51 +00:00
Valentin Gosu 8b6cf1971b Bug 1828126 - Add a mechanism to fix cookies with invalid future createdAt timestamp r=pbz,edgul,cookie-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175589
2023-05-03 08:30:50 +00:00
Jan Varga 1c695f710e Bug 1781201 - Change GetInfoFromValidatedPrincipalInfo to be fallible; r=hsingh
The generation of unique anonynmous origins can fail, so the method needs to be
fallible as well, otherwise the failures couldn't be propagated.

Differential Revision: https://phabricator.services.mozilla.com/D176874
2023-05-03 08:22:56 +00:00
Jan Varga a81f885a62 Bug 1781201 - Introduce OriginOperationBase::DoInit; r=hsingh
GetInfoFromValidatedPrincipalInfo needs to be fallible, so it can only be
called from methods which are fallible as well.
This patch changes all existing operations to call the method from DoInit.

Differential Revision: https://phabricator.services.mozilla.com/D176873
2023-05-03 08:22:55 +00:00
Jan Varga 989747c705 Bug 1781201 - Convert GetInfoFromValidatedPrincipalInfo to a non-static method; r=hsingh
The method will need to access members of the QuotaManager class, so it can't
be static anymore.

Differential Revision: https://phabricator.services.mozilla.com/D176872
2023-05-03 08:22:55 +00:00
Noemi Erli 573fdf0764 Backed out changeset e261c34a0fc4 (bug 1829765) for depanding on Bug 1830962 CLOSED TREE 2023-05-03 11:24:23 +03:00
Noemi Erli bbbc12385f Backed out changeset 6fceae307b7c (bug 1830962) for causing build bustages in rlbox.wasm.h 2023-05-03 11:20:47 +03:00
Valentin Gosu 7e05aad3b2 Bug 1812038 - Avoid OOM with corrupt JAR archive r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D176907
2023-05-03 07:59:26 +00:00
Noemi Erli b655f33de7 Backed out changeset 3e33c922a480 (bug 1829053) for depanding on Bug 1829050 CLOSED TREE 2023-05-03 08:17:19 +03:00
Noemi Erli b021722dbf Backed out changeset e06349a5b0f2 (bug 1829050) for causing build bustages in rlbox_wasm2c_sandbox.hpp 2023-05-03 08:16:13 +03:00
Noemi Erli 62397ae5af Backed out changeset f271e25759b2 (bug 1818567) for causing marionette and web-platform failures 2023-05-03 08:15:04 +03:00
Mike Hommey 501b764dc0 Bug 1829053 - Enable graphite malloc wrapping in the wasm sandbox. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D175982
2023-05-03 04:16:50 +00:00
Mike Hommey d9b2a96f8d Bug 1829050 - Enable STL wrapping (and thus infallible new) for wasm-sandboxed code. r=firefox-build-system-reviewers,shravanrn,andi
Differential Revision: https://phabricator.services.mozilla.com/D175981
2023-05-03 04:05:07 +00:00
Botond Ballo 700cd19c9e Bug 1829021 - Re-enable test_group_hittest-3.html on Windows 11. r=hiro
Depends on D176829

Differential Revision: https://phabricator.services.mozilla.com/D176830
2023-05-03 03:05:51 +00:00
Botond Ballo 74fff69f1a Bug 1829021 - Fix a race condition in the helper_hittest_iframe_perspective* tests. r=hiro
The race is between the OOP iframe's BrowserParent being informed about
enclosing transforms, and the event synthesized by the test.

The race is resolved by using contentTransformReceived() in the iframe's
process before sending the event.

Differential Revision: https://phabricator.services.mozilla.com/D176829
2023-05-03 03:05:51 +00:00
Jan Varga 0d54e75ac3 Bug 1781201 - Stop using GetInfoFromPrincipal in the parent; r=hsingh
Quota clients should use GetInfoFromValidatedPrinciplaInfo in the parent
because that method will eventually generate unique anonymous origins for
private browsing.
This patch also moves some calls from the main thread to the PBackground thread
because GetInfoFromValidatedPrinciplaInfo can run on any thread.

Differential Revision: https://phabricator.services.mozilla.com/D176871
2023-05-03 02:05:11 +00:00
Jan Varga f28c9ada6b Bug 1781201 - Remove mNeedsQuotaManagerInit from OriginOperationBase; r=hsingh
We now ensure that QuotaManager exists before any operation is created. This is
required because GetInfoFromValidatedPrinciplaInfo can't be a static anymore.

Differential Revision: https://phabricator.services.mozilla.com/D176870
2023-05-03 02:05:11 +00:00
Jan Varga 7e73a61a52 Bug 1781201 - Add mStorageOrigin to PrincipalMetadata; r=hsingh
The new member contais the same value as mOrigin for now. The new member is
intended to contain generated unique anonymous origin for private browsing in
future.

Differential Revision: https://phabricator.services.mozilla.com/D176869
2023-05-03 02:05:11 +00:00
Jan Varga 126187ddda Bug 1781201 - Convert GetOriginDirectory/DeleteOriginDirectory arguments into a single argument; r=hsingh
OriginMetadata is a generic type containing relevant information which can be
used for generating unique anonymous origins instead of using original origins
(for example for private browsing).

The patch is partially based on D176751.

Differential Revision: https://phabricator.services.mozilla.com/D176868
2023-05-03 02:05:11 +00:00
Jan Varga d283c67863 Bug 1781201 - Rename GetDirectoryForOrigin/DeleteFilesForOrigin to GetOriginDirectory/DeleteOriginDirectory; r=hsingh
This is a preparation for converting the arguments to a singe argument using
more generic OriginMetadata type.

The patch is partially based on D176751.

Differential Revision: https://phabricator.services.mozilla.com/D176867
2023-05-03 02:05:10 +00:00
Ben Hearsum 942e944f83 No bug: Add missing watershed & desupport update information to update infrastructure docs. r=jcristau
I guess I missed this watershed initially because it's a bit out of the usual lower-version-is-higher-priority order.

I also figured I'd take this opportunity to add desupport information as well, which is probably relevant to various folks.

Differential Revision: https://phabricator.services.mozilla.com/D176882
2023-05-03 02:02:48 +00:00
Norisz Fay 0abf4f573f Backed out changeset 0cc3a4b6461d (bug 1829053) as it depends on Bug 1829050 CLOSED TREE 2023-05-03 04:35:51 +03:00
Norisz Fay 7aa97db372 Backed out changeset cddc0b331d97 (bug 1829050) for causing bustages on CheckedInt.h CLOSED TREE 2023-05-03 04:31:34 +03:00
Mike Hommey 67bf5c60d2 Bug 1829053 - Enable graphite malloc wrapping in the wasm sandbox. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D175982
2023-05-03 01:18:16 +00:00
John Lin 13c6b7c1d3 Bug 1818567 - enable software platform encoder for WebRTC. r=media-playback-reviewers,alwu
Add an option for WebRTC to use software platform encoder.
Without this, users won't be able to have H.264 video calls
as soon as they download Firefox and have to wait until the
OpenH264 plugin is downloaded.

Differential Revision: https://phabricator.services.mozilla.com/D171610
2023-05-03 00:59:31 +00:00
Mike Hommey da624910fc Bug 1829050 - Enable STL wrapping (and thus infallible new) for wasm-sandboxed code. r=firefox-build-system-reviewers,shravanrn,andi
Differential Revision: https://phabricator.services.mozilla.com/D175981
2023-05-03 00:56:33 +00:00
Butkovits Atila 992799b447 Backed out changeset bcdd097c9a4f (bug 1828690) for causing mass failures. CLOSED TREE 2023-05-03 04:02:36 +03:00
Kris Maglione 76be20b113 Bug 1828690: Change a parent assert to an IPC_FAIL. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D176392
2023-05-02 23:58:57 +00:00
scottdowne 5b0f0e33ab Bug 1830913 - Pocket new tab turn on new regions. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D176954
2023-05-02 23:50:45 +00:00
Norisz Fay f78c2a2910 Backed out 4 changesets (bug 1830792) for causing gtest failures regarding WebRenderNvidiaHighMixedRefreshRateNightly CLOSED TREE
Backed out changeset 7b723ef8f45e (bug 1830792)
Backed out changeset dca34ff20fab (bug 1830792)
Backed out changeset 0fa7665b8ede (bug 1830792)
Backed out changeset ce5ed4bf2b1c (bug 1830792)
2023-05-03 02:27:51 +03:00
Boris Chiou 77a0fd63cf Bug 1808410 - Part 3: Create timeline for view(). r=emilio
Also, I add some similar tests but they don't use Named Timeline Range, which
is not supported by Gecko now (Bug 1824875).

Differential Revision: https://phabricator.services.mozilla.com/D173905
2023-05-02 22:47:29 +00:00
Boris Chiou 97804f78e4 Bug 1808410 - Part 2: Add animation-timeline: view() in style system. r=emilio
Support view() notation for animation-timeline:
  `<view()> = view( [ <axis> || <'view-timeline-inset'> ]? )`

We move AnimationTimeline and its related types into the generics folder,
and define two new structs for scroll() and view().

Note:
1. The syntax of scroll() doesn't match the current version of the spec.
   I will update it in Bug 1814444.
2. We will handle the creation/usage of the Anonymous View Progress Timelines
   in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D173904
2023-05-02 22:47:28 +00:00