mozilla/pdf.js — pull request #4826 by dferer (2014-05-22 12:55:29+00:00)
Title: Wrapped localstorage.setItem in try block to avoid uncaught exceptions.

Example: QuotaExceededError (iOS simulators)