26 Nov 2026

feedPlanet Mozilla

Firefox Tooling Announcements: Firefox Profiler Deployment (November 26, 2026)

The latest version of the Firefox Profiler is now live! Check out the full changelog below to see what's changed:

Highlights:

Other Changes:

Big thanks to our amazing localizers for making this release possible:

de: Michael Köhler, Ralf Duehnfahr, VfBFan
el: Jim Spentzos
en-GB: Ian Neal
es-CL: ravmn
fr: Théo Chevalier
fy-NL: Fjoerfoks
ia: Melo46
it: Francesco Lodolo
nl: Fjoerfoks, Mark Heijl
ro: robbp
ru: Valery Ledovskoy
sv-SE: Andreas Pettersson, Luna Jernberg
tr: Grk
zh-TW: Pin-guang Chen

Find out more about the Firefox Profiler on profiler.firefox.com! If you have any questions, join the discussion on our Matrix channel!

1 post - 1 participant

Read full topic

26 Nov 2026 2:47pm GMT

25 Nov 2026

feedPlanet Mozilla

Florian Quèze: Quickly debugging an intermittent failure that never reproduced locally, with the Firefox Profiler

An intermittent timeout, nothing useful in the log, and a test that always passes locally: this used to mean days of try pushes and debug logging. This time, the profile that CI recorded for the failing test showed what was unusual about that run, and that was enough to make the test fail every time on my machine.

The symptom

The test's dashboard shows that browser_searchbar_addEngine.js timed out about 10% of the time on standalone jobs over the last 3 weeks:

The test's dashboard: 58 timeouts in 21 days, all on opt browser-chrome-standalone, 9.7% on Linux and 10.5% on Windows.

The test opens a page offering search engines, clicks one of the "Add" buttons that the search bar then shows, and waits for the engine to be installed. The standalone jobs restart the browser before each test file, so each test runs in a freshly started browser. The log of a failure says this, and nothing else:

INFO - Entering test test_addEngine
INFO - TEST-PASS | browser/components/search/test/browser/browser_searchbar_addEngine.js | test_addEngine - All items are in addEngineList - 3 == 3
INFO - Waiting for engine to be installed.
INFO - TEST-FAIL | browser/components/search/test/browser/browser_searchbar_addEngine.js | test_addEngine - Test timed out

The test clicked the button and waited 45 seconds for an engine that never came.

Debugging, the old way

Locally, the test passed more than 20 times in a row: whatever happens on CI wasn't happening on my machine.

Without a local reproduction, the remaining options were to push to try with more logging, or to land the logging and wait for the next failures. The failure rate here was high enough to make try pushes usable, but each round takes hours, and the logging has to be decided in advance: guess wrong about what to log, and it's another round.

What installing an OpenSearch engine does

For security reasons, the XML description of an OpenSearch engine is processed in a hidden browser rather than in the parent process. parseInHiddenBrowser loads about:blank in that hidden browser, waits for a progress listener to report that the load finished, and then sends the XML to that page.

What the profiles show

For the last few months, mochitests have run with the profiler enabled, so when a test fails, its profile is uploaded as an artifact of the job (the log has a line saying profile uploaded in profile_browser_searchbar_addEngine.js.json.gz).

Here is the profile of one of the failing runs. Right after the test starts waiting for the engine, the markers show the hidden browser being set up: its invisible window, the <browser> element getting a content process, about:blank loading in that process, and the parent process being told that it loaded. And then nothing happens for 45 seconds, until the test times out.

For comparison, a profile of a passing run, recorded locally with ./mach mochitest --profiler, has the same sequence. Right after the test starts waiting and the same load event, the SendQuery that sends the XML to the hidden browser comes 0.1ms later. In the failing run, it never comes.

What was unusual

Zooming on the time between the load in the content process and the moment the parent process hears about it shows an orange GCMajor marker: a 41ms garbage collection, right there.

The failing profile zoomed on 90ms after the click: an orange GCMajor marker of 41.5ms in the parent process, right after about:blank loads in the Web Content (4/5) process.

That's not a proof of anything: GCs happen all the time, and the profile can't show whether a JS object was collected. But it's a hint, and more importantly something to try.

From a hint to a perma-fail

Forcing a GC right after the hidden browser starts loading is a small change:

function widenForceGC() {
  Cu.forceGC();
  Cu.forceCC();
  Cu.forceGC();
}
...
browser.loadURI(Services.io.newURI("about:blank"), { ... });
Services.tm.dispatchToMainThread(widenForceGC);

The function is defined at the top level of the module on purpose: any function created next to progressListener, arrow function or not, keeps that scope alive, and the listener with it.

The test then timed out every time, at exactly the same point as on CI. From there, I didn't need the profiler anymore: a failure that happens every time can be debugged like any other bug.

The fix

The web progress only holds weak references to its listeners, and nothing else referenced this one, so a GC before the load finished could collect it. The fix keeps a reference to the listener until its load finishes; with it, the test passes even with the forced GC. It landed on November 25th.

This probably only showed up on the standalone jobs because they run the test in a freshly started browser, where major GCs still happen soon after startup. But this wasn't only a test problem: for users, it meant that clicking "Add" to install a search engine could silently do nothing.

Summary

An intermittent failure with nothing in the log no longer means days of try pushes: the profile of a failed run is there, and often actionable. Looking at it shows exactly what happened, which can let us guess what was unusual in the failing run: a hint rather than a proof. Forcing the suspected condition made it fail locally, and from there it was a normal bug to fix.

25 Nov 2026 10:00pm GMT

This Week In Rust: This Week in Rust 679

Hello and welcome to another issue of This Week in Rust! Rust is a programming language empowering everyone to build reliable and efficient software. This is a weekly summary of its progress and community. Want something mentioned? Tag us at @thisweekinrust.bsky.social on Bluesky or @ThisWeekinRust on mastodon.social, or send us a pull request. Want to get involved? We love contributions.

This Week in Rust is openly developed on GitHub and archives can be viewed at this-week-in-rust.org. If you find any errors in this week's issue, please submit a PR.

