WebFront uses the distribution's WebKitGTK 6.0 for a native Linux window. The qualification below is on an Orin Nano Super 8 GB. NX and AGX share the aarch64/L4T software requirements; their physical displays and GPUs have not been tested here. A locked-down kiosk session is outside this qualification.
Current policy (#596/#597): development is the default and explicitly disables
WebKit's sandbox, so native applications and Jasmine run without OS setup.
Distribution selects WEBFRONT_DISTRIBUTION=ON and requires sandboxing. Its
application package can ship the profile generated by
webfront_generate_webkitgtk_profile; see
development and distribution.
No runtime is added, and the library never loads system policy. The DMA-BUF
renderer was not disabled. Native X11 Canvas/WebGL presentation, the real GNOME
file portal and fullscreen Life React now have on-board evidence. A GTK Wayland
client also passed the graphics probe inside Weston nested on X11; this does not
qualify a native GNOME Wayland session or its portal.
The final qualification record retains the desktop captures, native EGL driver observation and portal results. The native Life React window showed the canvas and C++ panel; clicking Next generation updated both labels. The fullscreen window covered the portrait desktop.
| Profile | Policy and evidence |
|---|---|
| Orin Nano Super 8 GB, L4T R39.2.1, GCC 13, WebKitGTK 2.52.6, X11 | S2, measured on this board; default renderer works without a DMA-BUF opt-out |
| JetPack 6 / L4T R36.4.7 | S3 historical/community path; the earlier successful results below are retained, not a current weekly qualification |
| Orin NX / AGX on the same aarch64/L4T stack | Common build requirements and software path; physical board/display/GPU behavior remains unqualified |
| Wayland | Graphics client tested under Weston 13 nested on X11; native GNOME Wayland and Wayland portal integration remain unqualified |
The installation's GDM configuration has WaylandEnable=false. It was not
changed, and the owner's X11 session was not closed. The nested compositor lacks
the portal-parent export used by GTK: that negative result is recorded explicitly.
The workstation was not reflashed for this pass; a fresh application project was
used for Life React. This is not a claim of fresh-flash acceptance.
Start with prerequisites, then build the examples. The historical failures below explain the sandbox policy; they are not the current native-launch result.
Run these on the board before comparing results. A JetPack marketing version alone does not identify the kernel, browser engine or compiler actually used.
cat /proc/device-tree/model
cat /etc/nv_tegra_release
cat /etc/os-release
uname -a
g++ --version
cmake --version
pkg-config --modversion webkitgtk-6.0
printenv XDG_SESSION_TYPE DISPLAY WAYLAND_DISPLAYThe installation inspected on 2026-11-16 after the JetPack 7 upgrade reports:
| Component | Observed version |
|---|---|
| Board | NVIDIA Jetson Orin Nano Engineering Reference Developer Kit Super, 7.4 GiB RAM |
| L4T | R39, revision 2.1 (nvidia-l4t-core 39.2.1-20260806224157) |
| OS / kernel | Ubuntu 24.04.5 / 6.8.12-1021-tegra, aarch64 |
| Compiler | Ubuntu GCC 13.3.0-6ubuntu2~24.04.1 |
| CMake | System 3.28.3; first pass 3.31.10, final contributor pass 4.4.4 |
| WebKitGTK / GTK | 2.52.6 / 4.14.5 |
| Portal | xdg-desktop-portal 1.18.4, GNOME backend 46.2 |
| Desktop | X11, DISPLAY=:1 |
The nvidia-jetpack metapackage is absent. These results identify L4T R39.2.1;
they do not independently establish a JetPack 7.2 package set.
The table below is the state that #596 started from: every native launch failed. The results after the correction are in Native launch restored.
Source baseline: develop at 08bec61, 2026-11-16. Builds use GCC 13.3, Release,
CEF off and warnings enabled without -Werror.
| Check | Result |
|---|---|
| Examples-only configuration with WebKitGTK enabled | Passed, 11.35 s including dependency setup |
| HelloWorld clean rebuild, without tests | Passed, 69.83 s wall time (--parallel 1, no compiler cache) |
| HelloWorld, host loop, console Life, developer Life and React Life compilation | Passed |
| Complete CEF-off build with WebKitGTK tests enabled | Passed; completed with one compiler process after the memory-pressure stop |
| HelloWorld in the system browser | Launched in the existing Brave session; fallback page returned HTTP 200 and a Brave-to-server connection was established; Enter stopped the application with exit 0 |
CTest -L fast --parallel 2 |
553/553 passed, 18.70 s wall time |
Complete CTest --parallel 2 |
605 passed, 40 failed, 60 not run, 705 total, 194.55 s; exit status 8 |
Native X11 frontend_lifecycle native-window |
Failed before navigation: bubblewrap UID map denied |
Controlled minimal native launch: #558 head 3dcdf1d vs current 08bec61 |
Both exited 133 under Xvfb with the same bubblewrap UID-map error on the upgraded installation |
Xvfb WebKitGTKLifecycle-ui-executor, -native-window, -second-open |
All three failed with the same sandbox launch error |
| Repository layout, newcomer documentation, agent guidance and minimal asset checks | Passed |
| Manual graphics spec | JavaScriptCore syntax check passed; browser execution not run |
| Tegra acceleration / DMA-BUF workaround / real portal / fullscreen / Wayland | Not qualified |
The examples-only configuration was timed with the shell's time builtin.
The HelloWorld figure is a subsequent clean rebuild timed with /usr/bin/time -p;
dependencies were already downloaded and one compiler from the contributor build
was also running. It is an observed board measurement, not a fresh-flash total
or a performance guarantee.
The CEF result from JetPack 6 below is historical and was not repeated in this pass.
All 100 failed or blocked cases carry the web-integration label. Every one of
the 40 executed failures contains the bubblewrap launch error; the other 60
depend on failed fixtures. All 592 cases outside web-integration passed.
These measurements describe the first #596 implementation, before the explicit development/distribution build modes. They remain historical evidence; the current policy is described at the top of this guide.
Same board, same installation, same build directory and options as above
(Release, CEF off, WebKitGTK tests enabled, GCC 13.3, CMake 3.31.10), rebuilt with
the #596 branch on 2026-11-16. No AppArmor profile, sysctl or package was changed,
and WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS was absent from the environment of
every command: each test process set it for itself after bubblewrap's refusal and
printed the notice described under Ubuntu 24.04 user namespaces.
| Check | Result |
|---|---|
| Unit scenario "WebKitGTK opens its window where the system refuses the sandbox launcher" | Passed (15 assertions) |
frontend_lifecycle native-window and second-open under Xvfb (X11, Cairo, software rendering) |
Both exit 0 (133 before) |
frontend_lifecycle native-window on the real X11 desktop, without renderer overrides |
Exit 0 (bubblewrap error before) |
Same case with WEBFRONT_REQUIRE_WEBKIT_SANDBOX=1 |
Exit 1 with the initialization error naming bubblewrap's message, no abort |
CTest -L web-integration --parallel 2 |
113/113 passed, 418 s; includes the WebKitGTK adapter/lifecycle cases, the Jasmine suite and the developer journeys |
Complete CTest --parallel 2 |
705 passed, 1 failed of 706, 506 s: ConsumerJasmineReports, a defect of the check script under CMake 3.31 (CMP0054) that the blocked fixtures had hidden; corrected in #596 and passing in the selection above |
AutomationMcpWatchdog blocks a renderer on purpose and forces its owner to
exit; on this desktop each run leaves an Apport report for WebKitWebProcess
(SIGTRAP) in /var/crash. Running that case alone reproduces it. The process
peaked at 321 MB resident and the kernel logged no out-of-memory kill: it is the
test's forced exit, not a memory failure.
What this does not establish: a sandboxed web process on this installation (none ran), Tegra acceleration, portals, Wayland and fullscreen, which remain in #528. The JetPack 6 results of #558 below were obtained with the sandbox active and are not replaced by these.
At 9118fed, a separate minimal native application was built with
WEBFRONT_DISTRIBUTION=ON and its profile was generated by
webfront_generate_webkitgtk_profile. Both the inherited upstream sandbox
opt-out and WEBFRONT_REQUIRE_WEBKIT_SANDBOX were unset, so the test exercised
the compiled distribution policy. GCC 13.3, -O1 -DNDEBUG, the same WebKitGTK
runtime and Xvfb with X11/Cairo/software rendering were used.
| Check | Result |
|---|---|
Seven policy scenarios, including conflicting variables and upstream value 0 |
Passed, 49 assertions |
| Standalone consumer with development and distribution executables | Passed; distribution rejects the opt-out, development accepts it; generated profile staged in the test package |
| Distribution native application before installation, without an applicable profile | Exit 1 with the namespace-refusal diagnostic, without disabling the sandbox or aborting |
Same application installed by dpkg -i, with its generated profile loaded by the package's post-install hook |
Native window opened, browser bridge connected, exit 0 |
| Renderer inspection during that launch | Mount namespace differs from the host application; NSpid has two levels; CapEff=0, NoNewPrivs=1, Seccomp=2 |
Package removal with dpkg --purge |
Executable and profile removed; profile unloaded; kernel.apparmor_restrict_unprivileged_userns remains 1 |
The temporary package was webfront-distribution-probe-597. Its only executable
was /opt/webfront-distribution-probe-597/native-probe, and the profile granted
userns to that installed path only. It contained the application, not a WebFront
runtime. Its post-install hook called apparmor_parser -r -T for that one profile;
the removal hook unloaded it. No generic bubblewrap profile or global restriction
was changed. The same generated file passed apparmor_parser --skip-kernel-load --skip-cache before installation.
This establishes a sandboxed native launch and bridge connection using a normal application-package installation on the board. It is not an installed Jasmine suite run and does not replace package-specific validation. NVIDIA's runtime printed NvRm memory-manager/GPU initialization warnings during this software rendering check; GPU acceleration, real portal dialogs, Wayland and fullscreen remain unqualified. The historical measurements above are retained separately.
On this Ubuntu 24.04 installation the system GCC 13 is sufficient. Keep the default compiler for the baseline. Install the native engine and test display:
sudo apt-get install -y libwebkitgtk-6.0-dev pkg-config xvfbWebFront requires CMake 3.31 or newer; Ubuntu's 3.28.3 is too old. An isolated
installation avoids replacing the system tool. Python's venv support is needed
(python3-venv if missing):
python3 -m venv /tmp/webfront-528-tools
/tmp/webfront-528-tools/bin/pip install cmake==3.31.10
export PATH="/tmp/webfront-528-tools/bin:$PATH"
cmake --versionThis temporary tool installation must be recreated after /tmp is cleared.
For a persistent installation, use a venv in your home directory as described in
the README.
Configuration downloads dependencies; the developer environment also downloads
its pinned tools and packages on first use. No Node.js installation is needed.
JetPack 6 evidence remains separate. The initial #528 pass recorded CEF 115/115
and CEF-off 570/571 (the old Git check was subsequently corrected by #527).
The later draft PR #558
records 28/28 WebKitGTK adapter/lifecycle cases and 7/7 Jasmine/fixture cases
passing under Xvfb, on Ubuntu 22.04.5, L4T R36.4.7, GCC 13.4 and WebKitGTK
2.50.4. Its source was a238090 plus a GCC 13 file-reader fix, before rebasing.
Real-screen acceleration, portals and fullscreen remained untested there.
PR #558 is not merged: its validation note and file-reader fix were absent from
the develop baseline of the first JetPack 7 pass. #596 carries that fix
(readFile in test/web/WebKitGTKLifecycle.cpp) and this record of its results. These prior successful
WebKitGTK tests must not be described as never having been run.
The JetPack 7 result is a loss of native-launch functionality relative to that
JetPack 6 evidence. The present error identifies a sandbox startup failure on
the upgraded system; it does not establish which WebFront revision, runtime or
policy change caused the difference. A subsequent controlled comparison compiled
the same minimal WebFrontWithFrontend<WebKitGTKFrontend> application against
the complete headers at #558 head 3dcdf1d8774b17dcd29895ca6ab28c206d1964d5
and current 08bec61. Both used GCC 13.3, -O0, the same configured
stdnet/stdexec headers, and Xvfb with X11/Cairo/software rendering, without the
WebKit sandbox escape hatch. Both exited 133 with
bwrap: setting up uid map: Permission denied and a failed dbus-proxy launch.
No AppArmor settings were changed. The stdnet revision is identical in the two
source trees. This comparison demonstrates that the #558 source also fails to
launch on the upgraded system; reverting to that PR alone does not restore the
previous working configuration. It is a minimal startup check, not a repeat of
its complete qualification, and its rebased head differs from the historical
a238090 used for the original measurements.
The 40 failures and 60 blocked tests are consequences of that common launch error, not evidence of 100 independent regressions.
From the repository root, without the contributor test suite:
cmake -S . -B build-528-quick -DCMAKE_BUILD_TYPE=Release \
-DWEBFRONT_EMBED_CEF=OFF -DWEBFRONT_EMBED_WEBKITGTK=ON \
-DWEBFRONT_ENABLE_TESTING=OFF -DWARNINGS_AS_ERRORS=OFF
cmake --build build-528-quick --target HelloWorld --parallel 2
./build-528-quick/examples/HelloWorldHelloWorld deliberately opens the system browser. Life selects the native engine when it is enabled and a desktop session exists:
cmake --build build-528-quick --target WebFrontLifeReact --parallel 2
mkdir life-react-project
cp -n examples/life/react/main.tsx examples/life/react/webfront.project.json life-react-project/The configured registry must provide @webfront/react@0.2.0 and @webfront/store@0.1.0, which are not yet
published to npm. For evaluation from this checkout, prepare the contributor
configuration below and its local mirror before launching Life. Building
the driver is sufficient to prepare this mirror; the complete unit-test build
can wait until the contributor qualification:
cmake --build build-528-webkitgtk --target webfront-wf --parallel 1
ctest --test-dir build-528-webkitgtk -R '^TestRegistry$' --output-on-failure --no-tests=error
cp -R build-528-webkitgtk/test/web/self-build-project/build-registry life-react-project/registry
python3 - <<'PY'
import json
from pathlib import Path
path = Path('life-react-project/webfront.project.json')
manifest = json.loads(path.read_text())
manifest['registry'] = '/registry/'
path.write_text(json.dumps(manifest, indent=2) + '\n')
PY
./build-528-quick/examples/WebFrontLifeReact life-react-projectUse a fresh project directory for this copy. The mirror is served from this development project's document root. Keep the application's terminal output: it reports a browser fallback if no native session is available. In the application's developer terminal, run:
wf install
wf dev main.tsx
The React guide describes the
C++ panel and coordinated unmount. The ordinary Life starter in the README does
not need the optional @webfront/react adapter or this local mirror.
Use at most two compiler processes on 8 GB. The earlier JetPack 6 complete
build took about 35 minutes and used swap; a single Jasmine translation unit used
2.2 GB. On this JetPack 7 installation, compiling the unit-test unity file and
Jasmine simultaneously reached approximately 2.56 and 2.15 GB resident memory,
with the desktop still open; all 2 GB of swap filled. The build was stopped before
an out-of-memory failure and resumed with --parallel 1 for the complete test
build. Two processes remain suitable for the examples observed here;
--parallel 4 is not qualified. WARNINGS_AS_ERRORS=OFF follows the GCC 13
S2 profile and avoids treating libstdc++ diagnostics as a release gate; it does
not disable warnings. See ADR-022.
This CEF-off build also exercises the native engine. Keep the complete test run in addition to the selected browser pass:
cmake -S . -B build-528-webkitgtk -DCMAKE_BUILD_TYPE=Release \
-DWEBFRONT_EMBED_CEF=OFF -DWEBFRONT_EMBED_WEBKITGTK=ON \
-DWEBFRONT_ENABLE_TESTING=ON -DWEBFRONT_WEBTEST_FRONTEND=WebKitGTK \
-DWARNINGS_AS_ERRORS=OFF
cmake --build build-528-webkitgtk --parallel 1
ctest --test-dir build-528-webkitgtk -L web-integration \
--output-on-failure --no-tests=error --parallel 2
ctest --test-dir build-528-webkitgtk --output-on-failure --parallel 2The registered WebKitGTK tests use Xvfb, GSK_RENDERER=cairo and
LIBGL_ALWAYS_SOFTWARE=1. Passing them demonstrates bridge, developer tooling and
window lifecycle compatibility; it does not demonstrate NVIDIA acceleration.
See WebKitGTK for display and sandbox requirements. On this
installation every one of these windows runs without WebKit's sandbox, as the
notice printed by each test process states; the results below qualify the launch,
the bridge and the lifecycle, not a sandboxed web process.
On the inspected installation the first native launches failed before navigation:
bwrap: setting up uid map: Permission denied, followed by
Failed to fully launch dbus-proxy. unshare -Ur true also failed writing
uid_map; kernel.apparmor_restrict_unprivileged_userns was 1 and
kernel.unprivileged_userns_clone was 1.
unshare -U sh -c 'cat /proc/self/attr/current' reported
unprivileged_userns (enforce): the namespace enters Ubuntu's restrictive
AppArmor profile. The installed profile contains audit deny capability,.
Ubuntu 24.04 restricts unprivileged user namespaces through AppArmor. Its
release notes
describe allowing an application with a named flags=(unconfined) profile and
the userns, rule.
This is not a universal WebFront or Ubuntu limitation. Starting with Ubuntu
25.04, the distribution introduced a system bwrap-userns-restrict profile
which lets bubblewrap establish a sandbox, then strips capabilities from the
programs inside it (official release notes).
That integration can account for native windows working without per-application
configuration on a newer Ubuntu installation. On this board, AppArmor
4.0.1really4.0.1-0ubuntu0.24.04.9 has no loaded bwrap profile and neither
/etc/apparmor.d/bwrap-userns-restrict nor /etc/apparmor.d/bwrap exists.
The owner's Ubuntu 26.04 machine was not inspected in this pass, so its exact
effective policy is not asserted here.
The first #596 implementation automatically disabled WebKit's sandbox only after
bubblewrap refused its namespace. The hybrid policy now makes the build mode
explicit instead: development always disables it; distribution never falls back
to disabling it. WEBFRONT_REQUIRE_WEBKIT_SANDBOX=1 also requests the strict
policy in a development build. The current behavior and packaging steps are in
the WebKitGTK guide.
A deployment that must keep the web process sandboxed needs the administrator to
allow bubblewrap. Ubuntu 24.04 ships the profile that later releases enable, in
the apparmor-profiles package (not installed on this board), disabled by default:
/usr/share/apparmor/extra-profiles/bwrap-userns-restrict. Its content was read
from the package of version 4.0.1really4.0.1-0ubuntu0.24.04.9 without installing
it: bwrap may create user namespaces, and what it starts runs under a stacked
unpriv_bwrap profile that denies capabilities. The alternative is the mechanism
Ubuntu 24.04 uses for its own applications (/etc/apparmor.d/epiphany on this
board): a named flags=(unconfined) profile with the userns, rule, attached to
one executable's absolute path.
Neither option was exercised in the initial pass. The later hybrid qualification installed a temporary application with the generated per-executable profile, verified the sandboxed launch, and removed the package again. Generating a profile does not load it; its activation belongs to the normal application-package installation.
The manual spec uses the existing consumer test application, checks Canvas 2D and WebGL pixel readback, and captures the composed page. It is intentionally not registered in the software-rendered CTest suite. Run from the repository root after the test build, on the desktop being qualified:
(
set -e
out=$(python3 - <<'PY'
import json, tempfile
from pathlib import Path
root = Path.cwd()
build = root / 'build-528-webkitgtk'
out = Path(tempfile.mkdtemp(prefix='jetson-graphics-', dir=build))
config = {
'files': [str(build / 'test/web/webfront-jasmine/package/package/lib/jasmine-core/jasmine.js'),
str(root / 'test/web/jasmine-consumer/graphics.manual.spec.js')],
'report': str(out / 'report.json'),
'captures': str(out / 'captures'),
}
(out / 'config.json').write_text(json.dumps(config))
print(out)
PY
)
printf 'Results: %s\n' "$out"
env -u GSK_RENDERER -u LIBGL_ALWAYS_SOFTWARE -u WEBKIT_DISABLE_DMABUF_RENDERER \
GDK_BACKEND=x11 \
XDG_DATA_HOME="$out/data" \
XDG_CACHE_HOME="$out/cache" \
WEBFRONT_JASMINE_CONFIG="$out/config.json" \
timeout 90s ./build-528-webkitgtk/test/web/jasmine_consumer \
"$PWD/test/web/jasmine-consumer"
test -s "$out/report.json"
cat "$out/report.json"
)While the native window is visible, the manual spec pauses for 30 seconds after
its WebKit snapshot. Use the desktop's screenshot UI to capture the actual
window or desktop, saving native-window.png in the fresh directory printed
by the recipe. The capture must show both the red Canvas 2D square and the green
WebGL square, together with the renderer name. Inspect that desktop capture as
well as captures/graphics.png; the latter is a WebKit view snapshot and cannot
prove that those pixels reached the physical display. A missing, black or
incorrect desktop capture leaves presentation unqualified.
The subshell stops on a failed or timed-out launch and prints no report. Each
attempt has a fresh result directory. Inspect captures/graphics.png there: it must show a red Canvas 2D square,
a green WebGL square and the renderer name. Successful readback alone cannot
prove that the native window presents those pixels. WebKit masks the WebGL
debug-renderer name to Apple GPU, even on Linux; that label cannot identify
the hardware or distinguish hardware from software rendering. Use native EGL
driver evidence as in the qualification record,
alongside the real-window capture. A software renderer does not qualify NVIDIA
acceleration. If the default path fails, preserve its
report and stderr, then repeat with WEBKIT_DISABLE_DMABUF_RENDERER=1 instead of
unsetting that variable; record this as a workaround, not a default requirement.
For Wayland repeat in a real Wayland session with GDK_BACKEND=wayland and a new
output/profile directory. Setting that variable inside X11 does not qualify Wayland.
For the real parented dialog and portal export, build and run the existing manual probe (it reports both checked assertions and points requiring visual confirmation):
cmake --build build-528-webkitgtk --target native_integration_manual --parallel 2
./build-528-webkitgtk/test/web/native_integration_manual embedded 15000The real X11 dialog and fullscreen Life React launch were observed in the final
pass; the record links the evidence and the remaining Wayland limits.
WindowOptions currently exposes title and initial size, not a fullscreen or
kiosk option. For a controlled fullscreen check, identify the application's own
window with wmctrl -lp, then use wmctrl -i -r <window-id> -b add,fullscreen.
Verify _NET_WM_STATE_FULLSCREEN with xprop -id <window-id> _NET_WM_STATE and
capture that window. A desktop window-manager fullscreen action does not by
itself provide a kiosk session or prevent leaving the application.