Skip to content

<iframe src="javascript:..."> executes too soon, which is a symptom of HTMLIFrameElement::navigate_or_reload_child_browsing_context needing to perform navigation steps at the right time/on the right thread #24901

@pshaughn

Description

@pshaughn

WPT tests html/semantics/scripting-1/the-script-element/execution-timing/040, 080, 108, and 109 all create iframes with a javascript: url as their src, and in each case the javascript starts executing immediately, before the task that created the iframe finishes. According to these tests, which other browsers pass, that's incorrect behavior.

Metadata

Metadata

Assignees

Labels

A-content/domInteracting with the DOM from web contentA-content/scriptRelated to the script threadB-high-valueRepresents work that would have a big impact

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions