[B2G] UI tweak for multi-resolution devices support on B2G
Tweak the behaviour of navigateTo during document load
Bug 879211: ignoring bad document outline reference
Improves search of EI (end of inlined image)
Fixes missing compressed object detection
Bug 874851: ignoring bad stream length
Bug 861638: ignoring double-EI
#3248: fixes hp scanner's bad XRef
#2098: scanning for stream length when it's incorrect
#1277: ignoring error for bad "empty" block
Refactoring TTF repair logic
Cache fonts by reference.
Implements FFC1 marker (and syncs with jpgjs)
Handle annotations with no resources.
Removes AES padding
Merge pull request #3374 from yurydelendik/ei-search

Improves search of EI (end of inlined image)
Merge pull request #3378 from yurydelendik/aes-padding

Removes AES padding
Merge pull request #3393 from brendandahl/no-resources

Handle annotations with no resources.
Adds test for issue 3371 and enables testing with password.
Fix notdef typo.