Skip to content

high-fidelity polyfill use case seems to impact error stack traces #38

Closed
@misterdjules

Description

@misterdjules

When using the "hide source" directive to allow for high-fidelity polyfills, the impact would also be that those functions would appear only as anonymous in error stack traces. However it seems that native functions (e.g. Array.prototype.forEach) show up as ${some function name} anonymous.

Thus it seems that using the "hide source" directive could conflate two different use cases that are not necessarily both desirable at the same time for developers: allowing for implementing high fidelity polyfills, and hiding function names from error stack traces.

Is that intended, and if yes, why is that not an issue?

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