mozilla/pdf.js — pull request #788 by jviereck (2011-11-10 17:40:21+00:00)
Title: Disable web worker on firefox 8-9 localhost using feature detection

This turns on worker support by default, but turns it off again if there is an exception while creating the worker. This is necessary, as on Firefox 8-9 creating a worker from a `localhost://` url throws an error.

This does **not** turn on worker support for the tests. It's turned off explicit.

See meta issue #782.