Testing Articles
-
Testing Firefox more efficiently with machine learning
A browser is an enormously complex piece of software, and it's always in development. About a year ago, we asked ourselves: how could we do better? Our CI relied heavily on human intervention. What if we could instead correlate patches to tests using historical regression data? Could we use a machine learning algorithm to figure out the optimal set of tests to run? We hypothesized that we could run fewer tests to save money, get results faster, and reduce the cognitive burden on developers.
-
Fuzzing Firefox with WebIDL
Fuzzing, or fuzz testing, is an automated approach for testing the safety and stability of software. For the past 3 years, the Firefox fuzzing team has been developing a new fuzzer to identify security vulnerabilities in the implementation of WebAPIs in Firefox. This fuzzer leverages the WebAPIs’ own WebIDL definitions as a fuzzing grammar.
-
Testing Strategies for React and Redux
When the Firefox Add-ons team ported addons.mozilla.org to a single page app backed by an API, they chose React and Redux for powerful state management, delightful developer tools, and testability. Achieving the testability part wan’t as obvious, since there are competing tools and techniques. This post describes some testing strategies that are working really well.
-
Actual Input Latency: cross-browser measurement and the Hasal testing framework
Editor’s Note: This post is also featured on the 2017 Performance Calendar. This is a story about an engineering team at Mozilla, based in Taipei, that was tasked with measuring performance and solving some specific performance bottlenecks in Firefox. It is also a story about user-reported performance issues that were turned into actionable insights. It […]
-
Using Headless Mode in Firefox
Browser automation is not a new idea, but is an increasingly important part of how modern websites are built, tested, and deployed. Firefox now has support for headless mode, making it easier to use as a backend to automated tools. Learn how to work with headless mode in Firefox.
-
Comparing Browser Page Load Time: An Introduction to Methodology
On blog.mozilla.org, we shared results of a speed comparison study to show how fast Firefox Quantum with Tracking Protection enabled is compared to other browsers. In this companion post, we share some insights into the methodology behind these page load time comparison studies and benchmarks. Our study focused on news web sites, which tend to come with an abundance of trackers, and uses the Navigation Timing API as a data source.
-
Doubling Down on Cross-Browser Testing
Mozilla has partnered with BrowserStack to offer free testing on mobile Firefox for Android (iOS upcoming). Not every developer owns a device bank or has the time to test on every OS. Mozilla is committed to ensuring a healthy and robust web. Cross-browser compatibility is a key component of that commitment.
-
Level Up Your Cross-Browser Testing
Today we’re announcing a special opportunity for web developers to learn how to build and automate functional browser tests — we’ve partnered with Sauce Labs to offer a special extended trial of their excellent tools, and we’ve created a custom learning resource as part of this trial. 2016: The year of web compat In 2016 […]
-
Make the Web Work For Everyone
Updated 2016/07/22: Commenters found a few data errors (thanks!) which have now been corrected. Millions of websites have compatibility problems on one or more of the major browsers, leading to a poor user experience. The web developer community can fix this. The web has changed immensely in the past 20 years. In 1996 there were […]
-
Performance Testing Firefox OS With Raptor
When we talk about performance for the Web, a number of familiar questions may come to mind: Why does this page take so long to load? How can I optimize my JavaScript to be faster? If I make some changes to this code, will that make this app slower? I’ve been working on making these […]