Want TWIR in your inbox? Subscribe here.

Updates from Rust Community

Official
Foundation
Newsletters
Project/Tooling Updates
Observations/Thoughts
Rust Walkthroughs

Crate of the Week

This week's crate is i_overlay, providing a set of geometrical operations on polygons and line segment chains running completely on integer math.

Thanks to Mikolaj Wielgus for the suggestion!

Please submit your suggestions and votes for next week!

Calls for Testing

An important step for RFC implementation is for people to experiment with the implementation and give feedback, especially before stabilization.

If you are a feature implementer and would like your RFC to appear in this list, add a call-for-testing label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature need testing.

No calls for testing were issued this week by Rust, Cargo, Rustup or Rust language RFCs.

Let us know if you would like your feature to be tracked as a part of this list.

RFCs
Rust
Rustup

If you are a feature implementer and would like your RFC to appear on the above list, add the new call-for-testing label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature need testing.

Call for Participation; projects and speakers

CFP - Projects

Always wanted to contribute to open-source projects but did not know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!

Some of these tasks may also have mentors available, visit the task page for more information.

If you are a Rust project owner and are looking for contributors, please submit tasks here or through a PR to TWiR or by reaching out on Bluesky or Mastodon!

CFP - Events

Are you a new or experienced speaker looking for a place to share something cool? This section highlights events that are being planned and are accepting submissions to join their event as a speaker.

If you are an event organizer hoping to expand the reach of your event, please submit a link to the website through a PR to TWiR or by reaching out on Bluesky or Mastodon!

Updates from the Rust Project

724 pull requests were merged in the last week

Compiler
Library
Cargo
Rustdoc
Rustfmt
Clippy
Rust-Analyzer
Rust Compiler Performance Triage

Very positive week with many improvements in the type system, codegen, debuginfo and encoding. The biggest improvement came perhaps surprisingly from Cargo submodule update, because Cargo recently changed the default debuginfo level for dev profile to line-tables-only.

Triage done by @panstromek. Revision range: 6ca2b346..5debe6a1

Summary:

(instructions:u) mean range count
Regressions ❌
(primary)
1.3% [0.2%, 11.1%] 65
Regressions ❌
(secondary)
4.1% [0.2%, 12.1%] 79
Improvements ✅
(primary)
-5.2% [-38.3%, -0.2%] 136
Improvements ✅
(secondary)
-3.4% [-24.3%, -0.1%] 172
All ❌✅ (primary) -3.1% [-38.3%, 11.1%] 201

7 Regressions, 8 Improvements, 19 Mixed; 1 of them in rollups 235 artifact comparisons made in total

Full report here

Approved RFCs

Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:

Final Comment Period

Every week, the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now.

Tracking Issues & PRs

Rust

Rust RFCs

Cargo

Compiler Team (MCPs only)

Leadership Council

No Items entered Final Comment Period this week for Language Team, Language Reference or Unsafe Code Guidelines. Let us know if you would like your PRs, Tracking Issues or RFCs to be tracked as a part of this list.

New and Updated RFCs

Upcoming Events

Rusty Events between 2026-11-25 - 2026-12-23 🦀

Virtual
Asia
Europe
North America

If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.

Jobs

Please see the latest Who's Hiring thread on r/rust

Quote of the Week

Good news bad news situation.

Good news: I have 3 blog posts' worth of work in cargo-semver-checks to publish. Bad news: It means Rust is way more cursed than we all ever knew.'

- Predrag Gruevski on Mastodon

Despite a lamentable lack of suggestions, llogiq loves cursed Rust is pretty pleased with his choice.

Please submit quotes and vote for next week!

This Week in Rust is edited by:

Email list hosting is sponsored by The Rust Foundation

Discuss on r/rust

25 Nov 2026 5:00am GMT

The Servo Blog: October in Servo: video captions and inert content

Servo 0.8.0 contains all of the changes we landed in October, spanning 588 commits (a new record)!

a black and white cat named Gary showing off new visual web platform features

