Skip to content

When parsing HTML as a result of assigning to srcdoc, the Javascript execution stack isn't empty. #25514

Closed as not planned

Description

@pshaughn

WPT custom-elements/perform-microtask-checkpoint-before-construction.html assigns some HTML to an iframe's srcdoc attribute and expects the parser to perform microtask checkpoints as it runs. This calls HTMLIFrameElement::navigate_or_reload_child_browsing_context, which does things at the wrong time and ends up seeing a non-empty Javascript stack at times when it is supposed to see an empty one, so no microtask checkpoints are performed. This is similar to #24901 and is probably best solved at the same time as that.

Activity

  1. added
    A-content/script
    on Jan 13, 2020
  2. added 2 commits that reference this issue on Jan 14, 2020
  3. added 2 commits that reference this issue on Jan 25, 2020
  4. jdm commented on Aug 17, 2026

    @jdm
    Member

    We pass this test now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/script

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions