tree: 674ef452f0360dccf480d6684eaf0ac78eea123d [path history] [tgz]
  1. blank_image-expected-with-pdf-searchify-win.txt
  2. blank_image-expected-with-pdf-searchify.txt
  3. blank_image-expected-without-pdf-searchify-win.txt
  4. blank_image-expected-without-pdf-searchify.txt
  5. blank_image.in
  6. blank_image.pdf
  7. directional-text-runs-expected-auralinux.txt
  8. directional-text-runs-expected-blink.txt
  9. directional-text-runs-expected-mac.txt
  10. directional-text-runs-expected-uia-win.txt
  11. directional-text-runs-expected-win.txt
  12. directional-text-runs.in
  13. directional-text-runs.pdf
  14. drop-cap-expected.txt
  15. drop-cap.in
  16. drop-cap.pdf
  17. font-change-expected.txt
  18. font-change.in
  19. font-change.pdf
  20. hello-world-expected-auralinux.txt
  21. hello-world-expected-blink.txt
  22. hello-world-expected-mac.txt
  23. hello-world-expected-uia-win.txt
  24. hello-world-expected-win.txt
  25. hello-world-in-image-expected-with-pdf-searchify.txt
  26. hello-world-in-image-expected-without-pdf-searchify-win.txt
  27. hello-world-in-image-expected-without-pdf-searchify.txt
  28. hello-world-in-image.pdf
  29. hello-world.in
  30. hello-world.pdf
  31. highlights-expected-auralinux.txt
  32. highlights-expected-blink.txt
  33. highlights-expected-mac.txt
  34. highlights-expected-uia-win.txt
  35. highlights-expected-win.txt
  36. highlights-expected.txt
  37. highlights.in
  38. highlights.pdf
  39. image_alt_text-expected-auralinux.txt
  40. image_alt_text-expected-blink.txt
  41. image_alt_text-expected-mac.txt
  42. image_alt_text-expected-uia-win.txt
  43. image_alt_text-expected-win.txt
  44. image_alt_text.in
  45. image_alt_text.pdf
  46. inaccessible-text-in-three-page-expected-with-pdf-searchify.txt
  47. inaccessible-text-in-three-page-expected-without-pdf-searchify-win.txt
  48. inaccessible-text-in-three-page-expected-without-pdf-searchify.txt
  49. inaccessible-text-in-three-page.pdf
  50. multi-page-expected-auralinux.txt
  51. multi-page-expected-blink.txt
  52. multi-page-expected-mac.txt
  53. multi-page-expected-uia-win.txt
  54. multi-page-expected-win.txt
  55. multi-page.in
  56. multi-page.pdf
  57. next-on-line-expected.txt
  58. next-on-line.in
  59. next-on-line.pdf
  60. overlapping-annots-expected.txt
  61. overlapping-annots.in
  62. overlapping-annots.pdf
  63. overlapping-links-expected-auralinux.txt
  64. overlapping-links-expected-blink.txt
  65. overlapping-links-expected-mac.txt
  66. overlapping-links-expected-uia-win.txt
  67. overlapping-links-expected-win.txt
  68. overlapping-links.in
  69. overlapping-links.pdf
  70. paragraphs-and-heading-untagged-expected-auralinux.txt
  71. paragraphs-and-heading-untagged-expected-blink.txt
  72. paragraphs-and-heading-untagged-expected-mac.txt
  73. paragraphs-and-heading-untagged-expected-uia-win.txt
  74. paragraphs-and-heading-untagged-expected-win.txt
  75. paragraphs-and-heading-untagged-expected.txt
  76. paragraphs-and-heading-untagged.in
  77. paragraphs-and-heading-untagged.pdf
  78. readme.md
  79. superscript-subscript-expected.txt
  80. superscript-subscript.in
  81. superscript-subscript.pdf
  82. text-direction-expected-blink.txt
  83. text-direction.in
  84. text-direction.pdf
  85. text-image-link-expected-auralinux.txt
  86. text-image-link-expected-mac.txt
  87. text-image-link-expected-uia-win.txt
  88. text-image-link-expected-win.txt
  89. text-image-link-expected.txt
  90. text-image-link.in
  91. text-image-link.pdf
  92. text-run-style-heuristic-expected-auralinux.txt
  93. text-run-style-heuristic-expected-blink.txt
  94. text-run-style-heuristic-expected-mac.txt
  95. text-run-style-heuristic-expected-uia-win.txt
  96. text-run-style-heuristic-expected-win.txt
  97. text-run-style-heuristic.in
  98. text-run-style-heuristic.pdf
  99. text-style-expected-auralinux.txt
  100. text-style-expected-blink.txt
  101. text-style-expected-mac.txt
  102. text-style-expected-uia-win.txt
  103. text-style-expected-win.txt
  104. text-style.in
  105. text-style.pdf
  106. text_fields-expected-auralinux.txt
  107. text_fields-expected-blink.txt
  108. text_fields-expected-mac.txt
  109. text_fields-expected-uia-win.txt
  110. text_fields-expected-win.txt
  111. text_fields-expected.txt
  112. text_fields.in
  113. text_fields.pdf
  114. three-page.in
  115. twenty-page.in
  116. weblinks-expected-auralinux.txt
  117. weblinks-expected-blink.txt
  118. weblinks-expected-mac.txt
  119. weblinks-expected-uia-win.txt
  120. weblinks-expected-win.txt
  121. weblinks-expected.txt
  122. weblinks.in
  123. weblinks.pdf
  124. whitespace-expected.txt
  125. whitespace.in
  126. whitespace.pdf
  127. xfa_fields-expected-auralinux.txt
  128. xfa_fields-expected-blink.txt
  129. xfa_fields.in
  130. xfa_fields.pdf
chrome/test/data/pdf/accessibility/readme.md

PdfExtensionAccessibilityTreeDumpTest

A PdfExtensionAccessibilityTreeDumpTest loads a PDF file, waits for it to load, then dumps the accessibility tree. More about accessibility tree dump tests at content/test/data/accessibility/readme.md.

Filters and directives

Please refer to content/test/data/accessibility/readme.md to see how to use filters. Supported filters and directives are:

  • [x] @<platform>-ALLOW:
  • [ ] @<platform>-ALLOW-EMPTY:
  • [ ] @<platform>-DENY:
  • [ ] @WAIT-FOR:

The PdfExtensionAccessibilityTreeDumpTest implementation of extra directives/filters is similar to the DumpAccessibilityTreeTest. If you need to support additional directives/filters, see /src/content/test/data/accessibility/readme.md to respect the same interface as the one used for HTML accessibility tree dump tests.

Implementation details for parsing extra directives in HTML can be found in DumpAccessibilityTestBase::ParseHtmlForExtraDirectives().