Cisco Learning Network Store Promotions Page
Showing posts with label Firefox OS. Show all posts
Showing posts with label Firefox OS. Show all posts

11.13.2014

Mozilla Releases ‘Firefox Developer Edition’ for Windows, Mac and Linux

 
Mozilla has released the new Firefox Developer Edition for the 10th anniversary of the Firefox browser.
 
The Developer Edition is exactly what it says on the tin: a browser built around the needs of web developers. 

The Firefox team set out to bring together tools needed to keep developers productive across a multi-device and multi-platform environment, “creating a focal point to streamline your development workflow.” Though the Firefox Developer Edition has a touch of the familiar, the rejigged UI and features make it a formidable development environment while still the fully capable browser Firefox users know and love.
 
The biggest change you’ll notice is the dark UI of the slick inspector applied to the rest of the browser. Not your style? You can revert to the familiar light theme by heading into the Customize options at the bottom of the “hamburger” menu and clicking “Use Firefox Developer Edition Theme”.

Developer Features

 
Among the features headlining the first Developer Edition release are WebIDE and Valence.
 
WebIDE gives you an integrated editor for working with Firefox OS apps in simulators, Firefox OS devices, or through Firefox for Android. The editor has autocomplete functionality, popovers detailing function arguments, and manifest validation. A built-in debugger also lets you pause apps, inspect elements, and play around with their contents.
 
Valence extends the functionality of WebIDE, letting you connect to Chrome for Android or Safari on iOS (whether an iPhone, iPad, or iOS simulator) and inspect and modify content as if it were opened in Firefox. While desktop Chrome has let you inspect content on Chrome for Android for quite some time – including debuggable WebView content in apps on KitKat and above – Valence takes the feature above and beyond in supporting multiple browsers across mobile OSes. What’s more, debugging Safari on iOS is also available for us Linux users (with a proxy)!

Get Firefox Developer Edition

You can grab the new Firefox Developer Edition straight from the Mozilla website and have a gander at all of the developer-oriented features included. The Developer Edition is currently based on Firefox 35.0a2.
 
 Get Firefox Developer Edition
  
~ Sam Tran

12.12.2013

Mozilla making progress with Firefox’s long journey to multiprocess

Over the last year, the browser has taken steps toward being more stable and secure.

Multiple Firefox processes.
Internet Explorer and Chrome both use a multiprocess architecture to enhance stability and security. They separate the task of parsing and rendering Web pages from the job of drawing the browser on-screen, saving downloaded files, creating network connections, and so on. This allows them to run the dangerous parts—the parts exposed to malicious scripts and exploitative HTML—in a sandbox with reduced permissions, making it harder for browser flaws to be turned into system compromises.
 
It also means that they're much more tolerant of crash bugs; a bug will bring down an individual tab, but shouldn't, in general, bring down the browser as a whole.
 
In 2009, Mozilla announced the Electrolysis project, which was to bring this kind of multiprocess design to Firefox.
 
It's now late 2013, and Firefox still isn't a multiprocess browser. It does have a limited multiprocess design, as it can run plugins in their own process, but everything else is run in a single process, running with the full permissions of the user. The full Electrolysis project was put on hold just over two years ago.
 
Work on Electrolysis resumed in January this year, and Mozilla developers have started to talk about it in detail. Nightly builds of Firefox can now be used with multiple processes. Currently, this is still quite limited when compared to Internet Explorer and Chrome. Where those browsers will create a whole bunch of processes (generally around one per tab), Firefox Nightly creates two: one for the browser window and chrome itself, another for all the tab content.
 
The organization still has a lot of work to do before multiprocess support is ready for prime time. While basic browsing and some add-ons work already, others don't. The Firefox developer tools, for example, are non-functional.
 
