Bug 251456

Summary: [GLib] Always mount injected bundle directory in sandbox
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 206533    

Michael Catanzaro
Reported 2023-01-31 13:58:36 PST
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
Attachments
Michael Catanzaro
Comment 1 2023-01-31 14:01:01 PST
EWS
Comment 2 2023-02-01 08:24:34 PST
Committed 259683@main (0fc62415db20): <https://commits.webkit.org/259683@main> Reviewed commits have been landed. Closing PR #9404 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.