Feeds

Firefox alpha dons Flash flak jacket

Ditto 'elite' Jobsian beta testers

Build a business case: developing custom apps

Mozilla has pushed out a Firefox developer preview that runs Adobe Flash and other plug-ins as a separate process, hoping to prevent crashing plug-ins from crashing the browser proper.

The move comes as Apple Insider reports that Steve Jobs and cult have asked a group of "elite" testers to kick the proverbial tires on a new version of Safari that includes some sort of Flash crash protection.

Mozilla's new developer preview is the second "pre-release" version of the open source outfit's Gecko 1.9.3 rendering engine. Today's official Firefox offering - version 3.6 - uses Gecko 1.9.2.

You can download the new developer preview here.

The main addition to the platform is support for what Mozilla calls "out-of-process plug-ins," or OOPP. With OOPP, a shim layer executes the Firefox plug-in API, separating plug-ins from the system process where the core-browser executes. Mozilla has done "a fair bit of testing" with Flash and Silverlight, but it's designed to work with other plug-ins as well.

If a plug-in crashes, Firefox puts up a page that says as much and submits a crash report back to Mozilla. The plug-in then relaunches when you reload the page. According to a blog post from Mozilla's Benjamin Smedberg, the company made a conscious decision not to reload plug-ins automatically.

"Web page scripts often have state associated with a plugin," he writes. "If we reload the plugin without reloading the entire page, those scripts will have unexpected state and can get very confused. Overall, it causes fewer problems for the user to simply refresh the page."

Currently, OOPP is only available on Windows and Linux, but a Mac version will be available "soon," Smedberg says. "MacOS presents some unique challenges. The traditional drawing and interaction model for plugins is very difficult to do across processes. We are working on Mac support for multi-process plugins, and hope to have a preview of this work available soon."

OOPP is also planned from an upcoming update to Firefox 3.6 dubbed 'Lorentz'.

In addition to offering OOPP, the new developer preview includes tweaks to the Firefox SpiderMonkey JavaScript engine, including "improved" handling, faster closures, and "some support" for recursion in TraceMonkey, the SpiderMonkey extension that speeds performance by converting code loops into assembly code. Separately, Mozilla is developing a complementary extension called JaegerMonkey designed to improve performance when code can't be "traced".

Meanwhile, "elite" Apple beta testers tell Apple Insider that a new Safari 4.0.5 beta includes a "much improved" plug-in manager designed to reduce the number of crashes caused by plug-ins, including Adobe Flash. In January, during an Apple "town hall" meeting, Steve Jobs said that "Whenever a Mac crashes more often than not it’s because of Flash," launching an almighty war of words over Adobe's widely-used plug-in. Jobs will not allow Flash on either the iPhone or the imminent iPad.

Google's Chrome browser runs plug-ins as separate processes, and Mozilla has lifted Google code from the open-source Chromium project for its OOPP. The current Mozilla developer preview will eventually make its way to world+dog as Firefox 4.0. ®

Bridging the IT gap between rising business demands and ageing tools

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.