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
@kitsonk sure, and it will cause problems for thousands of users.
self now is a part of Minimum Common Web Platform API. I wanted to add a proper polyfill of this (not just globalThis.self ??= globalThis) to core-js. This polyfill contains a proper descriptor detection and in case of incorrect descriptor overwrites incorrect implementation - like Deno. Babel and SWC inject core-js polyfills for unsupported features - by the core-js compat data - and for bundling / loading it's an extra couple of KB.
But now it's a usual property.
https://html.spec.whatwg.org/multipage/window-object.html#dom-self
Chromium:
Safari:
FF:
Deno:
The text was updated successfully, but these errors were encountered: