blob: 09c3d1ea7603363ea5549c16048133a0c0d88200 [file] [log] [blame]
// 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 CPDFXFA_DocEnvironmentEmbedderTest : public XFAJSEmbedderTest {};
// Should not crash.
TEST_F(CPDFXFA_DocEnvironmentEmbedderTest, BUG_1223) {
ASSERT_TRUE(OpenDocument("simple_xfa.pdf"));
EXPECT_FALSE(Execute("URL=y"));
}