Same change here. Add a static method to HTMLObjectElement called `is_image_url` and use that in both methods here, please.