| commit | afff143e8e93d68b81bcc81adc0792c7ffa5cb3c | [log] [tgz] |
|---|---|---|
| author | Valerie Young <spectranaut@igalia.com> | Tue Oct 07 21:16:07 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 07 21:16:07 2025 |
| tree | 3ba669517e63a582b6f0c42b52f647ef0d3c9734 | |
| parent | 69cbfc0ed2b77c9d2a2a0c2f0356398ebca90751 [diff] |
[Export Tagged PDFs] Extend structured PDF testing to include attributes Objects in PDF can have attributes, and although we write some of these attribute, we do not test the output. This CL extends the algorithm used to produce JSON of the structure data used for testing to include attribute data. Also added new overloads for CallPDFiumWideStringBufferApiAndReturnOptional and CallPDFiumStringBufferApiAndReturnOptional to handle the PDFium API patterns related to attribute name strings and attribute value strings. Bug: 443772810 Change-Id: Ia80b45a328264c06d3aedde813df6cadaa902faa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6981634 Reviewed-by: David Tseng <dtseng@chromium.org> Reviewed-by: Peter Kvitek <kvitekp@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Valerie Young <spectranaut@igalia.com> Cr-Commit-Position: refs/heads/main@{#1526523}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.