[Webkit-unassigned] [Bug 281767] New: webkit_web_hit_test_result_context_is_* methods cause failing assertion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 18 11:48:42 PDT 2024


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

            Bug ID: 281767
           Summary: webkit_web_hit_test_result_context_is_* methods cause
                    failing assertion
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: knuxify at gmail.com
                CC: bugs-noreply at webkitgtk.org

With WebKitGTK 6.0 (2.44.4), trying to call the "webkit_web_hit_test_result_context_is_link" method causes a critical warning to be printed:

> gboolean webkit_hit_test_result_context_is_link(WebKitHitTestResult *): assertion 'WEBKIT_IS_HIT_TEST_RESULT(hitTestResult)' failed
The function fails to return the correct value. I suspect the other context_is_* functions have a similar issue.

I've been told that this could be related to the fact that WebKitWebHitTestResult no longer inherits from WebKitHitTestResult, and casting from one to the other is no longer possible.

-- 
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/20241018/71f8df56/attachment.htm>


More information about the webkit-unassigned mailing list