Skip to content

Servo throws SecurityError instead of InvalidStateError when opening a cross-origin contentDocument during throw-on-dyanamic-insertion state in WPT html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-origin.sub.window.js #25095

Open

Description

@pshaughn

This is the assert_throws "opening a document when the throw-on-dynamic-markup-insertion counter is incremented should throw an InvalidStateError"; it seems like the cross-origin-ness is throwing when the throw-on-dynamic-markup-insertion-ness should be taking priority and throwing instead. This seems subtle to me but it's not a point of cross-browser disagreement.

Activity

  1. added
    A-content/dom
    A-content/script
    on Dec 5, 2019
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/domA-content/script

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions