Make HTMLImageElement setters infallible