1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/test
Jonas Jenwald 3a105e37f4 Ensure that test/driver.js actually takes the same Annotation code-path as the viewer when running forms tests (PR 7633 follow-up)
Unfortunately PR 7633 missed, and I didn't catch it during review, to update `test/driver.js` such that the `forms` tests takes the correct code-path.
This resultet in the `forms` reference test images looking better than they should, and more problematicly differing from the rendering in the viewer.

With this patch, the tests now correctly skip over any `Appearance` streams.
The `forms` tests now highlights quite clearly (e.g. look at `annotation-tx2.pdf`/`annotation-tx3.pdf`) that we cannot just skip the `Appearance` streams when rendering forms. Hence we're going to have to find a way to fix that *before* enabling forms by default, since both display *and* print would look completely wrong otherwise.
Finally, this patch also uncovers one more existing bug that still needs to be fixed, since the current `rasterizeAnnotationLayer` in `test/driver.js` isn't able to handle the contents of e.g. `<input>` and `<textarea>`.
2016-09-21 12:21:20 +02:00
..
chromium Add opt-out telemetry to the Chrome extension 2016-06-03 20:36:57 +02:00
features Remove the deprecated mozDash/mozDashOffset canvas 2D context methods 2016-09-15 10:05:40 +02:00
font Updates Jasmine version. 2016-03-29 09:34:13 -05:00
pdfs Merge pull request #7639 from Snuffleupagus/bug-1252420 2016-09-20 11:56:47 -07:00
resources Remove 'use strict'; causing failure and unused prefs. 2016-01-14 13:23:48 -08:00
stats cleaned whitespace 2015-02-17 11:07:37 -05:00
ttx Update fonttools location and version (issue 6223) 2015-07-17 12:51:09 +02:00
unit Text widget annotations: improve unit and reference tests 2016-09-17 15:24:48 +02:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
annotation_layer_test.css Text widget annotations: improve unit and reference tests 2016-09-17 15:24:48 +02:00
downloadutils.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
driver.js Ensure that test/driver.js actually takes the same Annotation code-path as the viewer when running forms tests (PR 7633 follow-up) 2016-09-21 12:21:20 +02:00
test.js Allow unit-tests to use linked PDF files, by having the unittest command download unavailable ones (issue 7117) 2016-03-27 13:17:55 +02:00
test_manifest.json Merge pull request #7639 from Snuffleupagus/bug-1252420 2016-09-20 11:56:47 -07:00
test_slave.html Move all PDFJS.xxx settings into display/global. 2016-04-07 13:46:07 -05:00
testutils.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
text_layer_test.css Better "text" testing. 2015-11-19 11:03:52 -06:00
webbrowser.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
webserver.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30