mozilla/pdf.js — pull request #1780 by yurydelendik (2012-05-31 14:52:54+00:00)
Title: Suppresses failure if locale strings are not available

If locale resources/strings are not available, the getSimpleEnumeration fails(). It's easy to see on regular extension if https://github.com/mozilla/pdf.js/blob/master/make.js#L105 is disabled.

That catches any failures, logs them, and assumes that no strings are read.