blob: 181700ddd1d2e880e1b1301cfa4003c5fc4da715 [file] [log] [blame]
Tests the Emulation.setDisabledImageTypes method with a <picture> element.
With emulation (avif enabled):
Expected avif image: http://127.0.0.1:8000/inspector-protocol/emulation/resources/test.avif
Image request Accept header: image/avif,image/apng,image/svg+xml,image/*,*/*;q=0.8
With emulation (avif disabled):
Expected png image: http://127.0.0.1:8000/inspector-protocol/emulation/resources/test.png
Image request Accept header: image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8