Sync for validator/cpp/engine (#32372)
Sync for validator/cpp/engine (#32372)

* Update internal unit test

PiperOrigin-RevId: 352801984

* Allow `@-moz-document`

PiperOrigin-RevId: 352843044

* Internal changes

PiperOrigin-RevId: 354323999

Co-authored-by: Googler <1505422b2465e9a84f6fdfaa161078890c593f06@google.com>
Co-authored-by: Greg Grothaus <9d199d4f3b827b715d4492aa27f3b2bc45ca074f@google.com>
danielrozenberg/amphtml,ampproject/amphtml,rsimha-amp/amphtml,media-net/amphtml,voyagegroup/amphtml,sharethrough/amphtml,Gregable/amphtml,prateekbh/amphtml,nexxtv/amphtml,ampproject/amphtml,honeybadgerdontcare/amphtml,nexxtv/amphtml,honeybadgerdontcare/amphtml,voyagegroup/amphtml,lannka/amphtml,ampproject/amphtml,jridgewell/amphtml,media-net/amphtml,danielrozenberg/amphtml,smartadserver/amphtml,Gregable/amphtml,honeybadgerdontcare/amphtml,Gregable/amphtml,Gregable/amphtml,alanorozco/amphtml,jridgewell/amphtml,Gregable/amphtml,jpettitt/amphtml,danielrozenberg/amphtml,lannka/amphtml,mhc-gh/amphtml,alanorozco/amphtml,lannka/amphtml,sharethrough/amphtml,prateekbh/amphtml,prateekbh/amphtml,sharethrough/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,media-net/amphtml,Gregable/amphtml,jridgewell/amphtml,danielrozenberg/amphtml,jridgewell/amphtml,media-net/amphtml,danielrozenberg/amphtml,jridgewell/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,jpettitt/amphtml,mhc-gh/amphtml,voyagegroup/amphtml,mhc-gh/amphtml,jridgewell/amphtml,voyagegroup/amphtml,honeybadgerdontcare/amphtml,alanorozco/amphtml,mhc-gh/amphtml,lannka/amphtml,prateekbh/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,prateekbh/amphtml,rsimha-amp/amphtml,jpettitt/amphtml,nexxtv/amphtml,alanorozco/amphtml,prateekbh/amphtml,nexxtv/amphtml,danielrozenberg/amphtml,mhc-gh/amphtml,media-net/amphtml,jpettitt/amphtml,rsimha-amp/amphtml,mhc-gh/amphtml,honeybadgerdontcare/amphtml,media-net/amphtml,alanorozco/amphtml,smartadserver/amphtml,prateekbh/amphtml,mhc-gh/amphtml,Gregable/amphtml,nexxtv/amphtml,smartadserver/amphtml,danielrozenberg/amphtml,rsimha-amp/amphtml,alanorozco/amphtml,smartadserver/amphtml,voyagegroup/amphtml,rsimha-amp/amphtml,smartadserver/amphtml,media-net/amphtml,ampproject/amphtml,lannka/amphtml,voyagegroup/amphtml,alanorozco/amphtml,voyagegroup/amphtml,sharethrough/amphtml,smartadserver/amphtml,ampproject/amphtml,nexxtv/amphtml,mhc-gh/amphtml,jpettitt/amphtml,nexxtv/amphtml,jpettitt/amphtml,rsimha-amp/amphtml,jridgewell/amphtml,ampproject/amphtml,rsimha-amp/amphtml,lannka/amphtml,sharethrough/amphtml,media-net/amphtml,lannka/amphtml,sharethrough/amphtml,Gregable/amphtml,ampproject/amphtml,ampproject/amphtml