I\'m having troubles in finding a solution for this:
I retrieve a PDF blob from a SQL filestream field using Javascript in this way (it\'s a lightswitch project)
var url = URL.createObjectURL(blob);
var viewerUrl = 'web/viewer.html?file=' + encodeURIComponent(url);
// TODO: Load the PDF.js viewer in a frame or new tab/window.
//-- Abobe code opens a new window but with errors : 'Missing PDF
// blob://http://server-addr:port/converted-blob'