[Webkit-unassigned] [Bug 215880] New: [GTK] `webkit_web_extension_send_message_to_context` et al. abusing async semantics
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 26 23:11:15 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=215880
Bug ID: 215880
Summary: [GTK] `webkit_web_extension_send_message_to_context`
et al. abusing async semantics
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P3
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mike at vee.net
CC: bugs-noreply at webkitgtk.org
The docs for the calls `webkit_web_extension_send_message_to_context` and `webkit_web_view_send_message_to_page` state:
> If you don't expect any reply, or you simply want to ignore it, you can pass NULL as callback.
This is probably convenient for people programming in C, but for people programming using vala or language bindings that provide high-level constructs to handle async calls, this is impossible to do. In these cases WebKitGTK will either always emit a "Message foo was not handled" warning, or to silence the warning must always send a response back, even when not required, increasing latency.
Can the warning be removed, or a proper flag introduced, or something?
--
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/20200827/612d05e2/attachment.htm>
More information about the webkit-unassigned
mailing list