Feeds

Mozilla girds Firefox with 'hang detector'

They're down with OOPP. And then some

  • alert
  • submit to reddit

Boost IT visibility and business value

The next version of Firefox will include a "hang detector" that automatically terminates plug-ins that quit talking to the outside world.

Set to arrive next week - after a bit of a delay – Firefox 3.6.4 is designed to minimize crashes by running Flash, Silverlight, Java, and other plug-ins as processes separate from the core browser. Mozilla calls this OOPP, for out-of-process plug-ins, and as part of this effort, says Firefox man Benjamin Smedberg in a blog post, the open sourcers have also included their hang detector.

If a plug-in process takes more than 10 second to respond to a call, Firefox will terminate the process and display the OOPP "crash" UI that gives the user the opportunity to reload the plug-in. This UI also pops up when a plug-in process, well, crashes. The plug-in will not relaunch unless you reload the page.

"Web page scripts often have state associated with a plugin," Smedberg said in an earlier blog post on OOPP. "If we reload the plugin without reloading the entire page, those scripts will have an unexpected state and can get very confused. Overall, it causes fewer problems for the user to simply refresh the page."

The hang detector takes care of plug-ins when a script gets caught in an infinite loop or if Firefox's own OOPP tech causes a plug-in deadlock. If you're developer doing debug work, you can change the hang-detector's timeout period or disable it entirely here by visiting "about:config" via the Firefox address bar and changing the preference "dom.ipc.plugins.timeoutSecs." Setting the value to -1 disables the hang detector. ®

Boost IT visibility and business value

More from The Register

next story
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Mozilla keeps its Beard, hopes anti-gay marriage troubles are now over
Plenty on new CEO's todo list – starting with Firefox's slipping grasp
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
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Cloudy CoreOS Linux distro declares itself production-ready
Lightweight, container-happy Linux gets first Stable release
prev story

Whitepapers

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.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Backing up Big Data
Solving backup challenges and “protect everything from everywhere,” as we move into the era of big data management and the adoption of BYOD.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.