Mozilla and the Mobile Web API Evolution

Editor’s Note: Brendan Eich, Mozilla CTO, posted on his blog about Mozilla and the mobile Web API evolution. This is reposted below:

Ragavan Srinivasan’s post about the forthcoming Mozilla Marketplace for Open Web Apps inspired me to write about Mozilla’s surging Web and Device API standards work.

A bit of background. Mozilla has always contributed to web standards, going back to the start of the project. We co-founded the WHAT-WG to kick off HTML5. As readers of this blog know, we are a leader in JS standardization. We have some of the top CSS and layout experts in the world.

In the last eight months, our efforts to extend the web standards to include new APIs needed to build compelling apps and OS components on mobile devices have really caught fire. B2G and Open Web Apps are the fuel for this fire.

So I thought I would compile a list of emerging APIs to which we’ve contributed. In citing Mozillans I do not mean to minimize the efforts of standardization colleagues at Google, Microsoft, Nokia, Opera, the W3C and elsewhere. Standards are a multi-vendor effort (although excluding WebGL [see UPDATE below] one shiny name is conspicuously absent from this list).

The Mozilla contributions are worth noting both to acknowledge the individuals involved, and to highlight how Mozilla is championing device APIs for the web without having a native application stack blessed with such APIs on offer. We see the Web as quickly evolving to match native stacks. We have no other agenda than improving the Web to improve its users’ lives, including Web developers’ lives — especially mobile users and developers.

As always, standards in progress are subject to change, yet require prototype implementation and user-testing. Mozilla remains committed to playing fairly by not forging de-facto standards out of prototypes, rather proposing before disposing and in the end tracking whatever is standardized.

Here is the list, starting with some 2011-era work:

  • Geolocation, with Google contributing the editor and Firefox (thanks to Jay Sullivan leading the charge) implementing early.
  • WebGL (UPDATE: Chris Marrin of Apple edited) and typed arrays.
  • Gamepad API. Co-editor: Ted Mielczarek. Mozillans are also contributing to Pointer Lock.
  • Screen Orientation. Editor: Mounir Lamouri.
  • navigator.getUserMedia. Co-editor: Anant Narayanan
  • Battery Status (in Last Call). From the Acknowledgements:

    Big thanks to the Mozilla WebAPI team for their invaluable feedback based on prototype implementations.

  • Media Capture. Fabrice Desré prototype-implemented in Gecko.
  • Network API. Editor: Mounir Lamouri.
  • Web Telephony. Ben Turner, Jonas Sicking, Philipp von Weitershausen.
  • Web SMS. Mounir Lamouri, Jonas Sicking.
  • Vibration. From the Acknowledgements:

    The group is deeply indebted to Mounir Lamouri, Jonas Sicking, and the Mozilla WebAPI team in general for providing the WebVibrator prototype as an initial input.

  • File API. Editors: Arun Ranganathan, Jonas Sicking.
  • IndexedDB. Editors includes Jonas Sicking.

I did not list most of the HTML5 and Web API work aimed at Desktop Firefox, to focus on the new mobile-oriented additions. There’s more to say, including about bundled-permission follies and how to weave permission-granting (with memorization) into interactions, but not here.

One last note. The CSS vendor prefix brouhaha had, among many salutary effects, the benefit of shining light on an important requirement of competitive mobile web development: CSS style properties such as -webkit-animation-*, however you spell them, must have fast and beautiful implementations across devices for developers to find them usable: 60Hz, artifact-free rendering under touch control. This requires such work as off-main-thread compositing and GL layers.

This is a high technical bar, but we are in the process of meeting it in the latest Firefox for Android and B2G builds, thanks to hard work from many people, especially Patrick Walton, Robert O’Callahan, Chris Jones, and Andreas Gal. Onward!

/be

