[Webkit-unassigned] [Bug 200033] New: [WPE] [WEB_EXTENSIONS] Unable to use jsc_weak_xxxx APIs in WPE web-extensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 23 08:58:47 PDT 2019


            Bug ID: 200033
           Summary: [WPE] [WEB_EXTENSIONS] Unable to use jsc_weak_xxxx
                    APIs in WPE web-extensions
           Product: WebKit
           Version: Other
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WPE WebKit
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: munezbn.dev at gmail.com
                CC: bugs-noreply at webkitgtk.org

Component: Javascriptcore

OS:  Cross Compiling WPEWebkit-2.24.x for Raspberry Pi3 on Fedora 28 using Wpe-buildroot


        jsc_weak_xxx symbols are not exported in ibwpewebkit.so . So if we try to build a web-extension which uses any jsc_weak_xxx APIs then build will fail with error *undefined reference to `jsc_weak_value_new'*

Steps to Reproduce: 

        1) Create any simple web-extension : https://github.com/munezbn/sample_webkit_extension

        2) Add a few code which will use any jsc_weak_xxx API. Try to build the code.
        *  JSCValue             *js_function;
           JSCWeakValue *weak_value;
           weak_value = jsc_weak_value_new (js_function);*

Actual Results: Compilation failed with error *undefined reference to `jsc_weak_value_new'*

Expected Results: Compile without any linking error

Additional Information: Output of readelf can be found at https://lists.webkit.org/pipermail/webkit-wpe/2019-July/000211.html

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/20190723/8c54c410/attachment.html>

More information about the webkit-unassigned mailing list