Discord wants FinalizationRegistry now

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
q160765803
Moon lover
Moon lover
Posts: 92
Joined: 2023-04-13, 07:57

Discord wants FinalizationRegistry now

Post by q160765803 » 2025-11-14, 07:41

Please always mention the name/domain of the website in question in your topic title.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:

1) Clear any current output
2) Navigate or refresh the page in question
3) Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.

Code: Select all

15:38:45.031 ReferenceError: FinalizationRegistry is not defined 1 https://discord.com/assets/web.c6466030348d73af.js:1:411844
Now https://discord.com/app shows a blank page with Javascript error.

User avatar
Moonchild
Project founder
Project founder
Posts: 39073
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Discord wants FinalizationRegistry now

Post by Moonchild » 2025-11-14, 08:43

Finalizationregistry is part of (well, technically, very closely related, but definitely in the same scope as) the WeakRef API. It offers a callback when a specific value gets garbage-collected in JS.
This (letting web content reach in and control/monitor internal engine mechanisms) is a monumentally bad idea.

We don't have it, nor is there any intent to implement this.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1183
Joined: 2020-11-03, 06:47
Location: Philippines

Re: Discord wants FinalizationRegistry now

Post by jobbautista9 » 2025-11-14, 11:39

I think at this point you're much better off using Chrome for Discord (not even Firefox, especially if you're using its WebRTC where screen sharing a tab + its audio is only possible in Chromium). I myself have a pretty beefy laptop and no matter how much clock I put into Pale Moon, Discord is simply just unusable with its constant repainting of the viewport. Even Facebook is usable despite all its bloat... (provided I have my laptop plugged in to AC power for the CPU turbo)

I have Discord run under SubWebView's separate NPAPI process when I'm not using WebRTC, only resorting to a full-fledged Chromium (Edge in this case though I have been looking at Vivaldi) when I am in a watch party (where I sometimes share my screen).
Image

Tired of creating stuff!

Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
Gemmaugr
Astronaut
Astronaut
Posts: 537
Joined: 2025-02-03, 07:55

Re: Discord wants FinalizationRegistry now

Post by Gemmaugr » 2025-11-14, 11:58

jobbautista9 wrote:
2025-11-14, 11:39
I think at this point you're much better off using Chrome for Discord (not even Firefox, especially if you're using its WebRTC where screen sharing a tab + its audio is only possible in Chromium). I myself have a pretty beefy laptop and no matter how much clock I put into Pale Moon, Discord is simply just unusable with its constant repainting of the viewport. Even Facebook is usable despite all its bloat... (provided I have my laptop plugged in to AC power for the CPU turbo)

I have Discord run under SubWebView's separate NPAPI process when I'm not using WebRTC, only resorting to a full-fledged Chromium (Edge in this case though I have been looking at Vivaldi) when I am in a watch party (where I sometimes share my screen).
I wonder if this is part of googles progressive web application push. PWA being another way to chromium monoculture, getting rid of adblockers, and getting telemetry. What with browsers becoming OS's, programs would be sites.
"Judge a person not by their superficial identity attributes, but by the content of their character."
"Organized Identity Politics are the bane of civilized society."
"Cognitive dissonance hypocrisy is a pandemic."
"Capitalism is the worst form of economic system, except for all the others."

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1183
Joined: 2020-11-03, 06:47
Location: Philippines

Re: Discord wants FinalizationRegistry now

Post by jobbautista9 » 2025-11-14, 12:29

