<?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>251456</bug_id>
          
          <creation_ts>2023-01-31 13:58:36 -0800</creation_ts>
          <short_desc>[GLib] Always mount injected bundle directory in sandbox</short_desc>
          <delta_ts>2023-02-01 08:24:38 -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>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          <blocked>206533</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1929862</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-01-31 13:58:36 -0800</bug_when>
    <thetext>Incredibly, we somehow never noticed that the injected bundle directory is not always mounted in the sandbox. When running MiniBrowser built with -DDEVELOPER_MODE=ON, the injected bundle from the build directory is used, and we wind up with, for example:

$ jhbuild run ~/Projects/GNOME/install/libexec/webkitgtk-6.0/MiniBrowser 

** (process:2): WARNING **: 15:56:20.374: Error loading the injected bundle (/home/mcatanzaro/Projects/WebKit/WebKitBuild/gtk4/lib/libwebkitgtkinjectedbundle.so): /home/mcatanzaro/Projects/WebKit/WebKitBuild/gtk4/lib/libwebkitgtkinjectedbundle.so: cannot open shared object file: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1929864</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-01-31 14:01:01 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/9404</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1930122</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-01 08:24:34 -0800</bug_when>
    <thetext>Committed 259683@main (0fc62415db20): &lt;https://commits.webkit.org/259683@main&gt;

Reviewed commits have been landed. Closing PR #9404 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>