Feeds

Mozilla girds Firefox with 'hang detector'

They're down with OOPP. And then some

  • alert
  • submit to reddit

Internet Security Threat Report 2014

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. ®

Beginner's guide to SSL certificates

More from The Register

next story
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
You stupid BRICK! PCs running Avast AV can't handle Windows fixes
Fix issued, fingers pointed, forums in flames
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
Soz, web devs: Google snatches its Wallet off the table
Killing off web service in 3 months... but app-happy bonkers are fine
First in line to order a Nexus 6? AT&T has a BRICK for you
Black Screen of Death plagues early Google-mobe batch
prev story

Whitepapers

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
Driving business with continuous operational intelligence
Introducing an innovative approach offered by ExtraHop for producing continuous operational intelligence.
5 critical considerations for enterprise cloud backup
Key considerations when evaluating cloud backup solutions to ensure adequate protection security and availability of enterprise data.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?