Content-Length: 308038 | pFad | https://github.com/NativeScript/NativeScript/issues/10232

2A Support for WHATWG URL API · Issue #10232 · NativeScript/NativeScript · GitHub
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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/NativeScript/NativeScript/issues/10232

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy