Firefox is all set for a big change, as the company is now introducing its project Mortar. The project is mainly focused on providing non-web technologies, starting with its browser handling of PDF rendering and Flash support.
Mozilla’s new project is looking to bring these technologies a lot cheaper and provide a better user experience. Mozilla’s main focus is to amalgamate Google’s PDFium library and the Pepper API into Firefox. It is interesting to note that Google has developed Pepper API, and both Pepper API and PDFium projects are based on Chromium.
Senior director of engineering at Mozilla, Johnny Stenback said, “Switching to Pepper will reduce support costs because we will only need to support a subset of the Pepper API to achieve our goal".
Mozilla has always had the support of PDFium library and basic PDF rendering. If Mozilla successfully uses the Pepper APIs for the PDFium library, Netscape Plugin Application Programming Interface (NPAPI) could be be removed from Firefox once it is disabled from general plugin use.
Recently, we have seen browser like Chrome shifting itself from Flash to HTML5 because of its security issues. Stenback said, “ Finding an alternative path for Flash support would allow us to completely remove NPAPI from Firefox earlier”. Mozilla aims on promoting standardization of the web platform for the benefits of the web ecosystem. 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."