Skip to content
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

self should be a getter #2269

Closed
zloirock opened this issue Mar 2, 2023 · 0 comments · Fixed by #5216
Closed

self should be a getter #2269

zloirock opened this issue Mar 2, 2023 · 0 comments · Fixed by #5216
Labels
bug Something isn't working

Comments

@zloirock
Copy link

zloirock commented Mar 2, 2023

Bun 0.5.7

Now it's a usual property.

https://html.spec.whatwg.org/multipage/window-object.html#dom-self

image

Chromium:
image

Safari:
image

FF:
image

Deno:
image

Bun:
image

Also, it's non-configurable and non-enumerable #399

That causes extra polyfill injection for core-js.

Similarly to denoland/deno#15765

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant