http://andreasgal.com/2011/06/15/pdf-js/
소스에서 특이한 부분을 봤는데
document.title = url;
req = new XMLHttpRequest();
req.open("GET", url);
req.mozResponseType = req.responseType = "arraybuffer";
req.expected = (document.URL.indexOf("file:") == 0) ? 0 : 200;
req.onreadystatechange = xhrstate;
req.send(null);
arraybuffer 라는 리스폰스 타입으로 요청함.
그러니깐 바이너리 파일도 읽어옮.
pdf-js 속에서는 바이너리를 풀어사용하는 코드가 있음.