Off-topic:
PWA was initially pushed by Apple and Mozilla. I think PWA does have its legitimate uses. News sites for example could just leverage their own website as the "app" for offline reading instead of separately writing a whole new native application in both Android and iOS (and I'm not even getting to the point of publishing your app yet). I also remember when Twitter used to have a lightweight PWA that was more usable than the native Android version (and adblocking still works if you have Firefox which was still Fennec internally at the time I believe as the browser). We also still support an early PWA technology that the mainstream dropped in favor of Service Workers which is the HTML5 cache manifest.
Image

Tired of creating stuff!

Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
Mæstro
Board Warrior
Board Warrior
Posts: 1078
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Discord wants FinalizationRegistry now

Post by Mæstro » 2025-12-07, 18:13

jobbautista9 wrote:
2025-11-14, 11:39
I have Discord run under SubWebView's separate NPAPI process when I'm not using WebRTC, only resorting to a full-fledged Chromium (Edge in this case though I have been looking at Vivaldi) when I am in a watch party (where I sometimes share my screen).
A pity this modern NPAPI is only for Windows! The chief reason I keep Ungoogled Chromium around is for Discord’s sake. I have considered moving my Discord use (beside voice and video sessions) into Pidgin for a while, yet have not dared to make this plunge. I remember using Discord within Pale Moon up to 2021 or so. The site looked outwardly the same then as it does now. How does it degrade so much under the bonnet?
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

Daikun
Lunatic
Lunatic
Posts: 488
Joined: 2013-12-13, 20:54
Location: California

Re: Discord wants FinalizationRegistry now

Post by Daikun » 2025-12-07, 20:58

I always found using the browser version of Discord to be a slow, buggy mess.
Just download the desktop app. Trust me, you'll save yourself a ton of headaches.

User avatar
Mæstro
Board Warrior
Board Warrior
Posts: 1078
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Discord wants FinalizationRegistry now

Post by Mæstro » 2025-12-07, 21:47

Discord in Ungoogled Chromium 104 has always run smoothly enough for me. My question about what has been happening to Discord’s codebase is meant to be more general, not a request for technical support, for the same trends surely affect lots of other sites even worse than Discord. Meanwhile, Discord’s own ‘desktop version’ condemns itself in my eyes on two counts. I reject installing any software which forces automatic updates or which simply simply embeds a website in the manner of Electron.
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

Daikun
Lunatic
Lunatic
Posts: 488
Joined: 2013-12-13, 20:54
Location: California

Re: Discord wants FinalizationRegistry now

Post by Daikun » 2025-12-08, 10:17

Mæstro wrote:
2025-12-07, 21:47
I reject installing any software which forces automatic updates or which simply simply embeds a website in the manner of Electron.
Discord doesn't force automatic updates. On the app version, a tiny green arrow will appear on the top-right corner of the screen whenever an update is available. You can choose to ignore this arrow if you wish, and it will not draw attention to you to click it. It's not intrusive.

User avatar
Mæstro
Board Warrior
Board Warrior
Posts: 1078
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Discord wants FinalizationRegistry now

Post by Mæstro » 2025-12-08, 12:03

If this is so, then Discord’s software has, contrary to my original post, got better in at least one way since 2019 or 2020, the last time I tried the desktop version, and my only objection is my general rule against desktop applications which are really just websites. (This also encouraged my switch from Tutanota to Posteo, among other things.) Thank you for informing me!
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build

User avatar
franstam
Fanatic
Fanatic
Posts: 108
Joined: 2017-03-27, 10:16

Re: Discord wants FinalizationRegistry now

Post by franstam » 2025-12-27, 12:42

Daikun wrote:
2025-12-08, 10:17
Mæstro wrote:
2025-12-07, 21:47
I reject installing any software which forces automatic updates or which simply simply embeds a website in the manner of Electron.
Discord doesn't force automatic updates. On the app version, a tiny green arrow will appear on the top-right corner of the screen whenever an update is available. You can choose to ignore this arrow if you wish, and it will not draw attention to you to click it. It's not intrusive.
that is only partially correct. if u keep the discord client open and never close it, it wont update. the moment you quit discord, the next time you open it, it will auto update.

User avatar
Mæstro
Board Warrior
Board Warrior
Posts: 1078
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Discord wants FinalizationRegistry now

Post by Mæstro » 2025-12-27, 15:23

Some weeks ago, I thought to test Discord’s desktop version for whatever value to experiment could yield. Even after installing the current Debian package from Discord’s site, it downloaded and installed six further, internal updates on its own initiative on first run, without any option for the user to skip or opt out. This is unacceptable. If not for my earlier statement’s conditional phrasing, vizif this is so, then…’, I should have retracted it.
While on the topic, I should record that Discord appears to fail in UC104 now. I adopted Waterfox as backup at just the right time. :thumbup:
Life is a fever dream Mæstro would enjoy.
All posts 100% organic. Ash is the best letter.
What is being nice online?
Debian 10 ELTS / Official PM build