blob: a9b5427fe24682f14d4530c8d5ea8a91659a383a [file] [log] [blame] [edit]
// Copyright 2019 The PDFium Authors
// 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 CJXListEmbedderTest : public XFAJSEmbedderTest {};
// Should not crash.
TEST_F(CJXListEmbedderTest, Bug1263) {
ASSERT_TRUE(OpenDocument("simple_xfa.pdf"));
EXPECT_FALSE(Execute("nodes.insert($form,$)"));
}