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 b05652ca97 [api-minor] Let getAnnotations fetch all annotations by default, unless an intent is specified
Currently `getAnnotations` will *only* fetch annotations that are either `viewable` or `printable`. This is "hidden" inside the `core.js` file, meaning that API consumers might be confused as to why they are not recieving *all* the annotations present for a page.

I thus think that the API should, by default, return *all* available annotations unless specifically told otherwise. In e.g. the default viewer, we obviously only want to display annotations that are `viewable`, hence this patch adds an `intent` parameter to `getAnnotations` that makes it possible to decide if only `viewable` or `printable` annotations should be fetched.
2015-11-22 15:51:37 +01:00
..
features Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
font Move text layer building logic into src/display/text_layer.js 2015-11-19 10:50:27 -06:00
pdfs Replace the unavailable linked test-case for issue 1055 with a reduced test-case 2015-11-18 13:48:44 +01:00
resources Merge pull request #5905 from timvandermeij/specialpowers 2015-04-27 10:36:54 -07: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 [api-minor] Let getAnnotations fetch all annotations by default, unless an intent is specified 2015-11-22 15:51:37 +01:00
.gitignore Ignore test snapshots directory. 2013-03-15 11:24:08 -07:00
downloadutils.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
driver.js Better "text" testing. 2015-11-19 11:03:52 -06:00
test.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
test_manifest.json Better "text" testing. 2015-11-19 11:03:52 -06:00
test_slave.html Move text layer building logic into src/display/text_layer.js 2015-11-19 10:50:27 -06: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