Paul Krill
Editor at Large

Firefox to follow Chrome’s lead on Flash, PDFs

news
Oct 5, 20162 mins

The company is working with Google Chromium projects for PDF and Flash capabilities in order to modernize its Firefox browser

As part of efforts to remove generic plugin support, Mozilla’s Project Mortar explores alternative approaches to providing non-web platform technologies, starting with the Firefox browser’s handling of PDF rendering and Flash support.

The newly unveiled project looks to deliver these technologies cheaper while providing a better user experience. To that end, Mortar will explore the possibility of bringing Google’s PDFium library, used in the Chrome browser, and the Pepper API-based Flash plugin into Firefox. Pepper API also was developed by Google, and both Pepper API and PDFium are Chromium projects. Switching to Pepper will reduce support costs because “we will only need to support a subset of the Pepper API to achieve our goal,” Johnny Stenback, senior director of engineering at Mozilla, said.

Mozilla already has integrated Firefox with the PDFium library and enabled basic PDF rendering. If the company is successful in using the minimum set of Pepper APIs for the PDFium library, NPAPI support could be removed from Firefox once it’s disabled for general plugin use.

“Due to security and stability reasons [NPAPI] is being broadly phased out,” Stenback said. “Removing it completely drastically reduces code complexity and the support costs associated with maintaining Gecko.” Gecko is Mozilla’s layout engine in Firefox for reading Web content like HTML and JavaScript.

Browser vendors have been moving away from proprietary, security-plagued Flash technology in favor of HTML5. Finding an alternative path for Flash support “would allow us to completely remove NPAPI from Firefox earlier,” Stenback said. The effort allows Mozilla to invest more heavily in core web technology. “While Mozilla’s credo is all about promoting standardization of the web platform for the benefits of the web ecosystem, this project doesn’t change that at all,” Stenback said. “It is true that this project does use some non-web standards internally inside of Gecko, and the same can be said for the vast majority of the rest of the internals of Gecko.”

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author