You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current async local storage spec requires censoring the toString() output of all functions it produces. This ensures that multiple implementations of the spec can cooexist without being observably different.
However, this is not an ability available to web developers today, and thus this requirement violates the rule of layered APIs that they must not use any magic.
The current async local storage spec requires censoring the toString() output of all functions it produces. This ensures that multiple implementations of the spec can cooexist without being observably different.
However, this is not an ability available to web developers today, and thus this requirement violates the rule of layered APIs that they must not use any magic.
I think the solution to this is to advance https://github.com/domenic/proposal-function-prototype-tostring-censorship, either the in-source-file pragma version, or some per-source-file header version, and thus give this ability to web developers as well.
The text was updated successfully, but these errors were encountered: