Bug 176012

Summary: SVG image and script elements dispatch the load event if the resource fails to load
Product: WebKit Reporter: kari.pihkala
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ap, bfulgham, cdumez, sabouhallawa, zimmermann
Priority: P2    
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
SVG test case document none

kari.pihkala
Reported 2017-08-27 01:06:20 PDT
Created attachment 319158 [details] SVG test case document SVG image and script elements dispatch the load and error events when the resource fails to load. Only the error event should be dispatched. The attached SVG test case document should not print "ONLOAD called" lines to the console. Only "ONERROR called" lines should be printed. As a reference, Google Chrome 60 dispatches the events correctly.
Attachments
SVG test case document (593 bytes, image/svg+xml)
2017-08-27 01:06 PDT, kari.pihkala
no flags
Brent Fulgham
Comment 1 2022-07-15 16:28:24 PDT
This appears to work as expected in Safari 15.5+.
Note You need to log in before you can comment on or make changes to this bug.