-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing compatibility data for web.structured-clone
#1355
Comments
It's not a bug in the compat data, it's implementations issues. For example, If the proper error cloning semantics will not be merged to the spec soon, most likely this requirement will be removed from the feature detection - but anyway not all actual implementations will be marked as proper. |
A little part of issues is documented in the source code, for example here: core-js/packages/core-js/modules/web.structured-clone.js Lines 79 to 108 in 6250ccb
|
If |
When I use the
core-js-compat
library to get information aboutweb.structured-clone
, it returns that it should always be polyfilled.For example:
outputs
I would expect it to not be in the list, since this feature is fairly widely supported and 110 is a recent version of Chrome.
I'm not super familiar with core-js internals but I dug a bit and I found this portion of some compatibility table which seems commented out:
core-js/packages/core-js-compat/src/data.mjs
Lines 2678 to 2684 in 3811821
is this a bug? And either way, would it be possible to correct the compatibility output in this case?
The text was updated successfully, but these errors were encountered: