Commit graph

919177 commits

Author SHA1 Message Date
Tom Ritter
22bfbc6ea9 Bug 1894958: Render more complex WebGL canvases r=timhuang,sylvestre,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209595
2024-06-05 02:04:39 +00:00
Tom Ritter
de531f8443 Bug 1894958: Render an initial set of test canvases r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D209594
2024-06-05 02:04:38 +00:00
Mozilla Releng Treescript
ae44e51620 no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-06-05 00:26:47 +00:00
Nika Layzell
524e4f032a Bug 1681457 - Allow non-auxiliary BrowsingContexts created by script to close themselves, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D211792
2024-06-05 00:06:48 +00:00
Nika Layzell
a2741562b7 Bug 196078 - Part 3: Remove failing test expectations from WPTs, r=smaug
These tests appear to have been previously failing as we would download
the resources being fetched due to their MIME type, rather than
rendeirng them in-browser, meaning that the reporting would behave
differently.

The change to support arbitrary text/ MIME types appears to have fixed
this, and now the tests pass as expected.

Depends on D212078

Differential Revision: https://phabricator.services.mozilla.com/D212620
2024-06-05 00:05:58 +00:00
Nika Layzell
855d5761c0 Bug 196078 - Part 2: Support displaying arbitrary text/* MIME types as plain text, r=smaug,necko-reviewers,valentin
This patch refactors how we check for text formats when deciding how to handle
resources, such that more text MIME types will be rendered in-browser, rather
than downloaded.

This change requires us to move more away from using the Gecko-Content-Viewers
category in the category manager for this decision, as we need to handle an
unlimited number of MIME types behind the scenes.

Support for Gecko-Content-Viewers was left in for both the in-tree use for
application/http-index-format and dynamically determining whether image/avif
and image/jxl are supported, as well as for the message/rfc822 type used by
Thunderbird.

Differential Revision: https://phabricator.services.mozilla.com/D212078
2024-06-05 00:05:58 +00:00
Nika Layzell
c613d7241c Bug 196078 - Part 1: Remove duplicate gXMLTypes check from nsContentDLF, r=smaug
This was a typo introduced in bug 1209658. Previously the code would be
checking `gXULTypes`. Support for XUL documents has since been removed from
Gecko, so the code is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D212077
2024-06-05 00:05:58 +00:00
Nika Layzell
9306cb7c3e Bug 1718673 - Allow loading text/event-stream in-browser as plain-text, r=smaug,necko-reviewers,kershaw
This patch also updates some documentation which was telling folks supporting new content types to update dead code.

Differential Revision: https://phabricator.services.mozilla.com/D211797
2024-06-05 00:05:57 +00:00
Greg Mierzwinski
83e10bcf4c Bug 1899878 - Add a lull-schedule attribute to some browsertime tasks. r=kshampur,perftest-reviewers DONTBUILD
This patch adds a lull-schedule attribute to some browsertime live-site tasks so that we can start testing lull-scheduling. The lull-schedule attribute will be used to denote how frequently a particular task should run. The lull-schedule attribute exists first as a raptor specific setting, and is then added to the `extra` section so that we can make use of it in the `mozci` module.

Differential Revision: https://phabricator.services.mozilla.com/D212202
2024-06-04 23:59:13 +00:00
Greg Stoll
fdc5c7d608 Bug 1900390 - use regex_match for DLP regex's r=dlp-reviewers,handyman
Differential Revision: https://phabricator.services.mozilla.com/D212437
2024-06-04 23:43:12 +00:00
Edgar Chen
6f4b15e60d Bug 1883396 - Exit fullscreen when two Escape keyup events occur in a short time; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D209667
2024-06-04 23:38:45 +00:00
Mark Striemer
61d3478f4a Bug 1896837 - Only sync import widget modules after DOMContentLoaded r=reusable-components-reviewers,settings-reviewers,mconley,hjones
Co-author/investigator: Tim Giles <tgiles@mozilla.com>

Delay sychronous loading of ESM based custom elements until the
DOMContentLoaded event. With D212190--which this patch depends on--the
components that have already been used on the page will be synchronously
loaded when customElements.setElementCreationCallback is registered.

Differential Revision: https://phabricator.services.mozilla.com/D212191
2024-06-04 23:18:01 +00:00
Mark Striemer
314d144c3a Bug 1899882 - Invoke elementCreationCallback if there are elements to upgrade r=smaug
Co-author/investigator: Tim Giles <tgiles@mozilla.com>

When using SetElementCreationCallback with ESM based custom elements we
are seeing a performance regression vs when we previously required
manually adding a <script type="module"> for the import to the page.

To work around this issue we can delay registering the callback until
the DOMContentLoaded event which improves performance, presumably due to
reduced thrashing from HTML parsing to JS parsing.

With that change however any components that were encountered before the
DOMContentLoaded event will not be loaded or upgraded until the next
time a component of that type is created.

This patch updates the SetElementCreationCallback function to
immediately invoke the callback if there are candidate elements of that
type to upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D212190
2024-06-04 23:18:01 +00:00
Greg Stoll
dd5c341f9f Bug 1899714 - make DLP block dialog show up again for print preview window r=dlp-reviewers,handyman
I verified that quitting while the synchronous version of the dialog is active doesn't hang, so we're not re-regressing bug 1898718.

Differential Revision: https://phabricator.services.mozilla.com/D212189
2024-06-04 23:03:52 +00:00
DJ
a8c05822a6 Bug 1879089 - generate a fresh tab preview screenshot every update. r=emilio,tabbrowser-reviewers,mak
Differential Revision: https://phabricator.services.mozilla.com/D211304
2024-06-04 22:43:55 +00:00
Cosmin Sabou
14bfc537ab Backed out 7 changesets (bug 1894958) for causing bc failures on browser_usercharacteristics_gamepads. CLOSED TREE
Backed out changeset 2d6a773b1cfe (bug 1894958)
Backed out changeset 64fa5abd15b1 (bug 1894958)
Backed out changeset 73017dc41a54 (bug 1894958)
Backed out changeset 99498fc1e89c (bug 1894958)
Backed out changeset 4ef86875b1c2 (bug 1894958)
Backed out changeset 31e1c5284927 (bug 1894958)
Backed out changeset 29545556fe0b (bug 1894958)
2024-06-05 01:20:05 +03:00
Brendan Birdsong
5d2fa207a6 Bug 1900714 - Update DAP Leader URL to 09 r=simonf!
Differential Revision: https://phabricator.services.mozilla.com/D212360
2024-06-04 15:29:53 +00:00
Cosmin Sabou
cff092b4d3 Backed out changeset dd3704031d8c (bug 1898051) for causing bug 1900644. 2024-06-05 01:14:28 +03:00
Cosmin Sabou
6f7b16b16c Backed out changeset 0f95114c03f2 (bug 1898047) for landing with the wrong bug number. 2024-06-05 01:13:19 +03:00
Nathan Barrett
693b66cdfd Bug 1900699 - Update accuweather provider for WeatherFeed r=home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D212614
2024-06-04 21:41:07 +00:00
Sandor Molnar
5c4d387874 Backed out changeset 718208a40b89 (bug 1888310) for causing mochitest failures @ browser_app.js CLOSED TREE 2024-06-05 00:43:46 +03:00
Tim Huang
efc48100f0 Bug 1898253 - Enable CHIPS in Nighlty. r=bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D212236
2024-06-04 21:28:03 +00:00
Otto Länd
0cdb337467 Bug 1894958: apply code formatting via Lando
# ignore-this-changeset
2024-06-04 21:27:07 +00:00
Tom Ritter
71b7d5ccb5 Bug 1894958: Let's name this page more accurately r=timhuang
The purpose of this page is to improve the fingerprinting protections
in Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D209599
2024-06-04 21:24:00 +00:00
Tom Ritter
d01d8f4f55 Bug 1894958: Make the framework to await promises before populating the telemetry r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D209598
2024-06-04 21:23:59 +00:00
Tom Ritter
15f2c70c51 Bug 1894958: Collect the canvas values in telemetry r=timhuang,data-stewards
Differential Revision: https://phabricator.services.mozilla.com/D209597
2024-06-04 21:23:59 +00:00
Tom Ritter
85397dac40 Bug 1894958: Add fingerprintjs test canvases r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D209596
2024-06-04 21:23:58 +00:00
Tom Ritter
b46c162909 Bug 1894958: Render more complex WebGL canvases r=timhuang,sylvestre,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209595
2024-06-04 21:23:58 +00:00
Tom Ritter
43be32f818 Bug 1894958: Render an initial set of test canvases r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D209594
2024-06-04 21:23:57 +00:00
Jan Varga
b8962bf2de Bug 1900667 - Fix formatting in dom/quota; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D212591
2024-06-04 21:15:03 +00:00
Sandor Molnar
cc6a87da40 Backed out 7 changesets (bug 1894958) for causing bc failures @ browser_usercharacteristics.js CLOSED TREE
Backed out changeset f0b3873afbbf (bug 1894958)
Backed out changeset 0163ab00de90 (bug 1894958)
Backed out changeset dc5209d0115f (bug 1894958)
Backed out changeset c7c58e406791 (bug 1894958)
Backed out changeset 1ff86ac5480e (bug 1894958)
Backed out changeset 862f163cf35c (bug 1894958)
Backed out changeset 4ad50fcd042b (bug 1894958)
2024-06-05 00:07:37 +03:00
Morgan Rae Reschenberg
4e0ffe1a17 Bug 1888310: Verify a11y-announcement is a child of ChildView instead of mozRootAccessible r=eeejay
Previously we checked if the announcement was a child of the root acc directly, but it's not clear this worked reliably since we've done `GetObjectOrRepresentedView` for a while, which (should) return the view instead of the root acc. This patch also:
- Dispatches the announcement from NSApp instead of NSWindow, since per chrome and safari notifs fired on non-main windows get dropped
- Modifies the announcement priority from medium to high, so VO interrupts itself to speak this message (this makes the UX more consistent, since the text-inserted/text-deleted notifs from the URL bar seem to occasionally bookend the announcement)
- Updates the browser_app.js test to NOT run in headless mode, since in headless mode NSApp isn't rendered to dispatch the notification. This test contains a task for AXAnnouncementRequested via a11yUtils.announce

Differential Revision: https://phabricator.services.mozilla.com/D206083
2024-06-04 20:42:45 +00:00
James Teh
6ffc34fe0a Bug 855184 part 2: Map IA2_TEXT_BOUNDARY_CHAR to cluster. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D212536
2024-06-04 20:36:42 +00:00
James Teh
3b3a1815ea Bug 855184 part 1: Add BOUNDARY_CLUSTER so a11y can query grapheme clusters, AKA user-perceived characters. r=eeejay
Most OS APIs want a cluster when they ask for a "character", except ATK.
Rather than altering BOUNDARY_CHAR, I added a new BOUNDARY_CLUSTER.
Aside from being less risky and causing less churn, there are cases internally where we want to move a TextLeafPoint by character; e.g. to explicitly move to the next/previous Accessible or to move to the next/previous character in an abstract way without worrying about Accessible boundaries.
Calculating clusters is more expensive, so it doesn't make sense to move by cluster in those cases.

Differential Revision: https://phabricator.services.mozilla.com/D212517
2024-06-04 20:36:42 +00:00
Sandor Molnar
caa1123fd9 Backed out changeset 711d1bed224b (bug 1897232) for causing xpc failures @ test_WallpaperFeed.js & bc failures @ browser_parsable_css.js CLOSED TREE 2024-06-04 23:34:06 +03:00
Glenn Watson
163a822672 Bug 1898625 - Pt 2 - Snap hit test items prior to applying external scroll offset r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D211482
2024-06-04 20:17:50 +00:00
John Schanck
b78d58cc77 Bug 1831137 - Enable creation of Passkeys on Android. r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D178726
2024-06-04 20:13:43 +00:00
Otto Länd
5c5ebbf97c Bug 1894958: apply code formatting via Lando
# ignore-this-changeset
2024-06-04 20:05:36 +00:00
Tom Ritter
e26694557f Bug 1894958: Let's name this page more accurately r=timhuang
The purpose of this page is to improve the fingerprinting protections
in Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D209599
2024-06-04 20:02:26 +00:00
Tom Ritter
8e1d0b5319 Bug 1894958: Make the framework to await promises before populating the telemetry r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D209598
2024-06-04 20:02:26 +00:00
Tom Ritter
f5f4a0955c Bug 1894958: Collect the canvas values in telemetry r=timhuang,data-stewards
Differential Revision: https://phabricator.services.mozilla.com/D209597
2024-06-04 20:02:25 +00:00
Tom Ritter
39224b1529 Bug 1894958: Add fingerprintjs test canvases r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D209596
2024-06-04 20:02:25 +00:00
Tom Ritter
ad2e1ccbef Bug 1894958: Render more complex WebGL canvases r=timhuang,sylvestre,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209595
2024-06-04 20:02:25 +00:00
Tom Ritter
9b5712803e Bug 1894958: Render an initial set of test canvases r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D209594
2024-06-04 20:02:24 +00:00
Jan Varga
4dbccff892 Bug 1900615 - Failing WPT service-workers/cache-storage/cross-partition.https.tentative.html; r=dom-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D212561
2024-06-04 19:58:38 +00:00
Alex Franchuk
0157246cee Bug 1900504 - Update the time crate to version 0.3.36 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212497
2024-06-04 19:35:35 +00:00
Amy Churchwell
cc7c900717 Bug 1897232 - Add nested wallpaper categories. r=home-newtab-reviewers,nbarrett,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D211895
2024-06-04 19:31:03 +00:00
Mark Banner
de08e3c67c Bug 1900638 - Permanently enable the new search config. r=search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D212575
2024-06-04 19:09:41 +00:00
Pier Angelo Vendrame
5f63463ffa Bug 1880108 - Pass the locale list when constructing l10n in datetimebox. r=reusable-components-reviewers,tgiles
The datetime input is inconsistent with other inputs when using spoof
English: its placeholder is not translated, unlike the default values
and texts of all the other inputs.

Differential Revision: https://phabricator.services.mozilla.com/D201726
2024-06-04 18:54:45 +00:00
Gregory Pappas
e6b70d8c47 Bug 1842549 - Remove dom.mutation-events.cssom.disabled pref r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D212588
2024-06-04 18:38:22 +00:00