Servo now renders subtitles and captions over <video> elements (@TimvdLippe, #48809)!

We've shipped new web platform features:

Plus a bunch of new DOM APIs:

Real world compat

Flutter web content no longer hangs now that we fixed a serious performance problem with typed arrays (@jdm, #48640). Example

a flutter web app showcasing interactive graphs

We're interested to hear how well your favourite websites run in Servo! Report successes in this Zulip thread or this Github discussion, and failures in our GitHub issues.

Work in progress

With respect to accessibility in Servo, we report many more ARIA roles for DOM elements (@alice, @mrobinson, #48839). These can be inspected with the Get Computed Role WebDriver command (@lolaodelola, #47339). Accessibility integration can be turned on with the accessibility_enabled preference.

WebGL2 support received lots of attention this month, with fixes to getParameter(), drawBuffers(), readBuffers(), vertexAttribIPointer(), DEPTH_STENCIL_ATTACHMENT, getUniformLocation(), vertexAttrib4x(), pixelStorei(), texStorage2D(), texStorage3D(), texImage3D(), getInternalformatParameter(), blitFramebuffer(), and texSubImage2D() (@mxmgorin, #48651, #48620, #48678, #48689, #48751, #48681, #48911, #48972, #48590, #49201, #49289, #48560, #48571). The feature remains gated behind the dom_webgl2_enabled preference.

Reading and writing mapped WebGPU buffers got a significant speed increase (@sagudev, @jdm, #48372). WebGPU can be enabled with the dom_webgpu_enabled preference.

JS script compilation can now occur off the main thread when the dom_script_asynch preference is enabled (@Gae24, #45687). Right now this only applies to non-module scripts.

Initial support for the backdrop-filter property has merged (@shubhamg13, #48829). This can be enabled with the layout_css_backdrop_filter_enabled preference.

ServiceWorkers now fire the statechange event when changing states during initialization (@gterzian, #48749). ServiceWorkerContainer can listen for message and messageerror events (@gterzian, #48680). Service Workers remain gated behind the dom_serviceworker_enabled preference.

The Geolocation API has been implemented (@webbeef, #48406). No platform-specific backends to provide the device geolocation data have merged yet, so it remains disabled behind the dom_geolocation_enabled preference.

DOM interfaces for MathML elements now exist, gated behind the mathml_core_enabled preference (@tannal, #48631). There is no MathML-specific layout implemented yet.

A new, native SVG implementation is in progress (@mu-mostafa98, @jdm, #48467). This work is still in the early stages, but is intended to replace Servo's dependency on the resvg crate to better integrate with page styling and animations.

IndexedDB cursors now support the update() and delete() methods (@kuntal-devrat, #48402). The feature can be enabled with the dom_indexeddb_enabled preference.

Support for LargestContentfulPaint performance timing improved, with image URLs (@shubhamg13, #48668), the loadTime value (@shubhamg13, #48676), ignoring non-paintable elements (@shubhamg13, #48856, #48898), video URLs (@shubhamg13, #48931), and following containing blocks (@shubhamg13, #48551). This work is behind the largest_contentful_paint_enabled preference.

We added support for a new performance timing metric: ContainerTiming (@jasonwilliams, #46966). This can be enabled with the container_timing_enabled preference.

Our support for adoptedStylesheets improved along with a new implementation of the ObservableArray specification concept (@jerensl, @arihant2math, #48506). This is currently hidden behind the dom_adoptedstylesheet_enabled preference.

Embedding API

The Android Compose migration is complete, and embedders now only need to interact with the Servo library component (@veyndan, #48592, #48601, #48595, #48574, #48609, #48778, #48780, #49266). Embedders no longer need to trigger the soft keyboard display; this is controlled by a parameter to the Servo component (@veyndan, #48757).

There's a new API method to report the network status of the embedder: NetworkManager::set_online_state (@xbwwj, #47568). This data is exposed via the onLine property of the Navigator interface in web content.

Embedders can now disable all support for developer tools, which can reduce the size of the final binary (@janeoa, #47255). This is controlled by the devtools feature and enabled by default; it is also part of the new default_tooling feature.

Users of the C API can set preferences that accept f64 and f64 array parameters (@fran6co, #49325), as well as the HiDPI scale factor for each WebView (@fran6co, #49327). WebViews can also be resized via the C API (@fran6co, #49326).

The layout_grid_enabled preference has been removed, since CSS Grid now defaults to enabled (@Loirooriol, #48718). Several preferences were renamed (@nicoburns, #48915):

For users and developers

Double and triple clicking on selected text will extend the selection to the current word and line, respectively (@mrobinson, @SimonSapin, #48767).

Clicking a link with the middle mouse button now opens up the link in a new WebView (@SteveSharonSam, @mrobinson, #46000)

Range inputs can be dragged with the mouse (@webbeef, #48342).

Command+delete on macOS will delete the preceding line in a text control (@dzfrias, #48781).

The developer tools continue to improve:

We improved exception error messages related to the XMLHttpRequest, History, Range, Selection, Element, CharacterData, and DOMTokenList interfaces, and namespaces and attributes (@gabrielecabrini, #49146, #49145, #48786, #49102).

Media elements that start playing outside of a document will no longer be garbage collected until playback finishes (@sabbCodes, @jdm, #49367, #48979).

Performance and stability

Pinch zoom operations no longer have to rebuild a full display list, making zooming complex pages much smoother (@stevennovaryo, @mrobinson, #43561).

We improved performance in many small and focused ways by doing less work during restyling and layout (@SimonSapin, @webbeef, @nicoburns, @mrobinson, #49137, #49100, #48485, #48968), reducing GC interactions (@mrobinson, @jschwe, #48984, #49140, #49195, #49425), and delaying work on disconnected trees (@SimonSapin, #49098). We also fixed instances of quadratic layout with deep nesting (@nicoburns, #49148) and missing caching (@mrobinson, @Loirooriol, #49164, #49073).

We fixed some intermittent GC panics when notifying ResizeObservers (@mrobinson, #49189), introspecting keyframes (@MohamedAli00949, #48546), setting timers (@jdm, #48548), using writable streams (@jdm, #48656), and scrolling iframes after removing them (@mrobinson, #49230).

We also fixed numerous other panics and crashes in scrollable and incremental layout (@mrobinson, #49230, #49283), moving nodes around (@mrobinson, #49226), using WebGPU from opaque origins (@gabrielecabrini, #49207), stringifying some WebIDL types (@mrobinson, #49374), using readable streams (@Narfinger, @mrobinson, #49311), clicking disabled file controls (@mrobinson, #49379), rendering giant SVGs (@sabbCodes, #49264), unminifying JS (@jdm, #48567), measuring text (@mxmgorin, #48621), rendering text tracks (@TimvdLippe, @mrobinson, #48827), preparing dialogs (@lukewarlow, #49431), and running delayed tasks in destroyed documents (@mrobinson, @jdm, #49399, #48714).

Many small-to-medium improvements to reduce allocations were merged (@yezhizhen, @Narfinger, @Taym95, @mrobinson, @Loirooriol, @CynthiaOketch, @sabbCodes, @mxmgorin, #48549, #48558, #48568, #48598, #48615, #48565, #48646, #48654, #48569, #48562, #48588, #48650, #48702, #48675, #48589, #48720, #48721, #47720, #48745, #48703, #48750, #48770, #48789, #48754, #48828, #48838, #48836, #48841, #48843, #48867, #48882, #48842, #48881, #48840, #48899, #48924, #48904, #48949, #48953, #48980, #49028, #48885, #49035, #49038, #49084, #49131, #49125, #48951, #49154, #49160, #49198, #49202, #49194, #49219, #49258, #49275, #49295, #49298, #49300, #49320, #49323, #49313, #49373, #49380, #48969, #48991). We also reduced memory usage by shrinking some types (@Narfinger, @webbeef, #48954, #48082, #48906).

Memory leaks received a lot of attention this month, covering everything from network requests, to JS modules, to timer tasks, and more (@mrobinson, @SimonSapin, @jschwe, #48952, #48957, #49032, #49049, #49092, #49134, #49139, #49132, #48747, #48752).

We continue to work towards preventing certain sources of memory leaks with static analysis and the Rust type system (@Gae24, @Narfinger, @jdm, #48147, #48360, #48832, #48887, #48913, #48903, #48965, #48905, #48834, #48855, #49083, #49082, #49081, #49096, #49135, #49130).

More on the web platform

We fixed bugs related to the CORS preflight cache (@sabbCodes, #49055, #49252), fetch metadata (@TimvdLippe, @mrobinson, #48793), HTTP cache revalidation (@mrobinson, @jdm, #48927), image load timing (@mrobinson, @TimvdLippe, #48902, #48790, #48599), touch events (@yezhizhen, #48671, #48699, #48701), cloning and moving input elements (@skyz1, @mrobinson, #48845, #48069), the :indeterminate pseudoclass (@skyz1, #48070), stylesheet introspection (@mrobinson, #48935), mutating ranges (@gabrielecabrini, #49072), blob URLs (@rogerkorantenng, #49074, #48989, #49206), form controls (@mrobinson, @lukewarlow, @jdm, #49163, #49225, #48513), the mapping property of Gamepad (@msub2, #49381), beforeinput events (@dzfrias, #48825), image dimensions (@TimvdLippe, #49085), table appearance attributes (@Loirooriol, #49120, #49108, #49156, #49150), IME events (@dzfrias, #48690), reconnecting IntersectionObserver (@shubhamg13, #48581), and root elements (@TimvdLippe, #48514).

We also addressed layout issues related to soft wrap line breaks (@mrobinson, @Loirooriol, #48564), grid and flex layouts with indefinite dimensions (@RichardTjokroutomo, @rayguo17, @nicoburns, #48670, #48644, #49232), hanging whitespace (@mrobinson, @Loirooriol, #48591, #48753), preserve-3d (@mrobinson, #47933), inline block splits (@Loirooriol, #46445), video controls (@rayguo17, #44956), display: contents (@Loirooriol, #48784, #48785), justify-contents (@yezhizhen, #48746, #48988), absolute positioning (@mrobinson, @Loirooriol, #48846), <progress> (@Loirooriol, #49143), text-transform: capitalize (@jschwe, #48901), incremental table layout (@Loirooriol, #49176), width: stretch (@Loirooriol, #49239, #49237), backface visibility (@mrobinson, #49196), flex gaps (@yezhizhen, #49335), perspective (@mrobinson, #49174), quirks mode (@Loirooriol, #48942, #39869, #48978, #49211), SVG viewboxes (@leowatts, #48556), ISO-8859-8 documents (@TTyChud, #48444), and table borders (@adoublebarrel, @mrobinson, #47684).

New contributors

A special thanks to the following people for landing their first patch in Servo:

Interested in helping build a web browser? Take a look at our curated list of issues that are good for new contributors!

Donations

Thanks again for your generous support! We are now receiving 8057 USD/month (-2% from September) in recurring donations. This helps us cover the cost of our speedy CI and benchmarking servers, one of our latest Outreachy interns, and funding maintainer work that helps more people contribute to Servo, as well as feature development.

Servo is also on thanks.dev, and already 37 GitHub users (+0 from September) that depend on Servo are sponsoring us there. If you use Servo libraries like url, html5ever, selectors, or cssparser, signing up for thanks.dev could be a good way for you (or your employer) to give back to the community.

We now have sponsorship tiers that allow you or your organisation to donate to the Servo project with public acknowlegement of your support. If you're interested in this kind of sponsorship, please contact us at join@servo.org.

8057 USD/month
10000

Use of donations is decided transparently via the Technical Steering Committee's public funding request process, and active proposals are tracked in servo/project#187. For more details, head to our Sponsorship page.

25 Nov 2026 12:00am GMT

24 Nov 2026

feedPlanet Mozilla

Firefox Tooling Announcements: Happy BMO Push Day! (20261124.1)

Github Link

The following changes have been pushed to bugzilla.mozilla.org:

2 security fixes plus the following improvements:

Discuss these changes in the BMO Matrix Room

1 post - 1 participant

Read full topic

24 Nov 2026 10:40pm GMT

Mozilla Localization (L10N): Autocomplete in Pontoon

Earlier this year, Ayush shared how he gave Pontoon's translation editor its own theme. In this follow-up, our Firefox Localization intern takes us behind the scenes of another project he's worked on during his internship.

You can follow Ayush's work on GitHub and connect with him on LinkedIn.

Mozilla's mission describes "an Internet that truly puts people first, where individuals can shape their own experience and are empowered, safe and independent." In localization, those people are the localizers: the volunteers and professionals who bring Firefox and other Mozilla products to millions of people in their communities, in their own languages. Pontoon, Mozilla's translation management system, is where many of them do that work.

AI is changing that work fast. Machine translation (MT) and large language models (LLMs) can produce a passable draft of almost any string in seconds. Some localizers like to start from that draft; others prefer to write first and get help along the way. Autocomplete, Pontoon's newest feature, supports that second way of working: you write the translation, and Machinery suggests how to finish it as you type. The wording stays yours, and you still save time.

What If Machinery Followed You?

With autocomplete, you write first. As you type, Pontoon looks for the Machinery suggestion that matches the end of what you've written and offers its next word in gray. When you take the sentence somewhere else, it follows you: it switches to a suggestion that fits your new direction, or stays quiet if none does. It never offers more than one word at a time and never changes what you've already written, so Machinery saves you the typing while you do the writing.

Here's how that plays out on a real string with real Machinery translating into English (Canada):

Machinery has two translation memory matches, and neither is exact.

Type `Learn how`, and autocomplete offers the whole placeholder `{ -brand-name-firefox }` in gray. It comes from the 70% match, because that's the one that agrees with what you've written, even though it scores lower.

Autocomplete offers the placeholder from the 70% match.

Start typing the placeholder yourself, and autocomplete steps aside so the editor's own placeholder completion can take over.

The editor's placeholder dropdown takes over.

Type `b` after the placeholder, and autocomplete switches to the 72% match and offers `rowsers`.

Autocomplete switches to the 72% match.

Change your mind and type `protects y` instead. Autocomplete goes back to the 70% match and offers `our`, even though neither match has "protects". It only needs the last few characters, like `ects y`, to line up with a suggestion.

Autocomplete follows you back to the 70% match.

See Autocomplete in Action

Start typing your translation. When autocomplete finds a matching Machinery suggestion, the rest of the word, or the next word, appears in gray after your cursor. Press `Tab` to take it, `Esc` to hide it, or just keep typing.

The video walks through autocomplete on real strings, including what happens when you take a translation in a different direction from the suggestion.

Here's the short version, with links to each part of the video:

For more details, see the documentation.

Help Us Break It

Autocomplete is brand new, and the best way to make it good is for you to use it in your real work and tell us honestly how it feels. Does it save you time, or get in your way? Does the gray text show up when you'd expect it, and stay away when you don't want it?

We'd also love for you to try to break it. Here are some places worth poking at:

If something looks wrong, tell us on Matrix or open a GitHub issue. It helps a lot to include your locale, a link to the string, what you typed, and what you expected to see. Every report helps us make Machinery work for you, and not the other way around.

Finally, if you'd like to look at the technical side, check out #4627 and its follow-ups, or read the technical walkthrough.

24 Nov 2026 9:09pm GMT

Thunderbird Blog: Desktop Add-ons Spotlight: Identity Chooser Helps You Send From the Right Address

This spotlight was created as a collaboration between the Thunderbird Team and the Thunderbird Council.

Our new series is focused on something many Thunderbird users can't do without: add-ons. Customizing your set up is a great way to boost your productivity and make managing your inboxes more manageable. So starting with this article, we're going to be featuring some of the most popular add-ons that might up your email game.

Our first Add-ons Spotlight looks at an add-on that asks one question before every new message: which of your addresses is this from?

Sounds like me…

Most of us have done it. You write a message, press send, and only then notice it went out from the wrong address. The personal account replied to a work contact, or the work account sent something meant for a private thread. Usually it's harmless and a little embarrassing. Sometimes it takes some explaining.

Thunderbird lets you set up as many identities as you like (an identity is a sender name and email address, such as a work address, a personal address, or an alias that delivers to the same inbox). That flexibility is a gift until the wrong identity quietly becomes the default.

Meet Identity Chooser

Identity Chooser, by developer thunderspeed, is currently at version 4.3. It makes you choose the sender address first whenever you compose a new email or forward one, with a menu listing all your identities. The idea is to make every choice explicit, with no automatic defaults to rely on or forget about.

There's nothing to maintain, either. It lists every address you have set up in Thunderbird, so a new account or a new address appears in the menu automatically.

Check it out here.

Setting up Identity Chooser

  1. Install Identity Chooser from the add-ons page in Thunderbird.
  2. Start a new message as usual.
  3. Pick the identity you want from the menu, then write your message.

This is perfect for:

Good to know

A note from the developer

We reached out to the add-on developer, Janek (thunderspeed), to learn what inspired Identity Chooser and how the Thunderbird community has shaped the experience of being an add-on contributor.

The idea started with an everyday problem. "In my private and professional life I always used several different email addresses and needed a reliable way to prevent myself from accidentally mixing them when sending emails to clients or friends. I was looking for an add-on that, ideally, always forced me to explicitly choose my sender email address before even opening the email editor window. I couldn't find one that worked the way I wanted which inspired me to develop Identity Chooser."

The first version came out for Thunderbird 3, and plenty has changed since. "While I kind of miss the old days where everything could be implemented in an add-on, I do appreciate the stability of the mail extension APIs, much better documentation and, in particular, the support by the Thunderbird add-on team, who in the past got in touch to help with making Identity Chooser not depend on experiment APIs anymore." (APIs, short for application programming interfaces, are the official hooks add-ons use to work with Thunderbird.)

The community has been a big part of the story too. "Response from the community and users has always been great. Users helped with translations, contributed features and supported other users. I love it when I stumble upon forum or Reddit posts where people recommend Identity Chooser to other users. I develop Identity Chooser in my spare time and it's stuff like that motivates me to keep supporting it."

Try it and tell us

If you give it a go, let us know how you like it in the comments. We'd also love to hear which add-ons you can't live without. Thank you to thunderspeed for building Identity Chooser and for talking with us!

The post Desktop Add-ons Spotlight: Identity Chooser Helps You Send From the Right Address appeared first on The Thunderbird Blog.

24 Nov 2026 7:52pm GMT

The Mozilla Blog: Lighten the holiday load with these four Firefox 161 updates

The holiday season, the festive season, the "how is the year almost over?" season. Whatever you call it, there's a lot to get done. Gifts to buy, meals to plan, travel details to sort out, all while your regular responsibilities refuse to take time off.

In Firefox 161, we're introducing a few new updates that can help you save time during the busiest months of the year, plus a new place to browse when you have a few minutes to cross something off your list. So you can cut down on the time spent prepping for the holidays, and get back to the people you're doing it all for.

Set VPN rules for individual sites

Searching for the perfect gift? You might want to use a VPN to compare how prices differ by region. Sites like your bank or favorite streaming service, however, might work better without it.

Firefox's free built-in VPN on desktop now lets you choose which sites automatically open with VPN on, and which open with it off. This way, your preferences are applied automatically, and you can save time skipping the constant toggling on/off every time you visit a different site.

Open the VPN panel from your toolbar and select Manage VPN rules, or go to Settings → Privacy & Security → VPN → Manage VPN rules. Add a website and choose Always on or Always off. Once a rule is set, that site will automatically open with your VPN preferences on future visits.

Bonus: VPN data is unlimited through January 31, 2027, so now's the perfect time to experiment with rules and find the setup that works best for you. Check VPN availability in your region and sign in with a Mozilla account to get started.

Listen to pages when your hands are full

Already available on desktop, the ability to read pages aloud in Reader View is now rolling out on Firefox for Android. So when holiday prep keeps your hands busy, you can catch up on that article you've been saving while you untangle the tree lights, or hear the next step in your cookie recipe without getting flour on your phone.

On Android, tap the Reader View icon in the address bar, then tap the headphones icon in the pop-out menu. You can play, pause, rewind, fast-forward, adjust the playback speed, or choose a voice. You can even keep listening with your screen off. For added privacy, Firefox uses only voices that work directly on your device, so the page text and audio stay there.

Meet the Fire button in Classic Window: A faster way to start fresh

Anyone who shares a computer with family knows the risk: one stray autofill suggestion or search history entry, and the gift you spent weeks planning and searching for is no longer a surprise. Before you hand the computer over to the next person, press the 🔥 button in your desktop toolbar in Classic Window to help keep your gifts a secret until the big day.

If you've used the 🔥 button in Private Window, you'll recognize the icon. There, it lets you quickly reset your private browsing session. It's now gradually rolling out to Classic Window on desktop, where it does something different: it gives you easily accessible control over the data Firefox saves as you browse.

It's always in reach, so you can clear your browsing and downloads history, cookies and site data, temporary files, saved form info, and website permissions and preferences directly from your toolbar. If you choose to delete everything, you'll be signed out of sites and your current window will close, and Firefox will open a new one for you to start fresh. Because you've got enough to do without hunting through settings to clear it all.

If you don't want to delete everything or close your open window, you can choose which browsing data to delete and your current window will remain open.

Browse Firefox from your car dashboard

You can now download the Firefox app directly from Google Play in cars with Google built-in. Whether you are waiting for your kid at school pick-up, charging your EV between long drives, or taking a breather in the parking lot before braving the holiday shopping frenzy, you can use Firefox right from your parked car's dashboard. Less squinting at a mobile screen; more getting stuff done.

The best part? Our commitment to privacy comes along for the ride. Firefox is built on the principle that not even Mozilla should know which websites you visit or what you do there, and your browsing history will never be shared with the car manufacturer.

A little time back this holiday season

When your day is already full, even a few small shortcuts can help. We hope the new improvements in Firefox 161 make it easier to get things done online - not only during the holiday rush, but also long after the decorations come down.

To learn about the other new features released in Firefox 161, check out our newest release notes. And once you've given them a go, let us know what you think on Mozilla Connect.

The post Lighten the holiday load with these four Firefox 161 updates appeared first on The Mozilla Blog.

24 Nov 2026 2:00pm GMT

23 Nov 2026

feedPlanet Mozilla

Firefox Nightly: New Urlbar Design, Fixed macOS 27 Browser Imports, and More – These Weeks in Firefox: Issue 212

Highlights

Friends of the Firefox team

Resolved bugs (excluding employees)

Script to find new contributors from bug list

Volunteers that fixed more than one bug

New contributors (🌟 = first patch)

Project Updates

Add-ons / Web Extensions

Addon Manager & about:addons

WebExtensions Framework

WebExtension APIs

DevTools

External contributions
Team/Project Update

WebDriver

Lint, Docs and Workflow

Migration Improvements

New Tab Page

Picture-in-Picture

Search and Urlbar

23 Nov 2026 7:48pm GMT

22 Nov 2026

feedPlanet Mozilla

Florian Quèze: Debugging a Windows crash that left no crash report

How, without ever starting my Windows laptop, I understood why Firefox crashes on Windows when opening its 500th window. From a crash that left nothing but an exit code to a fix that landed only a few hours later!

The symptom

Two changes landed on the same day: the mochitest harness started to fail the running test when the browser exits abnormally without a minidump, and mochitest-browser-chrome-repeat jobs started running on autoland and mozilla-central. Together, they made the aiwindow manifest perma-fail on Windows 11 with "application terminated with exit code 3762701893".

No minidump, no stack, nothing else to look at. The only useful observation was that the failure was deterministic: the browser always died at about the same point of the run, after roughly 14 minutes. Something was accumulating.

A quick online search gave only one result about this exit code (0xE0464645 in hexadecimal): a bug write-up in Chinese for another project, analyzing crash dumps with the same exception code. Their stacks show it's raised by CoreMessaging!CFlat::Abandonment::Fail calling RaiseFailFastException, which "bypasses all exception handlers": this is why our crash reporter never saw anything. A Windows UI component giving up after 14 minutes of tests suggested it was running out of something.

Measuring resources after each test

Finding out what only required adding a few lines to the browser-chrome harness (browser-test.js) to log, after each test, the parent process's GDI and USER object counts, handle count, and private and committed memory:

let GetGuiResources = user32.declare(
  "GetGuiResources",
  ctypes.winapi_abi,
  ctypes.uint32_t,
  ctypes.voidptr_t,
  ctypes.uint32_t
);
let proc = GetCurrentProcess();
parts.push(`gdi ${GetGuiResources(proc, 0)}`);
parts.push(`gdiPeak ${GetGuiResources(proc, 2)}`);
parts.push(`user ${GetGuiResources(proc, 1)}`);
parts.push(`userPeak ${GetGuiResources(proc, 4)}`);
// ... handle count, private bytes, system commit, kernel pools ...
dump(`DEBUG-RESOURCES | ${parts.join(" | ")}\n`);

Using ctypes means no compilation is needed, so the try pushes could use artifact builds to iterate quickly.

The answer was clear: the number of GDI objects climbed steadily from 45 to 9,950-9,999 after the last test that completed, and the peak value reported by Windows was exactly 10,000. 10,000 is the maximum number of GDI objects a Windows process can own. Nothing else was anywhere near a limit.

A smaller test case

The Smart Window tests open and close a lot of windows, about 500 in a single browser session, so opening windows was the obvious suspect. A new test opening and closing 30 browser windows, in its own folder so it can run alone on try and give fast results, confirmed it, and showed the problem had nothing to do with Smart Window: each window leaked about 20 GDI objects, never released, even after memory minimization.

Which objects? Walking the GDI handle table

Again, some help was found on GitHub: a gdi-leaks project has code reading the GDI handle table that Windows maps into every process. Still from ctypes, this table can be accessed from an undocumented field (GdiSharedHandleTable) of a per-process Windows structure, keeping the entries owned by our process, and asking GDI for the type and size of each object:

// GdiSharedHandleTable, undocumented, at 0xF8 on x64.
let table = ctypes.cast(
  ctypes
    .cast(peb, ctypes.uint8_t.array(0x100).ptr)
    .contents.addressOfElement(0xf8),
  ctypes.voidptr_t.ptr
).contents;
// 65536 cells of 24 bytes: kernel pointer, pid, count, upper, type, user
// pointer.
let cells = ctypes.cast(
  table,
  ctypes.uint16_t.array(65536 * 12).ptr
).contents;
let pid = GetCurrentProcessId() & 0xffff;
for (let i = 0; i < 65536; i++) {
  if (cells[i * 12 + 4] != pid) {
    continue;
  }
  let handle = ctypes.cast(
    ctypes.uintptr_t(cells[i * 12 + 6] * 65536 + i),
    ctypes.voidptr_t
  );
  let type = TYPES[GetObjectType(handle) - 1];
  if (type == "BITMAP" && GetObjectW(handle, BITMAP.size, bitmap.address())) {
    type += ` ${bitmap.bmWidth}x${bitmap.bmHeight}`;
  }
  counts[type] = (counts[type] || 0) + 1;
}

Before and after opening and closing 30 windows, this gives:

GDI objects Before After 30 windows
Memory device contexts (DCs) 7 303
Bitmaps 64×32 3 177
Bitmaps 64×64 1 91
Bitmaps 32×32 1 33
Regions 8 8
Brushes 2 2
Fonts 2 2
Bitmaps 8×8 1 1
Total 43 635

So each window leaves behind about 10 memory DCs and 10 small bitmaps of 64×32, 64×64 and 32×32 pixels.

Who allocates them?

Each leaked bitmap comes with a memory DC: that's the pair Windows creates when graphics code asks for a DC to draw with GDI into a GPU surface. With hooks on the native functions that create this pair (NtGdiDdDDICreateDCFromMemory) and destroy it (NtGdiDdDDIDestroyDCFromMemory), the Firefox Profiler can record markers with stacks for each call:

static LONG NTAPI CreateHook(CreateArgs* aArgs) {
  LONG status = sCreateStub(aArgs);
  if (status >= 0) {
    PROFILER_MARKER_TEXT(
        "GDI CreateDCFromMemory", GRAPHICS, MarkerStack::Capture(),
        nsPrintfCString("DC %08x bitmap %08x %ux%u", Handle(aArgs->mDc),
                        Handle(aArgs->mBitmap), aArgs->mWidth,
                        aArgs->mHeight));
  }
  return status;
}

static LONG NTAPI DestroyHook(const DestroyArgs* aArgs) {
  PROFILER_MARKER_TEXT(
      "GDI DestroyDCFromMemory", GRAPHICS, MarkerStack::Capture(),
      nsPrintfCString("DC %08x bitmap %08x", Handle(aArgs->mDc),
                      Handle(aArgs->mBitmap)));
  return sDestroyStub(aArgs);
}

static void Install() {
  sWin32uIntercept.Init("win32u.dll");
  sCreateStub.Set(sWin32uIntercept, "NtGdiDdDDICreateDCFromMemory",
                  &CreateHook);
  sDestroyStub.Set(sWin32uIntercept, "NtGdiDdDDIDestroyDCFromMemory",
                   &DestroyHook);
}

The mochitest harness profiles every test, but to keep the overhead low it doesn't walk native stacks, so marker stacks only contain JS frames. Pushing to try with --profiler gives a normally configured profiler, with native stacks. The harness only uploads profiles of failing tests, so the test ends with an assertion that always fails.

Here is the resulting profile, filtered to show only the new markers. There are 428 GDI CreateDCFromMemory markers and 127 GDI DestroyDCFromMemory markers. Pairing them by handle leaves 301 DCs that are never destroyed: 177 with a 64×32 bitmap, 91 with a 64×64 one and 33 with a 32×32 one, exactly the bitmaps found in the handle table at the end of the test.

Here is the stack of one of the leaked DCs, innermost frame first:

D3D10Warp.dll!UMDevice::InternalGetDC
d3d11.dll!NDXGI::CResource::CGdiInterop::GetDC
d3d11.dll!NDXGI::CResource::GetDCCore
Microsoft.UI.Windowing.Core.dll!CTitleBar::PaintButton
Microsoft.UI.Windowing.Core.dll!CTitleBar::UpdateButtonState
Microsoft.UI.Windowing.Core.dll!CTitleBar::UpdateAllButtonStates
Microsoft.UI.Windowing.Core.dll!CTitleBar::UpdateColors
Microsoft.UI.Windowing.Core.dll!CTitleBar::UpdateExtendsContentIntoTitleBar
Microsoft.UI.Windowing.Core.dll!...::put_ExtendsContentIntoTitleBar
xul.dll!WindowsUIUtils::SetIsTitlebarCollapsed
xul.dll!nsWindow::SetCustomTitlebar

The leaked objects are the images of the title bar buttons and icon. To draw its tabs in the title bar, Firefox asks the Windows App SDK (Microsoft.UI.Windowing.Core.dll) to let the window content extend into the title bar, and the SDK then paints these buttons itself.

The destroy markers explain why some are freed and others aren't. Each window creates 14 DCs while setting up its title bar. When the window is closed, 4 of them are destroyed, all at once, when their surface is destroyed while DirectComposition commits (CTitleBar::CommitDCompDevice, called from nsWindow::Show(false) in AppWindow::Destroy). The 10 others are never destroyed. My understanding is that they live as long as the title bar object, which nothing destroys when the window is closed. This looks like a bug in the Windows App SDK.

The fix

The fix is to undo the extension of the window content into the title bar, resetting it to its default state, before destroying the window:

  // Destroying the window doesn't release the GDI objects the Windows App SDK
  // allocates for a title bar extended into the client area, so undo that
  // first.
  if (mCustomNonClient) {
    WindowsUIUtils::SetIsTitlebarCollapsed(mWnd, false);
  }

Each window leaked 20 of the 10,000 GDI objects a process can own, hence the crash around the 500th window. With the fix, closing a window leaks 0 GDI objects, and Firefox can now open more than 500 windows on Windows without crashing. This landed in bug 2096020.

How it really happened

The story above is the method I would follow next time, but a few things happened slightly differently. Claude found the fix before having the stacks. Once it was clear that each window leaked 20 objects, Claude proposed variants to test on try: popups, a chrome window without a title bar, browser.tabs.inTitlebar=0, disabling Mica. Only browser windows drawing tabs in the title bar leaked. Claude then read the code of that path, found the SetIsTitlebarCollapsed call, and tested resetting it behind a pref: that removed the leak. The clean profile shared above came last, when preparing this blog post. The profiles produced during the actual investigation were a bit messier, as they hooked several other GDI functions (creating DIB sections, compatible DCs and bitmaps), and at first not the one Direct3D uses to create the leaked DCs.

Things to take away

22 Nov 2026 11:03pm GMT

21 Nov 2026

feedPlanet Mozilla

Mozilla Data YouTube Channel: Data Incident Process

Mike Droettboom talks about Data @ Mozilla's process for handling incidents.

21 Nov 2026 1:20pm GMT

Mozilla Data YouTube Channel: Last Lecture: Writing the Data Docs

Will Lachance gives a last lecture on writing data documentation at Mozilla.

21 Nov 2026 11:41am GMT

Mozilla Addons Blog: Developer Spotlight: WebBrain

AI and user privacy aren't standard bedfellows. But WebBrain - a browser extension-based AI companion - was built privacy forward from the start. It runs entirely locally. WebBrain uses offline LLMs, so your browsing data stays on your device.

"When you ask a cloud provider anything," explains WebBrain developer Emre Sokullu, "it isn't end-to-end encrypted and the things you share can be very intimate and personal. That's bad… health data, financial, private life."

WebBrain is capable of performing complex automated tasks like eCommerce assignments.

WebBrain's offline LLMs are designed to work well on devices with at least 16 GB RAM or a GPU with 16 GB of VRAM. Nothing leaves your machine. If curious how WebBrain is built, Sokullu invites anyone to explore WebBrain's GitHub repo, which documents the extension's privacy features in detail.

So what does WebBrain do?

Conveniently, WebBrain lets you know what it's capable of doing on any given web page.

If you're reading a news article or browsing a page with a lot of information, WebBrain can provide a tidy summary; it can even analyze and contextualize images. On a video site, WebBrain might ask if you want to download the media. WebBrain can even be customized to perform complex automated page tasks like GitHub and social media interactions (e.g. auto re-tweeting).

WebBrain learns about you the more you use it, so it becomes even more capable over time. Let's say you fill out a lot of form pages. WebBrain will learn your preferred username, email address, etc. Again, all data remains exclusively on your device.

WebBrain offers an impressively robust free tier of usage. But if you already have paid AI accounts, WebBrain can integrate with those as well.

And though it may sound scary, Sokullu says his favorite WebBrain feature is something called Apocalypse Mode. "It's a neat feature I want people to try. It's an offline LLM chat with offline Wikipedia and medical sources. During emergencies like Covid, war, natural disaster, or internet outages."

Do you have an intriguing extension development story? Do tell! Maybe your story should appear on this blog. Contact us at amo-featured [at] mozilla [dot] org and let us know a bit about your extension development journey.

The post Developer Spotlight: WebBrain appeared first on Mozilla Add-ons Community Blog.

21 Nov 2026 2:07am GMT

Mozilla Data YouTube Channel: An opinionated intro to NLP (text analytics)

Rebecca BurWei from Mozilla Data Science gives an introduction to Natural Language Processing.

21 Nov 2026 1:28am GMT

Mozilla Data YouTube Channel: Glean Dictionary Looker Demo

A quick demonstration of the Glean Dictionary's new integration with Mozilla's instance of Looker.

21 Nov 2026 12:07am GMT

20 Nov 2026

feedPlanet Mozilla

Mozilla Addons Blog: Unveiling the All-New Firefox Add-on Developer Hub

Sixteen years ago, Mozilla launched the add-ons developer hub to be a one-stop shop for Firefox extension and theme creators. While it served our community well for a long time, we knew it was time for a modern upgrade. Today, we're thrilled to announce a completely reimagined Firefox add-ons developer hub, rolling out this December.

At the start of 2026, we surveyed over a hundred Firefox add-on developers to learn about your biggest pain points. Your feedback was crystal clear: you wanted faster reviews, clearer guidelines, deeper insights into submission workflows, and better overall communication from Mozilla.

We took that feedback to heart when building the new developer hub, putting transparency, clarity, and communication at its core. With every submission, you'll see exactly where your version stands in the review process, what step comes next, and actionable advice if policy issues arise. Best of all, we will be integrating all communications right into the dashboard - no more digging through email threads! (Don't worry, you'll still get the emails)

Beyond workflow enhancements, we've streamlined navigation, unified messaging, and even added native dark mode support.

The preview release supports everything needed to submit and manage extensions in your default locale. We're actively building out additional features over the coming weeks, and you can seamlessly switch back to the classic hub at any point if you need legacy functionality.

Invitations to the preview release are rolling out gradually. When your account is invited, you'll see a "Try the new Developer Hub" link in the top navigation menu in the Developer Hub. Give it a spin and let us know what you think via the feedback link.

Happy developing!

The post Unveiling the All-New Firefox Add-on Developer Hub appeared first on Mozilla Add-ons Community Blog.

20 Nov 2026 5:21pm GMT