summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-02 21:23:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-02 21:23:50 +0000
commit04c2dbb1908006830b6ee45ea85f6cde1a9fc4cb (patch)
tree9e8cbf4cf55887dbfe7e8a634bc69a5b07c8cc2a /testing
parent7f47c50227fb4af93b58c6687786130c42b76333 (diff)
downloadpdfium-04c2dbb1908006830b6ee45ea85f6cde1a9fc4cb.tar.xz
Remove ability to delete annot in CJS_Document::removeField()
This path has only been present under XFA, and has resulted in several bugs, including the referenced one. There is a breakage in some XFA functionality, but I'm not confident we can do this without re-engineering all of fpdfsdk widget ownership. Bug: 891210 Change-Id: I5aa158fa5359b1c8338046eefb25fb25df9ace48 Reviewed-on: https://pdfium-review.googlesource.com/c/43311 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r--testing/resources/javascript/bug_679642_expected.txt1
-rw-r--r--testing/resources/javascript/bug_679643_expected.txt1
-rw-r--r--testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt2
3 files changed, 1 insertions, 3 deletions
diff --git a/testing/resources/javascript/bug_679642_expected.txt b/testing/resources/javascript/bug_679642_expected.txt
index 9e99cc6883..b576eaeced 100644
--- a/testing/resources/javascript/bug_679642_expected.txt
+++ b/testing/resources/javascript/bug_679642_expected.txt
@@ -1,3 +1,2 @@
Alert: Starting ...
Alert: Firing ...
-Alert: failed: Field.page: Object no longer exists.
diff --git a/testing/resources/javascript/bug_679643_expected.txt b/testing/resources/javascript/bug_679643_expected.txt
index 36d4a31344..b576eaeced 100644
--- a/testing/resources/javascript/bug_679643_expected.txt
+++ b/testing/resources/javascript/bug_679643_expected.txt
@@ -1,3 +1,2 @@
Alert: Starting ...
Alert: Firing ...
-Alert: failed: Annot.name: Object no longer exists.
diff --git a/testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt b/testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt
index d4cc4424d3..335a4e2876 100644
--- a/testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt
+++ b/testing/resources/javascript/xfa_specific/resolve_nodes_1_expected.txt
@@ -1 +1 @@
-: \Find 1 items
+: Find 12 items