Substantial work has been done to make Firefox work with multiple processes. In single process Firefox, add-ins and the browser user interface itself can directly access the page structure. With multiple processes, that's no longer possible: the add-ins and user interface exist in one process, the page structure in a separate one. Every such access has to be passed through a message-passing interface that connects the two processes.
 
To ensure that the user interface doesn't hang and remains responsive, those messages are asynchronous—the message sender doesn't wait for the message to actually be received. The result is a design that can be quite a bit more complicated than in single-process Firefox.
 
This message-passing mechanism has been in place since Firefox 4. Add-ins that use it should be in a good position to work with multi-process Firefox. However, not all do, because at the moment, they don't have to. In the meantime, some kind of fallback solution will have to be devised. Firefox has a second system for passing information synchronously between processes which can fill some of the gaps, but ultimately some add-ons may force the use of a single-process browser.
 
Mozilla has also had to change the way content is actually drawn. In traditional single-process Firefox (and, indeed, most software), a single thread is used to handle input events (like mouse clicks, keyboard clicks, and so on), calculate the layout and appearance of the screen, and then submit it to the operating system/GPU to actually draw. In doing so, the different elements of the page (backgrounds, fixed position items, videos, text) are all drawn onto separate layers. The GPU then flattens the layers together to create a composite image.
 
As part of the work done for Firefox OS, this was split into several threads. The main thread still responds to input events and produces the layers, but the work of moving the layers to the GPU and forming the final composite is done on a separate thread.
 
Multi-process Firefox builds on this work. It extends this split approach to all operating systems (not just Firefox OS), and the new approach is now the default on OS X (though not Windows or Linux). In multi-process Firefox, the content process creates the layers. These are then passed back to the main browser process, which sends them to the GPU and composites them.
 
There's no ETA yet for when Electrolysis will be moved to the stable branch of Firefox or turned on by default. Even when the basic development is complete, ensuring that add-ons remain compatible means that it's a complex project with hard problems to solve. Nonetheless, it's good that this progress is being made. When it's finished, it should make Firefox a much more robust, secure browser, and that's a change we should all welcome.
 
~  Peter Bright

7.04.2012

Firefox OS Powered Smartphones Launching Early Next Year

Mobile phones using Firefox OS will be available to buy early next year, Mozilla have announced.

Network carriers supporting the first batch of mobile phones in 2013 will include Sprint, Deutsche Telekom, Etisalat, Smart, Telecom Italia, TelefĂłnica and Telenor.

Firefox OS devices will be ‘built entirely to open web standards’ Mozilla say, ‘where all of the device’s capabilities can be developed as HTML5 applications.’

Early 2013 will see the first Firefox OS phones launch in Brazil, with other markets to follow thereafter.

Firefox OS

Work on a Mozilla-backed mobile operating system has been going on for the last year.

Called ‘Boot to Gecko’, the project tasked itself with ‘allowing HTML5 applications to access the underlying capabilities of a phone, previously only available to native applications.’ in B2G every application on the phone, be it SMS, Camera or dialer, is an HTML5 application.

But will the largely HTML5-driven devices sport a wide enough feature set to be able to compete with the slickness of Android and iOS?

In all honesty I have no idea.

My gut tells me that if RIM, Palm, Bada, Meego and, to an extent, Microsoft can’t make inroads into the two-horse OS race of Android and iOS, then what chance does Mozilla stand?

But the bones of today’s announcement tell a deeper story. We just have to look at where the first devices are being launched: Brazil.

Brazil is an emerging market for smartphones; a place where some 19 million people own one, but where iOS and Android are not the dominant players.

Cheaper, low-end, smartphones rule the roost here. It’s a place where an underdog competitor can get in early and short up marketshare; a place where an open-source OS, coupled with capable but affordable hardware, could really excel.

And Mozilla are acknowledging this. Boot to Gecko has been engineered for ‘entry-level smartphones’, helping to drive adoption across developing markets.

What would make you switch from your current mobile OS to Firefox OS?

~ Joey Sneddon