129 static const char kInput[] =
131 "<?originalXFAVersion http://www.xfa.org/schema/xfa-template/2.7 "
132 "v2.7-scripting:1 ?>\n"
133 "<?acrobat JavaScript strictScoping ?>\n"
136 EXPECT_FALSE(GetDoc()->is_scripting());
137 EXPECT_FALSE(GetDoc()->is_strict_scoping());
140 pdfium::MakeRetain<CFX_ReadOnlySpanStream>(pdfium::as_byte_span(kInput));
144 EXPECT_TRUE(GetDoc()->is_scripting());
145 EXPECT_TRUE(GetDoc()->is_strict_scoping());