18 comments on “Mozilla and the Mobile Web API Evolution”

  1. Ping from Mobile Web API Evolution | The Mozilla Blog | Cell Mobile Guide on

    […] More:  Mobile Web API Evolution | The Mozilla Blog […]

  2. Ping from How to answer the question,"what do you do for a living" - What is Coolest Answer for the Question “What do you do for a living?” from IM’ers on

    […] works especially well when used at christmas dinners with your girls parents Spammer. I tell them I sell Cherrios to college kids as Donut Seeds. I tell them that I am a Business owner and a software […]

  3. Ping from Mozilla и Telefonica представили телефон на базе платформы Boot to Gecko | AllUNIX.ru — Всероссийский портал о UNIX-системах on

    […] элементов, составляющих Web API, можно […]

  4. Ping from Mozilla и Telefonica представили телефон на базе платформы Boot to Gecko | IT новости on

    […] элeмeнтoв , cocтaвляющих Web API, мoжнo […]

  5. Ping from 电影之家 on

    […] Racial Inequality – Latina ListaThe Evolution within the Revolution – Egypt's TransitionMozilla and the Mobile Web API Evolution | The Mozilla BlogThe Evolution of WAN Optimization — Enterprise Strategy Group首页 | 登陆 | 联系 | 标签 | […]

  6. Ping from Boot to Gecko toma forma en los Open Web Devices que lanzará Mozilla junto a Telefónica | Ubuntizando.com on

    […] web que esta diseñada e interactua profundamente con el dispositivo que utilicemos. Hay una gran variedad de APIs que permiten que esto sea posible, como la de geolocalización, estado de la batería, WebGL, SMS […]

  7. Ping from The Engine That Is Moving Mobile Website Development And Content Forward | Wisdom Health Prosperity on

    […] to go to a mobile version of my websiteMobile Website – A Must Have In Today’s WorldMozilla and the Mobile Web API Evolution noCon(document).ready(function(){ noCon("#dropmenu ul").css({display: "none"}); // For 1 Level […]

  8. Ping from Mozilla in Mobile – the Web is the Platform | Mozilla Press Centre UK on

    […] These devices, architected entirely on the Web and built based on an HTML5 stack with powerful Web APIs, will mean significant advances in speed and cost reduction for mobile devices in the future. […]

  9. Ping from A Open Web « funmachine on

    […] para desenvolver aplicações em sistemas móveis que realmente fazem uso nativo do SO. Vejam aqui uma compilação das APIs que estão a ser […]

  10. Ping from Revolución Web: Móviles on

    […] a todo aquel que esté interesado en este tema a seguir investigando sobre esta tecnología en el Blog de Mozilla, o bien probar en su fase beta el sistema operativo y tener acceso a sus fuentes, desde […]

  11. Ping from Mobile Website Plugins-First Step in Mobile Marketing | OPT IN MONEY TREE on

    […] for mobiles/smart phones.Responsive Web’s Message to Mobile Website Creators: “Rest in Peace”Mozilla and the Mobile Web API Evolution jQuery(document).ready(function(){ […]

  12. Ping from mobile marketing websites for business | business internet sales & marketing consulting strategies on

    […] Local Marketing With TwitterViooli.comWhat Is A Mobile Website And Why Is It Vital To Your BusinessSmall Business Marketing Blog from Duct Tape Marketing – Small business marketing blogMozilla and the Mobile Web API Evolution […]

  13. Ping from Boolstudio on

    […] 设备访问已经成为最近的热门话题, W3C已经在2011年8月组织了设备APIs工作小组来专门解决这一问题。最近的项目例如Chrome Apps和Firefox OS也开始在这方面进行努力探索。 […]

  14. Ping from 你不知道的5个Web技术秘密! | HTML5工作室 on

    […] 设备访问已经成为最近的热门话题, W3C已经在2011年8月组织了设备APIs工作小组来专门解决这一问题。最近的项目例如Chrome Apps和Firefox OS也开始在这方面进行努力探索。 […]

  15. Ping from mobile web apps | mobile business websites, mobile marketing websites for business on

    […] Mobile Website or Native Mobile ApplicationTechlomedia – social media, technology news, internet, gadgets and mobile appsMozilla and the Mobile Web API Evolution […]

  16. Ping from tablet computers | computer laptop reviews, desktop computers, notebook reviews on

    […] MEX – the strategy forum for mobile user experienceWhy VPN Technology is Important for Mobile Users — lawmacs web design blogLess SEO, More App Development for Mobile Web MarketingTelecommunicationnews.netPayPal Trumps Squares Deal With Starbucks by Partnering With Discover – Tricia Duryee – Commerce – AllThingsDMozilla and the Mobile Web API Evolution […]

  17. Ping from Startling Statistics for Mobile Web | mobile business websites, mobile marketing websites for business on

    […] Why Your Business MUST Have a Mobile WebsiteNew Internet Marketing Book, The Bootstrappers Guide to the Mobile Web, is a Business Owners Fast, Hands-on tutorial to mobile website and app development40 Popular Mobile Website TemplatesWhy today’s Business’s Need Mobile WebsitesMobile Website – How Mobile Marketing With A Mobile Website Is A Must For Your BusinessMobile Website ‘Stats’…How to Optimize Your Mobile WebsiteMaking Your Site Mobile Friendly5 Creative Ways to Use QR CodesMozilla and the Mobile Web API Evolution […]

  18. Ping from A Few Observations Pertaining To A Mobile Website | Wisdom Health Prosperity on

    […] Website with QrcodeMobile website designMozilla and the Mobile Web API Evolution noCon(document).ready(function(){ noCon("#dropmenu ul").css({display: "none"}); // For 1 Level […]