WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
232613
[GTK] Run Javascript in a dedicated thread?
https://bugs.webkit.org/show_bug.cgi?id=232613
Summary
[GTK] Run Javascript in a dedicated thread?
Milan Crha
Reported
2021-11-02 01:49:27 PDT
Looking into backtraces provided in:
https://gitlab.gnome.org/GNOME/evolution/-/issues/1679#note_1299118
The WebKitWebProcess is busy in the JavaScript call. As it's executed on the main thread the whole process is blocked and any attempt to talk to it (over D-Bus) leads to time outs and the GUI is not updated as well. Would it make sense to call the JavaScript code in a dedicated thread, thus the call can be eventually cancelled from the main process? I can understand the JavaScript code blocks the GUI repaint.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug