mozilla/pdf.js — pull request #1488 by brendandahl (2012-04-04 19:14:03+00:00)
Title: Make Dict handle all the fetching of Refs.

Now dict.get() will automatically deference refs. Not remembering to do xref.fetchIfRef has been the source of several bugs so hopefully this will help avoid that. I played around with doing this for Arrays too, but it proved to be a pretty large change, so I'll do that in another PR if I'm motivated (see # 1487 if you're interested in learning more).

Fixes #1447, #1370.