viewport: Minor test improvement (#26931)
viewport: Minor test improvement (#26931)

Expect console error.
lannka/amphtml,adup-tech/amphtml,taboola/amphtml,zhouyx/amphtml,mhc-gh/amphtml,danielrozenberg/amphtml,media-net/amphtml,prateekbh/amphtml,alanorozco/amphtml,adup-tech/amphtml,danielrozenberg/amphtml,zhouyx/amphtml,nexxtv/amphtml,mhc-gh/amphtml,jmadler/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,yandex-pcode/amphtml,zhouyx/amphtml,voyagegroup/amphtml,media-net/amphtml,yandex-pcode/amphtml,cory-work/amphtml,ampproject/amphtml,danielrozenberg/amphtml,sharethrough/amphtml,alanorozco/amphtml,smartadserver/amphtml,danielrozenberg/amphtml,jridgewell/amphtml,jpettitt/amphtml,cory-work/amphtml,sharethrough/amphtml,honeybadgerdontcare/amphtml,zhouyx/amphtml,yandex-pcode/amphtml,voyagegroup/amphtml,Gregable/amphtml,ampproject/amphtml,voyagegroup/amphtml,lannka/amphtml,mhc-gh/amphtml,adup-tech/amphtml,adup-tech/amphtml,honeybadgerdontcare/amphtml,mhc-gh/amphtml,prateekbh/amphtml,taboola/amphtml,Gregable/amphtml,rsimha-amp/amphtml,jridgewell/amphtml,sharethrough/amphtml,nexxtv/amphtml,mhc-gh/amphtml,danielrozenberg/amphtml,Gregable/amphtml,smartadserver/amphtml,alanorozco/amphtml,cory-work/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,yandex-pcode/amphtml,mhc-gh/amphtml,lannka/amphtml,zhouyx/amphtml,danielrozenberg/amphtml,nexxtv/amphtml,cory-work/amphtml,honeybadgerdontcare/amphtml,rsimha-amp/amphtml,jmadler/amphtml,ampproject/amphtml,lannka/amphtml,prateekbh/amphtml,sharethrough/amphtml,adup-tech/amphtml,taboola/amphtml,lannka/amphtml,sharethrough/amphtml,voyagegroup/amphtml,yandex-pcode/amphtml,prateekbh/amphtml,jridgewell/amphtml,media-net/amphtml,smartadserver/amphtml,yandex-pcode/amphtml,alanorozco/amphtml,rsimha-amp/amphtml,prateekbh/amphtml,adup-tech/amphtml,alanorozco/amphtml,jpettitt/amphtml,prateekbh/amphtml,prateekbh/amphtml,zhouyx/amphtml,alanorozco/amphtml,cory-work/amphtml,mhc-gh/amphtml,Gregable/amphtml,Gregable/amphtml,ampproject/amphtml,jmadler/amphtml,honeybadgerdontcare/amphtml,honeybadgerdontcare/amphtml,sharethrough/amphtml,media-net/amphtml,rsimha-amp/amphtml,Gregable/amphtml,Gregable/amphtml,ampproject/amphtml,jmadler/amphtml,media-net/amphtml,voyagegroup/amphtml,lannka/amphtml,jpettitt/amphtml,taboola/amphtml,nexxtv/amphtml,nexxtv/amphtml,ampproject/amphtml,danielrozenberg/amphtml,taboola/amphtml,jmadler/amphtml,cory-work/amphtml,yandex-pcode/amphtml,cory-work/amphtml,rsimha-amp/amphtml,jridgewell/amphtml,lannka/amphtml,rsimha-amp/amphtml,jridgewell/amphtml,voyagegroup/amphtml,media-net/amphtml,jmadler/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,alanorozco/amphtml,smartadserver/amphtml,jpettitt/amphtml,Gregable/amphtml,ampproject/amphtml,zhouyx/amphtml,media-net/amphtml,smartadserver/amphtml,jridgewell/amphtml,voyagegroup/amphtml,taboola/amphtml,jridgewell/amphtml,jpettitt/amphtml,media-net/amphtml,ampproject/amphtml,jpettitt/amphtml,nexxtv/amphtml,rsimha-amp/amphtml,taboola/amphtml,nexxtv/amphtml,mhc-gh/amphtml,smartadserver/amphtml