K. Moon | 832a694 | 2022-10-31 20:11:31 +0000 | [diff] [blame] | 1 | // Copyright 2019 The PDFium Authors |
Lei Zhang | 15c0b1e | 2019-03-05 19:54:16 +0000 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "testing/gtest/include/gtest/gtest.h" |
| 6 | #include "testing/xfa_js_embedder_test.h" |
| 7 | |
| 8 | class CFXJSE_AppEmbedderTest : public XFAJSEmbedderTest {}; |
| 9 | |
| 10 | // Should not crash. |
| 11 | TEST_F(CFXJSE_AppEmbedderTest, BUG_1252) { |
| 12 | ASSERT_TRUE(OpenDocument("simple_xfa.pdf")); |
| 13 | |
| 14 | EXPECT_FALSE(Execute("app.activeDocs()")); |
| 15 | } |