Skip to content

Safari support #212

Closed
Closed
@tali

Description

@tali

Safari (version 16) does not support TrustedTypes and safevalues thus falls back to its own implementation (HtmlImpl).
But HtmlImpl is only working in nodejs environments as it checks for an environment variable via process.env (see html_impl.ts:20)
When using safevalues in Safari, this only leads to the error message 'ReferenceError: Can't find variable: process'.

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