Is there a way to disable "CONSOLE JS ERROR ResizeObserver loop completed with undelivered notifications.", please? I understood from the ResizeObserver documentation that it's expected to not have delivered all the notifications, especially when changing size of the elements inside the callback, thus the error itself is kinda meaningless and only fills the console with no gain. This is with webkit2gtk4.1-2.40.1
<rdar://problem/109967135>
For the record, the warning can be useful for developers, but not useful at all for the users. In my case, I made some changes to avoid it, thus I get and process all the notifications in the code now.
Well it's not expected that users would ever notice console JS errors. You have to open the web inspector to see these, or deliberately hook into WebKitConsoleMessage to do something else with them. All console messages are intended for developers.
You are right. Evolution enables webkit_settings_set_enable_write_console_messages_to_stdout() only when WebKit developer option is enabled in the settings. Err, re-reading the ResizeObserver documentation [1] I see I'm wrong, the WebKitGTK does precisely what the documentation says. I'm sorry for the noise. [1] https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver#observation_errors