Tweak the behaviour of navigateTo during document load
Refactoring TTF repair logic
Remove old -moz prefixed rules from viewer.css
Implements reparing of CFF table
Fail if other font types are found
Enforces trailing spaces
Merge pull request #3428 from yurydelendik/enforce-trailing

Enforces trailing spaces
[Chrome extension] Added JSDocs to pdfHandler.js

And a small refactor to reduce the LOC in the onHeadersReceived
callback, to improve the readability of the code.
[CRX] Don't intercept download of PDF attachment

Fixes #3426
Removes browser decoding optimization for JPEG CMYK
Takes SMask's preblending in account
Syncing order of JS files in viewer.html and make.js. See #3414
Remove caching of stream data and fix object loader for streams.
Allow scrolling by keyboard in Chrome/Opera

Set "tabindex" attribute to allow focus;
Added "outline: none" to prevent focus ring from appearing.

Fixes #3443
[Browsing history] Remove 'beforeunload' to enable caching and prevent duplicate entries
Bug 879161 - Fix pdf.js mimetype check.
Tests for OpenType fonts
lookChar refactoring
Merge pull request #3386 from yurydelendik/ttf-refactor

Refactoring of TrueType code and implementation of OpenType font repairing
Configurable IMAGE_DIR for annotations

The Chrome extension activates PDF.js by inserting the script tags
in a document whose URL and location origin is identical to the PDF
file.
Because of this, the path './images/' was resolved relatively to the
location of the PDF file instead of the extension.

To fix this, the IMAGE_DIR constant is moved outside the local scope,
to allow extensions/chrome/insertviewer.js to override the value.

Originally, the IMAGE_DIR variable was a global variable, but commit
f8f4b3f45dc6ff5f5b2572b5387389db33616be3 moved the global variable
to the local scope, causing the extension to malfunction.

Impact: low, the only consequence is that some rarely used images
were not visible.

Trivial test:
At the center of page 2, the annotation icon
(images/annotation-comment.svg) should be visible:
http://linorg.usp.br/CTAN/macros/latex/contrib/pdfcomment/doc/pdfcomment.pdf