Closed
Description
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
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- I agree to follow this project's Code of Conduct