New issue
Advanced search Search tips

Issue 867135 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocked on:
issue 876505
issue 872899
issue 872903
issue 872907

Blocking:
issue 62400



Sign in to add a comment

PDF XFA: Validate button does not generate new page with barcode

Project Member Reported by hnakashima@chromium.org, Jul 24

Issue description

In an XFA-enabled build:
1. Open the attached imm5257e_filled_dummy.pdf.
2. Press the Validate button.

Expected: a new page 6 appears with a barcode.
Actual: nothing happens. In debug, a message saying "JS Error: TypeError: console.show is not a function" appears.
 
imm5257e_filled_dummy.pdf
662 KB Download
Owner: hnakashima@chromium.org
Status: Assigned (was: Available)
The "console.show()" message is a symptom, since it's called in the catch block of validateCompletedForm() when anything goes wrong. console.show() seems to be an Adobe Acrobat-specific thing, it does not appear in the scripting API.
Blockedon: 872893
Blockedon: 872899
Blockedon: 872903
Blockedon: 872907
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 20

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0cb6b59e39bce4769dfda830cf435b4400086ffd

commit 0cb6b59e39bce4769dfda830cf435b4400086ffd
Author: Henrique Nakashima <hnakashima@chromium.org>
Date: Mon Aug 20 18:46:15 2018

Handle FFI_PageEvent from PDFium in PDF Viewer.

Add or remove pages from the viewer in response to these events.

Bug:  pdfium:401 , chromium:872903 ,chromium:867135
Change-Id: Iddc88c5a90370213619a0f3f2587f215d0dafbc8
Reviewed-on: https://chromium-review.googlesource.com/1169691
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584515}
[modify] https://crrev.com/0cb6b59e39bce4769dfda830cf435b4400086ffd/pdf/pdfium/pdfium_engine.cc
[modify] https://crrev.com/0cb6b59e39bce4769dfda830cf435b4400086ffd/pdf/pdfium/pdfium_engine.h
[modify] https://crrev.com/0cb6b59e39bce4769dfda830cf435b4400086ffd/pdf/pdfium/pdfium_form_filler.cc
[modify] https://crrev.com/0cb6b59e39bce4769dfda830cf435b4400086ffd/pdf/pdfium/pdfium_form_filler.h

Blockedon: 876505
Blockedon: -872893
When I bypass the isNull error by editing the PDF and working around it, this works. So this is not a case of we're seeing the tip of the iceberg, it's actually only blocked in one more issue.
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment