WeakRef support for Pale moon

Suggestions and feature requests for the Pale Moon browser

Moderator: satrow

Locked
User avatar
90Obadiah
Apollo supporter
Apollo supporter
Posts: 30
Joined: 2018-09-22, 08:55

WeakRef support for Pale moon

Post by 90Obadiah » 2019-07-10, 08:32

Is this something that can be implemented into Pale moon's JavaScript engine?

https://twitter.com/v8js/status/1148603966848151553
https://v8.dev/features/weak-references

User avatar
Sajadi
Board Warrior
Board Warrior
Posts: 1087
Joined: 2013-04-19, 00:46

Re: WeakRef support for Pale moon

Post by Sajadi » 2019-07-10, 18:30

If this is something which is called "standard" and no "draft" - and essential... i am pretty sure that this will be watched and examined.

If that is something called "sugar" - or just one random draft... then it is more up to the user to find a way to implement it either by delivering patches on their own or finding someone else who is able to do this for them.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 25684
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: WeakRef support for Pale moon

Post by Moonchild » 2019-07-10, 19:04

Look at the bottom of the article (second link).
It's not supported by anything mainstream. Why on earth would we support it?

Also, the TC39 proposal has the following caution:
A note of caution

This proposal contains two advanced features, WeakRefs and FinalizationGroups. Their correct use takes careful thought, and they are best avoided if possible.
My question to the TC39 group would be: if it's a feature best avoided, why propose it to be added to begin with?
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Locked