Skip to content

HTMLScriptElement doesn't show trusted types API in @webref/idl #605

@hybrist

Description

@hybrist

I'm not sure if this is a @webref/idl issue or a trusted types issue but it's an issue for making trusted types work through TypeScript. So I'm starting with reporting it here.

The IDL for HTML in @webref/idl serves as the basis for generating the TypeScript type definitions for web APIs that are used by a lot of developers. I noticed that many of the trusted types APIs are showing up properly there but not HTMLScriptElement#src: https://github.com/w3c/webref/blob/f19b3f5b22dae2b0c91f5209aa351cccce2008a8/ed/idl/html.idl#L1247

*#innerHTML appears to reflect trusted type spec additions in the same file: https://github.com/w3c/webref/blob/f19b3f5b22dae2b0c91f5209aa351cccce2008a8/ed/idl/html.idl#L2358

I'm not sure what the best way to troubleshoot further is.

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