Since at least yesterday, I’ve been unable to select a backend server in the WikimediaDebug extension. On Firefox, the popup looks like this:
{F34605345}
And if I click the dropdown, nothing happens. On Chromium, it sometimes looks like this after clicking the dropdown:
{F34605357}
Sometimes it also hangs the whole browser (Chromium only):
{F34605373}
In the Firefox Browser Console, the following error appears when clicking the dropdown:
> Unchecked lastError value: Error: Promised response from onMessage listener went out of scope
It’s linked to the `sendMessage` line in the following snippet from the extension source code:
```lang=js,name=popup.js
// When opening the popup, also update the theme if needed.
// E.g. if the color scheme of the OS has changed meanwhile.
chrome.runtime.sendMessage( {
action: 'set-theme',
theme: ( window.matchMedia( '(prefers-color-scheme: dark)' ).matches )
? 'dark'
: 'light'
} );
```