Bug 230054 - load event not fired for <embed> elements
Summary: load event not fired for <embed> elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-08 10:18 PDT by Tyler Wilcock
Modified: 2021-09-15 10:20 PDT (History)
1 user (show)

See Also:


Attachments
Testcase (524 bytes, text/plain)
2021-09-08 10:18 PDT, Tyler Wilcock
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>