[tests] Remove use of dynamic property Parser::$static_tag_buf
commit93f0648a35545f6b4c54e24c695a122503d442f3
authorC. Scott Ananian <cscott@cscott.net>
Thu, 22 Feb 2024 21:02:19 +0000 (22 16:02 -0500)
committerC. Scott Ananian <cscott@cscott.net>
Thu, 22 Feb 2024 21:02:19 +0000 (22 16:02 -0500)
tree9a32d9aa7e1f121af32343cf33744cd97996738f
parent19f444618d2b4b7053a1ca30921534e938a6d3ec
[tests] Remove use of dynamic property Parser::$static_tag_buf

There are only two test cases using the <statictag> tag extension and
it's no longer entirely clear what regression they were intended to
prevent.

In any case, we can use ParserOutput to maintain our parser state
instead of the dynamic Parser::$static_tag_buf property.  That's not a
perfect solution -- T300979 says at some point in the future we won't
guarantee parse order -- but it will work for now.

Bug: T357838
Change-Id: Ia23049fc729c90a94fc16231ad89c199db5b7bc9
tests/parser/ParserTestParserHook.php