From 59790cef1a09565e8b6799141cf45455ef2dc752 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 1 Feb 2018 22:06:21 +0000 Subject: Make CFXJSE-created contexts refer to their CFXJS counteparts. Bug: 773229 Change-Id: Ic3774c7f6abe3a195bbe09b91d91c549d4d7ac46 Reviewed-on: https://pdfium-review.googlesource.com/25110 Reviewed-by: dsinclair Commit-Queue: Tom Sepez --- fpdfsdk/fpdfview_embeddertest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fpdfsdk') diff --git a/fpdfsdk/fpdfview_embeddertest.cpp b/fpdfsdk/fpdfview_embeddertest.cpp index cca77c9031..47d02235ef 100644 --- a/fpdfsdk/fpdfview_embeddertest.cpp +++ b/fpdfsdk/fpdfview_embeddertest.cpp @@ -347,6 +347,10 @@ TEST_F(FPDFViewEmbeddertest, Hang_298) { EXPECT_FALSE(OpenDocument("bug_298.pdf")); } +TEST_F(FPDFViewEmbeddertest, Crasher_773229) { + EXPECT_TRUE(OpenDocument("bug_773229.pdf")); +} + // Test if the document opens without infinite looping. // Previously this test will hang in a loop inside LoadAllCrossRefV4. After // the fix, LoadAllCrossRefV4 will return false after detecting a cross -- cgit v1.2.3