0
Files
src/pdf
Lei Zhang ea1f4e1ea1 Avoid V8 access inside PDFiumFormFiller when JS is disabled
In PDFiumFormFiller::EngineInIsolateScopeFactory, check the ScriptOption
and avoid calling v8::Isolate::TryGetCurrent() if the option value is
kNoJavaScript.

Also fix a typo in pdfium_form_filler.h.

Change-Id: I59600b7222611ce6fa367191eff14d9524312066
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5113262
Commit-Queue: Lei Zhang <thestig@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1236120}
2023-12-12 02:46:02 +00:00
..

//pdf contains the PDF plugin, its Blink-based replacement, as well as PDF utility functions that leverage PDFium. It can use low-level components that live below the content layer, as well as other foundational code like //printing. It should not use //content or anything in //components that lives above the content layer. Code that lives above the content layer should live in //components/pdf, or in the embedder. All the code here should run in sandboxed child processes.

TODO(crbug.com/1220865): Remove existing //content dependencies.