[Webkit-unassigned] [Bug 260478] New: [WPE][GTK] Enable requestIdleCallback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 21 12:26:49 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260478

            Bug ID: 260478
           Summary: [WPE][GTK] Enable requestIdleCallback
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at redhat.com
                CC: bugs-noreply at webkitgtk.org, rniwa at webkit.org

We need to enable requestIdleCallback, as in bug #260369. Ryosuke has left us this hint:

"""
You need to implement these functions: RunLoopObserver::schedule, RunLoopObserver::invalidate, and RunLoopObserver::isScheduled():

https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/RunLoopObserver.cpp
"""

Unfortunately, looking at RunLoopObserverCF, I can't think of any way to map this to GMainContext, so it's probably not possible. We shouldn't try to modify GMainContext unless there are no other options. This requires further investigation.

--------------------------------------------

We should also think about the problem I describe here: https://bugs.webkit.org/show_bug.cgi?id=164193#c18, i.e. we need to make sure web content cannot perform a denial of service that would prevent WebKit from running WebKit's own callbacks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230821/42437c75/attachment.htm>


More information about the webkit-unassigned mailing list