<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Support direct JS web extension loading"
   href="https://bugs.webkit.org/show_bug.cgi?id=148711">148711</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GTK] Support direct JS web extension loading
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aperez&#64;igalia.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The rationale for this is the same as for <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Support direct Python web extension loading"
   href="show_bug.cgi?id=140745">bug #140745</a>: 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] <a href="https://wiki.gnome.org/Projects/Gjs">https://wiki.gnome.org/Projects/Gjs</a>
[2] <a href="https://wiki.gnome.org/Projects/Seed">https://wiki.gnome.org/Projects/Seed</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>