8000 Support for WHATWG URL API · Issue #10232 · NativeScript/NativeScript · GitHub
[go: up one dir, main page]

Skip to content
Support for WHATWG URL API  #10232
Closed
@darklight365

Description

@darklight365

Is your feature request related to a problem? Please describe.

The URL API/constructor is not currently supported in core NativeScript.

Describe the solution you'd like

Include a polyfill in NativeScript core so that it would be possible to make use of this standardized API: see https://developer.mozilla.org/en-US/docs/Web/API/URL/URL for reference

Describe alternatives you've considered

Apply a local polyfill.

Anything else?

Currently the following runtime error is encountered when attempting to use the URL constructor:
const url = new URL("https://nativescript.org"); //ReferenceError: URL is not defined

Please accept these terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0