Friday, July 1, 2011

Mozilla Developing In-Browser PDF Viewer in HTML5, JavaScript

Google began delivering its Chrome browser with a built-in PDF viewer almost a year ago, making it the first browser to have such a function. Be, in fact, it remains the only one. This is very strange, especially because of the competitive situation in the browser market. But Mozilla is now ready to catch up with Google in this department.

"During a trip to start Firefox after the four parties in Seoul and Taipei all the way from California, we killed a lot of time brainstorming cool things to do with the web platform," said Dr. Andreas Gal, a researcher at Mozilla , wrote on his personal blog. "How many of us, we were wondering why nobody had implemented a PDF reader in HTML5/JavaScript. The types of operations a PDF reader must be quick on-render text, draw lines to blit images to be quickly in browsers, need, so browsers already highly optimized for it. "

It is clear that Mozilla is very strong approach to in-browser PDF reader functionality of Google. Unlike Mozilla, the development of its in-browser PDF reader is completely in HTML5 and Google uses JavaScript in a native code plug-in. According to Gal, the more traditional approach of Google is using some security headaches, as it "extends the trusted code base, and this is why Google's Chrome browser goes through quite some pain, the sandbox of the PDF renderer, code-injection attacks . avoid "

The open source outfit has been engaged in developing its browser-native "pdf.js" readers (demo) for almost a month and expects keep it ready within the next three months.

0 comments:

Blog Archive

Blog Archive

About Me