Bug 230054

Summary: load event not fired for <embed> elements
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

Description Tyler Wilcock 2021-09-08 10:18:11 PDT
Created attachment 437644 [details]
Testcase

Load events are not fired for <embed> elements. I've only tested with an embedded PDF, but this may be true for other types of embedded objects too.

According to the spec, load events should be fired for <embed> elements: https://html.spec.whatwg.org/multipage/iframe-embed-object.html#display-a-plugin

Testcase is attached — update the src path to a PDF on your machine.
Comment 1 Radar WebKit Bug Importer 2021-09-15 10:20:11 PDT
<rdar://problem/83156577>