On Tue, Feb 18 2025 at 11:00:05 AM -06:00:00, Michael Catanzaro
<mcatanz...@redhat.com> wrote:
We should try to reimplement the sync APIs using the async APIs so we
don't have to remove them. The challenge here is we have to do that
*without* iterating the global RunLoop (otherwise, application
callbacks will be dispatched at unexpected times, and all manner of
bugs could occur, including memory corruption and other
vulnerabilities). So we need to do this using a "private" RunLoop.
Sorry, I incorrectly assumed we would need to do this in cross-platform
code, but looks like we can do it in Linux-specific code, where we can
use GMainContext directly and easily avoid this problem. So I don't
think we actually have any problem here; we can keep the sync codepath
working as a wrapper around the async codepath.
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev