Add amp-form test for pre-existing redirection behavior (#25515)
Add amp-form test for pre-existing redirection behavior (#25515)

* Revert "🐛Expose amp-form response from SSR in `submit-success` and `submit-error` events. (#25242)"

This reverts commit 48d5ffd5c610d66f11b0084e5fa290ec3605dc6b.

* Add test case for bad json

mhc-gh/amphtml,sharethrough/amphtml,mhc-gh/amphtml,adup-tech/amphtml,ampproject/amphtml,jridgewell/amphtml,nexxtv/amphtml,dotandads/amphtml,voyagegroup/amphtml,tlong2/amphtml,src-code/amphtml,mhc-gh/amphtml,cory-work/amphtml,honeybadgerdontcare/amphtml,media-net/amphtml,voyagegroup/amphtml,src-code/amphtml,mhc-gh/amphtml,voyagegroup/amphtml,danielrozenberg/amphtml,ampproject/amphtml,sharethrough/amphtml,jpettitt/amphtml,taboola/amphtml,erwinmombay/amphtml,media-net/amphtml,tlong2/amphtml,cory-work/amphtml,danielrozenberg/amphtml,ampproject/amphtml,rsimha-amp/amphtml,lannka/amphtml,smartadserver/amphtml,zhouyx/amphtml,dotandads/amphtml,adup-tech/amphtml,cory-work/amphtml,src-code/amphtml,danielrozenberg/amphtml,jmadler/amphtml,jmadler/amphtml,dotandads/amphtml,yandex-pcode/amphtml,mhc-gh/amphtml,rsimha-amp/amphtml,nexxtv/amphtml,jridgewell/amphtml,ampproject/amphtml,yandex-pcode/amphtml,tlong2/amphtml,honeybadgerdontcare/amphtml,danielrozenberg/amphtml,alanorozco/amphtml,smartadserver/amphtml,sharethrough/amphtml,cory-work/amphtml,erwinmombay/amphtml,erwinmombay/amphtml,adup-tech/amphtml,taboola/amphtml,taboola/amphtml,alanorozco/amphtml,media-net/amphtml,media-net/amphtml,jridgewell/amphtml,alanorozco/amphtml,media-net/amphtml,yandex-pcode/amphtml,honeybadgerdontcare/amphtml,prateekbh/amphtml,smartadserver/amphtml,taboola/amphtml,jpettitt/amphtml,honeybadgerdontcare/amphtml,mhc-gh/amphtml,sharethrough/amphtml,rsimha-amp/amphtml,prateekbh/amphtml,smartadserver/amphtml,taboola/amphtml,Gregable/amphtml,danielrozenberg/amphtml,jpettitt/amphtml,rsimha-amp/amphtml,cory-work/amphtml,erwinmombay/amphtml,taboola/amphtml,smartadserver/amphtml,voyagegroup/amphtml,dotandads/amphtml,jmadler/amphtml,Gregable/amphtml,danielrozenberg/amphtml,voyagegroup/amphtml,lannka/amphtml,dotandads/amphtml,yandex-pcode/amphtml,cory-work/amphtml,zhouyx/amphtml,rsimha-amp/amphtml,ampproject/amphtml,src-code/amphtml,nexxtv/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,lannka/amphtml,jridgewell/amphtml,src-code/amphtml,jpettitt/amphtml,zhouyx/amphtml,honeybadgerdontcare/amphtml,lannka/amphtml,adup-tech/amphtml,nexxtv/amphtml,honeybadgerdontcare/amphtml,rsimha-amp/amphtml,jpettitt/amphtml,smartadserver/amphtml,alanorozco/amphtml,yandex-pcode/amphtml,jpettitt/amphtml,mhc-gh/amphtml,dotandads/amphtml,jridgewell/amphtml,prateekbh/amphtml,yandex-pcode/amphtml,sharethrough/amphtml,voyagegroup/amphtml,zhouyx/amphtml,nexxtv/amphtml,ampproject/amphtml,jpettitt/amphtml,ampproject/amphtml,media-net/amphtml,Gregable/amphtml,media-net/amphtml,Gregable/amphtml,jridgewell/amphtml,jmadler/amphtml,zhouyx/amphtml,jmadler/amphtml,lannka/amphtml,nexxtv/amphtml,prateekbh/amphtml,yandex-pcode/amphtml,tlong2/amphtml,alanorozco/amphtml,mhc-gh/amphtml,tlong2/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,jpettitt/amphtml,Gregable/amphtml,erwinmombay/amphtml,lannka/amphtml,ampproject/amphtml,Gregable/amphtml,tlong2/amphtml,Gregable/amphtml,lannka/amphtml,jmadler/amphtml,rsimha-amp/amphtml,alanorozco/amphtml,voyagegroup/amphtml,media-net/amphtml,adup-tech/amphtml,prateekbh/amphtml,zhouyx/amphtml,src-code/amphtml,honeybadgerdontcare/amphtml,cory-work/amphtml,prateekbh/amphtml,sharethrough/amphtml,taboola/amphtml,jridgewell/amphtml,prateekbh/amphtml,Gregable/amphtml,adup-tech/amphtml,erwinmombay/amphtml,zhouyx/amphtml,nexxtv/amphtml