From bfa2a97ca9f5026ceb8e8c2ce23cfc3c3e8b38a1 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 24 Jul 2017 11:38:31 -0700 Subject: Observe Annot destruction in CPDFSDK_PageView::DeleteAnnot Run test XFA-Only, since that's where the issue occurs, and the textual output is different for non-xfa. Fix a few lifetime issue in pdfium_test.cc unearthed by this test (doc must outlive pages now held in formfill info). Bug: 735912 Change-Id: Icc9e6a967c32ece67d897117896c973bb16a1515 Reviewed-on: https://pdfium-review.googlesource.com/8510 Commit-Queue: Tom Sepez Reviewed-by: dsinclair --- testing/resources/javascript/bug_735912_expected.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 testing/resources/javascript/bug_735912_expected.txt (limited to 'testing/resources/javascript/bug_735912_expected.txt') diff --git a/testing/resources/javascript/bug_735912_expected.txt b/testing/resources/javascript/bug_735912_expected.txt new file mode 100644 index 0000000000..7d0f42f517 --- /dev/null +++ b/testing/resources/javascript/bug_735912_expected.txt @@ -0,0 +1,2 @@ +Alert: removed +Alert: focused -- cgit v1.2.3