Skip to content

embed: 'display no plugin' algorithm doesn't fire a load/error event #4024

@riking

Description

@riking

https://html.spec.whatwg.org/multipage/iframe-embed-object.html#display-no-plugin

The "display no plugin" algorithm makes no mention of firing a load or error event. Current browsers seem to fire load events: the following test document in current Firefox results in a X-Frame-Options error with a URL of https://www.google.com/ and a load event:

<!DOCTYPE html>
<embed src="https://google.com/" onload="console.log('load', this);" onerror="console.log('error', this);" />

The display no plugin algorithm should be specified to fire a load event on the element to match current behavior.

Text was last updated by #3900

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions