blob: 1d4289845ed86bf49f2beca7a74179de4cfc9461 [file] [log] [blame]
// Copyright 2019 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/xfa_js_embedder_test.h"
class CJX_HostPseudoModelEmbedderTest : public XFAJSEmbedderTest {};
// Should not crash.
TEST_F(CJX_HostPseudoModelEmbedderTest, BUG_1256) {
ASSERT_TRUE(OpenDocument("simple_xfa.pdf"));
EXPECT_TRUE(Execute("$host.openList(1)"));
}