mozilla/pdf.js — Issue #866: Error report: Better copy support for error report
Author: jviereck
Created: 2011-12-04 17:51:03+00:00
State: open

Select and copy the error output from the error report in the PDF.JS viewer/extension results in something like this:

PDF.JS Build: PDFJSSCRIPT_BUNDLE_VER Message: this.encoding is null Stack: fonts_charToGlyph(32)@chrome://pdf.js/content/build/pdf.js:14220 fonts_chars2Glyphs(" ")@chrome://pdf.js/content/build/pdf.js:14303 canvasGetTextGeometry()@chrome://pdf.js/content/build/pdf.js:1552 canvasGraphicsShowText("C")@chrome://pdf.js/content/build/pdf.js:1603 canvasGraphicsExecuteIRQueue([object Object],0,next)@chrome://pdf.js/content/build/pdf.js:1202 next()@chrome://pdf.js/content/build/pdf.js:263 pageDisplay([object Object],pageViewDrawCallback)@chrome://pdf.js/content/build/pdf.js:270 pageSetTimeout(4)@chrome://pdf.js/content/build/pdf.js:186

It would be better to have line breaks, that survive coping. Maybe use an textarea for the output?