Skip to content

Document.parseHTMLUnsafe() steps involved using this for the TrustedTypes integration but the method is static in the IDL #11778

@tete17

Description

@tete17

What is the issue with the HTML Standard?

Let compliantHTML be the result of invoking the Get Trusted Type compliant string algorithm with TrustedHTML, this's relevant global object, html, "Document parseHTMLUnsafe", and "script".

Step number 1 of Document.parseHTMLUnsafe() reference this but the method is markes static in the IDL.
Ref: https://html.spec.whatwg.org/multipage/dom.html#the-document-object

This was discovered during the implementation of TrustedTypes in the ladybird project
LadybirdBrowser/ladybird#6057

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions