<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>148711</bug_id>
          
          <creation_ts>2015-09-02 09:40:10 -0700</creation_ts>
          <short_desc>[GTK] Support direct JS web extension loading</short_desc>
          <delta_ts>2017-03-11 10:55:12 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>lantw44</cc>
    
    <cc>philip.chimento</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1122830</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2015-09-02 09:40:10 -0700</bug_when>
    <thetext>The rationale for this is the same as for bug #140745: we would like to
support loading JavaScript web extensions, in such a way that they can
the WebExtension API, and DOM bindings, via GObject Introspection.

There is one issue here: GJS is what provides tha JavaScript bindings to
the GNOME stack, and itself uses the Mozilla SpiderMonkey JS engine.
WebKit already ships JSC, and having both JS engines running in the same
process does not sound like a great idea. The alternative could be to use
Seed [2] instead, which uses JSC, but it seems pretty much unmaintained
(some GNU/Linux distributions are still shipping it, so it could be a
workable solution, dunno).

---
[1] https://wiki.gnome.org/Projects/Gjs
[2] https://wiki.gnome.org/Projects/Seed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>