57 lines
5.8 KiB
Markdown
57 lines
5.8 KiB
Markdown
# Site pass on WebKit vs Chromium (S054)
|
||
|
||
D-030/D-031: each daily site is shot in Nacre (hidden nested session, software GL, 1280x800) and in the Chromium
|
||
reference (the Claude desktop app's browser pane, same width), the pair is read side by side and every visible
|
||
difference is listed as fixed or open. Engine differences are listed, not patched.
|
||
|
||
## Sites (1280x800)
|
||
| # | Site | URL |
|
||
|---|---|---|
|
||
| 1 | YouTube home | https://www.youtube.com/ |
|
||
| 2 | YouTube watch | https://www.youtube.com/watch?v=jNQXAC9IVRw |
|
||
| 3 | YouTube search | https://www.youtube.com/results?search_query=webkit |
|
||
| 4 | YouTube Shorts | https://www.youtube.com/shorts (redirects to a short) |
|
||
| 5 | Reddit | https://www.reddit.com/r/rust/ |
|
||
| 6 | Discord web | https://discord.com/login |
|
||
| 7 | GitHub | https://github.com/WebKit/WebKit |
|
||
| 8 | Wikipedia | https://en.wikipedia.org/wiki/Web_browser |
|
||
| 9 | DuckDuckGo | https://duckduckgo.com/?q=webkit+browser+engine |
|
||
| 10 | Google search | https://www.google.com/search?q=webkit |
|
||
| 11 | Google sign-in | https://accounts.google.com/ |
|
||
| 12 | News (The Guardian) | https://www.theguardian.com/international |
|
||
| 13 | Twitch | https://www.twitch.tv/directory |
|
||
| 14 | Maps (OpenStreetMap) | https://www.openstreetmap.org/#map=12/51.5074/-0.1278 |
|
||
|
||
Nacre shots: `SMOKE_SIZE=1280x800 SMOKE_TIMEOUT=900 tools/smoke.sh tests/smoke/site-pass.txt` (hidden).
|
||
Shots: Nacre `docs/engine/site-pass/nacre/<name>.jpg` (+ `<name>.json`, what the page had at the shot; from the
|
||
second run, after the autoplay fix); Chromium `docs/engine/site-pass/chromium/<name>.jpg` (browser pane, 1280x800,
|
||
shown scaled) or `<name>.png` (`tools/refshot.py`, QtWebEngine/Chromium 130, page area 1264x696, light), where the
|
||
pane couldn't (it refuses reddit.com; in the background it stalls on Discord, the Guardian and Twitch). Nacre's
|
||
pages were light (no dark preference in the throwaway profile), the pane's dark: colour scheme isn't a difference.
|
||
|
||
## Pairs
|
||
| Site | Nacre | Chromium | Differences (fixed / open / same) |
|
||
|---|---|---|---|
|
||
| YouTube home | nacre/yt-home.jpg | chromium/yt-home.jpg, chromium/yt-home-ref.png | same: fresh profile gets "Try searching to get started" in both. Nacre's first run shot it at 6 s still as a skeleton; the feed fills by 15–30 s in the hidden session (37 items at 30 s) — slow software painting, not a page fault (see "Hidden runs" below). |
|
||
| YouTube watch | nacre/yt-watch.jpg | chromium/yt-watch.jpg | **fixed**: the video stayed paused at 0:00 (WebKit's default autoplay policy allows only muted starts; Chromium and the original Nacre start it with sound) → web views get `AutoplayPolicy::Allow`; `assert currentTime > 0` in site-pass.txt. same: masthead right-hand buttons still skeleton circles a while after load (also in the pane at 8 s). |
|
||
| YouTube search | nacre/yt-search.jpg | chromium/yt-search.jpg | same layout (filter chips, Shorts shelf, result rows); the result order and an ad row differ (ads blocked in Nacre, a sponsored row in the pane). |
|
||
| YouTube Shorts | nacre/yt-shorts.jpg | chromium/yt-shorts.jpg | **fixed** with autoplay (it plays; 14 s in at the shot). The pane's short sat on its play button (different short; the pane runs in the background). |
|
||
| Reddit | nacre/reddit.jpg | chromium/reddit.png | same layout and posts. Nacre gets Google's One Tap card and "Continue with Google" (Google sign-in is offered to WebKit, not to QtWebEngine); Reddit answers both with its JS challenge first (`?js_challenge=1` in Nacre's address). |
|
||
| Discord web | nacre/discord.jpg | chromium/discord.png, chromium/discord.jpg | open, not comparable: `discord.com/login` paints nothing in Nacre (white) nor in either Chromium reference (dark, empty `innerText` in both) within 15–18 s. Checked again in the interaction pass. |
|
||
| GitHub | nacre/github.jpg | chromium/github.jpg | same. First run shot a black page at 4 s (still painting). |
|
||
| Wikipedia | nacre/wikipedia.jpg | chromium/wikipedia.jpg, chromium/wikipedia-ref.png | same, including the blue onboarding dot under the watch star. |
|
||
| DuckDuckGo | nacre/ddg.jpg | chromium/ddg.jpg | same (results, side panel, filters). |
|
||
| Google search | nacre/google-search.jpg | chromium/google-search.jpg | **open (engine)**: Nacre gets Google's "unusual traffic" page with a reCAPTCHA; the pane gets results from the same address. Not Nacre: the bare WebKitGTK shell (`tools/engine-test/webkit_shell.py`) gets the same page, with WebKit's own, a Safari 26 and a Chrome 142 user agent, and with the bridge off (`NACRE_NO_BRIDGE=1`). Likely the network stack's fingerprint (libsoup/GnuTLS), which Nacre can't change; the captcha itself works (it's there to click). |
|
||
| Google sign-in | nacre/google-signin.jpg | chromium/google-signin.jpg | same (Nacre gets Firefox's agent there, `wants_ua_quirk`; Google says "Use a Private Window" instead of "Guest mode", Firefox's wording). |
|
||
| News (Guardian) | nacre/news.jpg | chromium/news.png | same layout. Nacre shows "Global Privacy Control Signal Detected; Opt-Out Request Honored" (Nacre sends GPC by default); 22 requests blocked. |
|
||
| Twitch | nacre/twitch.jpg | chromium/twitch.png | same layout. Chromium shows the cookie/ads consent bar, Nacre doesn't (GPC / ad blocker's cosmetic rules). |
|
||
| Maps (OSM) | nacre/maps.jpg | chromium/maps.png | same. |
|
||
|
||
All pairs: Chromium shows classic scrollbars, WebKitGTK overlay ones (engine look, same as GNOME Web).
|
||
|
||
## Hidden runs
|
||
The hidden session paints with llvmpipe, and while this pass ran another project's `cargo test` kept the 4 cores
|
||
busy (load 8): a new page could take 5–20 s to replace the old one on screen even though its DOM was ready
|
||
(requestAnimationFrame under 1/s). A shot at 3–6 s then shows the previous site (first run: the DuckDuckGo shot
|
||
showed Wikipedia, Twitch showed the Guardian). That is the test machine, not Nacre: `site-pass.txt` gives every
|
||
page 15 s. Real-GPU painting is the visible run (GPU path below).
|