Firefox: AVIF Transparency Support

Firefox: AVIF Transparency Support

Transparent AVIF images work in Firefox now! I’ve finished the AVIF image transparency support in Firefox recently, in BMO 1654462. The AVIF support can be enabled by toggling the image.avif.enabled...…

Code-reviews I did in Mozilla

Giving code-review is an essential part of my daily job as a software engineer. I always try my best to help my peers to address the problem properly when doing a review. For anyone who is interested in my reviews, this post lists some of the code-reviews I did in Mozilla. …

Why Is Overengineering Bad

The answer is it usually causes confusions and deteriorate the code readability.

The ambitious programmers sometimes are unawareness of being over-engineering their code. This post proposes a simple way to check if the code is overengineered, and the steps to avoid it.

Avoid adding code for a specific case only

Why is it bad? It branches out a new code path for a specific case and inevitably raises the code complexity. In the long run, its knotty code paths make the code hard to be read and maintained. This post proposes a way helping the developers to work out a better approach from an approach working only for a specific case. …

Firefox FAQ: Audio channel layout

This is a FAQ page for audio channel layout in Firefox. If you have problem when playing the audio in Firefox with a multi-channel soundcard, here are some tips for self-debugging. This page also provides steps to open a Firefox bug with detailed information that helps our developer to address your issues more efficiently. …