The Servo engine passed Acid2 tests. Crash Reporter in Firefox has been rewritten in Rust

The developers of the Servo browser engine, written in the Rust language, announced that the project has reached a level that allows it to successfully pass the Acid2 tests, used to test support for web standards in web browsers. Acid2 tests were created in 2005 and evaluate basic CSS and HTML4 capabilities, as well as correct support for PNG images with transparent backgrounds and the β€œdata:” URL scheme. Recent changes in Servo include synchronizing the Stylo CSS engine with the Firefox codebase, improving font rendering and processing, and displaying a splash screen for the tag , preparing a demo of Servo WebView for Qt.

Additionally, we can note Mozilla’s initiative to rewrite the Crash Reporter component in Firefox in Rust. Crash Reporter monitors the crash of the main Firefox process and displays a dialog for sending a report about the problem to the browser developers. The need to rework Crash Reporter is due to problems with maintaining the old code base, which prevented further development and preparation of changes due to the presence of three separate implementations of the graphical interface (for Windows, Linux and macOS) and the use of additional layers in Objective-C for macOS.

The new version ensures a unified interface for all platforms and uses the Rust language to reduce the likelihood of memory errors, increase reliability and simplify maintenance. To create a cross-platform GUI that is independent of Firefox, an abstraction layer is used with core UI elements implemented on top of GTK, Win32 API, and Cocoa to give the interface a native look and feel for each platform.

The Servo engine passed Acid2 tests. Crash Reporter in Firefox has been rewritten in Rust


Source: opennet.ru

Add a comment