Bug 257118
Summary: | CONSOLE JS ERROR ResizeObserver loop completed with undelivered notifications. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Milan Crha <mcrha> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | bugs-noreply, heycam, mcatanzaro, simon.fraser, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Milan Crha
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109967135>
Milan Crha
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.
Michael Catanzaro
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.
Milan Crha
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