Bug 251456
Summary: | [GLib] Always mount injected bundle directory in sandbox | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
Component: | WebKitGTK | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
Pull request: https://github.com/WebKit/WebKit/pull/9404
EWS
Committed 259683@main (0fc62415db20): <https://commits.webkit.org/259683@main>
Reviewed commits have been landed. Closing PR #9404 and removing active labels.