Skip to content

Consider dropping the secure context requirement for randomUUID() #408

@Psychpsyo

Description

@Psychpsyo

The Crypto Interface specifies randomUUID() as "[SecureContext] DOMString randomUUID();"

I don't see any reason for this to be locked to secure contexts, as it doesn't do any actual cryptography, apart from using secure random bytes. (which can be obtained outside of a secure context via getRandomValues() anyways)

Inspired by the errors I get when I try to open my locally hosted website on my phone for testing.

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