Bug 1078665: Ignore exceptions thrown out of getBrowserForDocument.
Merge pull request #1673 from Mossop/bug1078665

Bug 1078665: Ignore exceptions thrown out of getBrowserForDocument. r=zombie