[Webkit-unassigned] [Bug 215877] New: [GTK] No way to determine if an exception has been thrown calling jsc_value_object_invoke_methodv

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 26 18:57:44 PDT 2020


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

            Bug ID: 215877
           Summary: [GTK] No way to determine if an exception has been
                    thrown calling jsc_value_object_invoke_methodv
           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 JSC method `jsc_value_object_invoke_methodv` returns neither a GError or a JSCValue when the method being invoked is an exception, hence it is not possible to determine if the method invocation was successful or not.

This is a regression from the old JS API, where JSObjectCallAsFunction did.

This would be useful in Geary for QA since we can't use unit tests to detect failing invocations.

-- 
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/6c960cab/attachment.htm>


More information about the webkit-unassigned mailing list