Auditing Hidden Engine Assumptions Against Ladybird's Alpha Build

Auditing Hidden Engine Assumptions Against Ladybird's Alpha Build

pr0h0••31 min read•tech
AI Usage (95%)
On this page

Use Ladybird to Find Hidden Dependencies, Not to Expand the Production Support Matrix

A team ships a dashboard. QA signs off in Chrome, then in Edge, then in a Chromium-based Electron wrapper somebody built for a customer. Three green ticks, one engine. The first Firefox user reports a collapsed column, and the postmortem concludes the team "needs to test more browsers." This walkthrough shows how to audit those hidden engine assumptions against Ladybird's alpha build: build isolated fixtures, record evidence, and prioritize real web-compatibility and interoperability bugs without adding the alpha to your production support matrix.

That conclusion is the bug. The matrix was never measuring browser diversity. It was measuring the same rendering engine three times and calling it coverage.

Ladybird's alpha is useful for exactly one thing: it is a cheap, non-Blink, non-Gecko, non-WebKit probe you can point at your own fixtures. It is a way to find the assumptions your application has been quietly making about how a browser behaves. It is not a new column in your support matrix, and treating it as one is how teams end up shipping to a browser that has promised them nothing.

The technical position of this post: run the audit, keep the alpha out of your support policy, and treat every difference you find as either your bug, a standards gap, or an open question — never as "Ladybird broke it" by default.

Frame the audit around a concrete consequence

The consequence is specific. A workflow that passes in every Chromium-derived browser can still depend on one engine's behavior in at least six places: intrinsic sizing during layout, the exact object shape returned by a DOM API, the interleaving of events during a focus transition, module resolution and MIME handling, storage availability across profile states, and a user-agent string check somebody added in 2019 and never removed.

None of those show up in a Chromium-only run, because Chromium is where they never diverge. The audit's job is to make them diverge on purpose, in a fixture you control, before a user does it for you.

Define the walkthrough's deliverables

By the end you should have four artifacts, not a feeling:

  1. A pinned browser build — an exact revision or release identifier, recorded with provenance, so results are attributable to a specific binary.
  2. A local compatibility fixture — synthetic pages served from a fixed loopback origin, checked into the repository, no production data.
  3. Comparative evidence — recorded results from Chromium, Firefox, a WebKit-based environment, and Ladybird, in a form that separates measurement from expectation.
  4. A prioritized issue queue — failures sorted by user impact and strength of evidence, with a decision per item: fix, fall back, time-box, or drop.

Establish What the Alpha Report Actually Confirms

Attribute the alpha announcement and "fourth independent engine" framing to the supplied gHacks report dated 27 November 2026

The supplied source is a gHacks report dated 27 November 2026, stating that Ladybird Browser has entered alpha and framing the release as bringing a fourth independent browser engine to the web.

Those are the report's claims, and that is as far as the supplied material goes. The snippet does not enumerate supported platforms, feature coverage, performance characteristics, or whether "alpha" here means "installable and mostly navigates" or something narrower. Everything downstream of that point in this walkthrough is verification work you do yourself, not a fact you inherit from a headline.

The "fourth engine" framing is worth keeping because it is the useful part: Blink, Gecko, and WebKit are three genuinely independent implementations, and a fourth changes the economics of interop testing. Whether the fourth engine is ready is a separate question from whether its existence is informative — and it is informative either way.

Verify release status, installation instructions, supported platforms, and known limitations against Ladybird's official project materials

Before you write a single build-specific sentence in an issue or a changelog, go to the project. The Ladybird site and the LadybirdBrowser/ladybird repository are the authorities on what the current build is, how to build or install it, which host platforms the instructions cover, and what the project itself lists as known limitations. Build instructions historically live under Documentation/ in the repository rather than on a standalone docs site, so read the tree instead of guessing a URL.

What you are looking for, concretely:

  • the current release identifier or the commit you intend to pin to;
  • the host platforms the official instructions cover, and any they explicitly do not;
  • the project's own statement of what the alpha does not do yet;
  • the issue tracker, including whether your candidate finding is already filed.
⚠️

Do not build your audit around a version number you read in a news article. If the report and the project repository disagree, the repository wins, and if you cannot resolve the disagreement, say so in your notes rather than picking the more convenient one.

Separate reported facts from unverified details

Keep a short block like this in your audit notes and update it as you learn:

ClaimStatusBasis
Ladybird has entered alphaReportedgHacks, 27 Nov 2026
It represents a fourth independent engineReportedgHacks, 27 Nov 2026
Feature coverage / which CSS and JS features workUnknownNot established by supplied source
Automation support (WebDriver, CDP, Playwright)UnknownNot established by supplied source
Production readinessNot claimedAlpha status; project materials are the authority

The table is the point of the section. The supplied source gives you a timeline event. It gives you no basis for claiming the alpha is or is not production-ready, and no basis for assuming any automation stack will drive it. Assume Playwright works, find out it doesn't, and you will spend a day debugging your harness instead of your application — with results you cannot trust, because you won't know which layer failed.

Turn Chromium Assumptions into a Testable Inventory

Distinguish browser branding from engine diversity

Chrome, Edge, Opera, Brave, Vivaldi, and Arc are not five rendering checks. They are Blink once, with different product surfaces, different default settings, and different extension ecosystems. Firefox is Gecko. Safari on Apple platforms is WebKit. A WebKitGTK or WPE test environment is a WebKit build — not Safari, not Safari's version, not Safari's platform integration, and not a substitute for testing on the actual OS you support.

Write that down in the audit notes, because "we tested WebKit" is one of the most common ways a team accidentally overstates its coverage.

Inventory engine-sensitive seams

Before picking fixtures, list where divergence is plausible. This inventory drives the rest of the work:

SeamWhat actually divergesCheap probe
Intrinsic sizingmin-content/max-content resolution, grid track sizing, min-width auto on flex/grid itemsreduced layout fixture
Modern CSS featurescontainer queries, :has(), subgrid, text-wrap: balance, dvh, field-sizingCSS.supports() + visible rendering check
DOM API shapesreturn types, ordering of collections, normalization behaviorexistence probe + behavior assertion
Event orderingfocus/blur sequencing, pointer vs compat mouse events, input/change pairingevent trace array in the page
Module loadingMIME enforcement for JS, path resolution, import error surfacesthree-module dependency graph
Storageavailability and lifetime across clean, reused, and private profilesprobe + reuse run
Browser identificationUA-string gates, UA-CH hints, vendor sniffinggrep + capability rewrite

Not every seam matters for your app. The inventory is a filter: if a seam has no consumer in your code, drop it and move on.

Select a bounded user journey with measurable checkpoints

Pick one workflow, not "the app." A good one has three checkpoints, each observable without a debugger: load a dashboard, filter records, save a local preference.

Each checkpoint must be measurable in a way you can transcribe into notes:

  • Load — the dashboard's primary content is present in the DOM and visible in the viewport; the layout has not blown out horizontally.
  • Filter — typing in the filter reduces the visible row count to a specific expected number; keyboard-only operation works (tab to the input, type, arrow through results, Enter).
  • Save preference — the preference is written, survives a reload in the same profile, and is not silently reverted.

That is a ten-minute manual run in a normal browser. It should stay under thirty minutes in an unfamiliar alpha; if it does not, the fixture is too big.

Define success through visible content, keyboard operation, state transitions, and documented API behavior rather than screenshot similarity alone

Screenshot diffing sounds rigorous and is mostly a trap here. Fonts, antialiasing, scrollbar rendering, and DPI differences produce diffs in every engine, so a pixel comparison tells you "different" and not "wrong." Worse, it will happily pass a layout that looks plausible and violates its own invariants.

Define success as assertions instead:

  • The element exists, is visible, and its bounding box satisfies an invariant (e.g. content width ≥ 320px, no horizontal scroll on body).
  • The keyboard path completes the workflow.
  • State transitions produce the expected DOM.
  • The API returns the documented value, not merely a value.

Build a Reproducible and Isolated Test Environment

Record the Ladybird revision or release identifier, build provenance, operating system, launch configuration, and profile state using verified project instructions

Every result in your notes should be attributable. Keep a run sheet per environment:

environment: ladybird
release-or-commit: <verified from project materials>
build-provenance: <official build | self-built from commit X | package name+version>
os: <distro/version or macOS version>
launch-config: <flags, if any; state "default" if none>
profile-state: clean | reused | private-equivalent
viewport: 1280x800 (or recorded actual)
date: YYYY-MM-DD

The profile state is not optional. Storage results differ between a first run and a later run in the same profile, and a finding that only reproduces in a clean profile is a different finding from one that reproduces everywhere.

Serve synthetic fixtures from a fixed loopback origin with a small Node.js server and explicit MIME types

Origin matters. file:// changes module loading, storage partitioning, and fetch behavior — you would be testing a mode your users never run in. Use a fixed loopback origin so the origin string is stable across runs and across engines.

// server.mjs — zero dependencies, explicit MIME types




const ROOT = new URL("./fixtures/", import.meta.url).pathname;
const TYPES = {
  ".html": "text/html; charset=utf-8",
  ".css": "text/css; charset=utf-8",
  ".js": "text/javascript; charset=utf-8",
  ".mjs": "text/javascript; charset=utf-8",
  ".json": "application/json; charset=utf-8",
  ".svg": "image/svg+xml",
};

createServer(async (req, res) => {
  const { pathname } = new URL(req.url, "http://127.0.0.1");
  const rel = normalize(decodeURIComponent(pathname)).replace(/^(\.\.[/\\])+/, "");
  const file = join(ROOT, rel === "/" ? "/index.html" : rel);

  try {
    const body = await readFile(file);
    res.writeHead(200, {
      "content-type": TYPES[extname(file)] ?? "application/octet-stream",
      "cache-control": "no-store",
    });
    console.log("200", pathname, TYPES[extname(file)] ?? "unknown");
    res.end(body);
  } catch {
    console.log("404", pathname);
    res.writeHead(404, { "content-type": "text/plain; charset=utf-8" });
    res.end("not found");
  }
}).listen(8787, "127.0.0.1", () => {
  console.log("fixture server listening on http://127.0.0.1:8787");
});

Start it and confirm the headers before you open a browser:

node server.mjs
## expected output:
## fixture server listening on http://127.0.0.1:8787

curl -sI http://127.0.0.1:8787/index.html
## expected output:
## HTTP/1.1 200 OK
## content-type: text/html; charset=utf-8
## cache-control: no-store

If the content-type line is wrong or missing, stop. A wrong MIME type on a .mjs file produces module-loading failures that look like engine bugs and are not. This server is deliberately dumb — no path traversal protection beyond the normalize call, no range requests, no compression — because a fixture server with features is a fixture server with its own bugs.

Capture baseline behavior in Chromium, Firefox, and a WebKit-based environment

Run the same fixture in all three baselines before you touch Ladybird, and record results as measurements, not verdicts:

EnvironmentLoadFilterPersistNotes
Chromium (version recorded)passpasspassscrollbar gutter visible
Firefox (version recorded)passpasspassmenu closes on Escape earlier
WebKit build (version recorded)passpasspassnot Safari; platform integration untested
Ladybird alpha (pinned)———fill in

The baselines are not there to establish truth. They establish which differences are already interop differences between the three established engines, so you don't attribute a pre-existing disagreement to the new one.

Keep test accounts, production credentials, and private data out of the alpha browser

An alpha browser is an unknown code path handling unknown inputs. Do not sign into anything real in it. Do not paste a token into it. Do not point it at staging with a shared session cookie.

Practically:

  • the fixture server binds to 127.0.0.1 only, never 0.0.0.0;
  • fixtures use invented names and numbers, not exports from production;
  • network calls from the fixture go to / only, or are stubbed — record any external dependency in the run sheet;
  • do not "make it work" by relaxing same-origin policy, disabling TLS verification, or turning off security flags. If a security control blocks the test, the test is wrong, or the answer is "inconclusive."

Create an Evidence Harness Before Testing Features

Add a dependency-free JavaScript reporter that records feature availability, assertion results, errors, and checkpoint completion in a visible page panel

You need evidence that survives the session. Do not build it on clipboard access, showSaveFilePicker, downloads, or a remote logging service — each of those is an extra compatibility assumption layered on top of the thing you are testing.

A visible panel plus a JSON payload rendered as text is the lowest-assumption design available:

// fixtures/report.js
const results = [];
const meta = {
  ua: navigator.userAgent,
  fixtureRevision: document.documentElement.dataset.revision ?? "unknown",
  viewport: `${innerWidth}x${innerHeight}`,
  startedAt: new Date().toISOString(),
};

function render() {
  let panel = document.getElementById("__report");
  if (!panel) {
    panel = document.createElement("pre");
    panel.id = "__report";
    panel.style.cssText =
      "position:fixed;left:0;right:0;bottom:0;max-height:45vh;overflow:auto;margin:0;" +
      "padding:8px;background:#111;color:#eee;font:12px/1.45 monospace;z-index:2147483647";
    document.body.append(panel);
  }
  panel.textContent = JSON.stringify({ meta, results }, null, 2);
}

function record(name, status, detail = "") {
  results.push({ name, status, detail });
  render();
}

// Feature availability. Throwing means "not supported"; a value means "present".
export function probe(name, fn) {
  try {
    record(name, "pass", String(fn()));
  } catch (error) {
    record(name, "unsupported", `${error.name}: ${error.message}`);
  }
}

// Behavioural assertion. Throwing means the app failed, not the platform.
export function checkpoint(name, fn) {
  try {
    record(name, fn() ? "pass" : "fail");
  } catch (error) {
    record(name, "fail", `${error.name}: ${error.message}`);
  }
}

export function inconclusive(name, reason) {
  record(name, "inconclusive", reason);
}

export { meta, results };

The pass/fail/unsupported/inconclusive split is the part people skip. It is what stops a missing feature from being reported as an application bug, and a broken harness from being reported as an engine defect.

Export results with browser-build and fixture-revision metadata without relying on clipboard, download, or automation APIs

The panel is the primary export. Select it, or read it through whatever text channel the browser exposes, and paste it into the run sheet by hand. Slow, and the only path with no additional assumptions.

If you want a secondary path, add an optional POST — but treat failure of the POST as "inconclusive," never as a test result:

// optional, secondary. Never let this failure change a pass/fail verdict.
export async function offerExport(url = "/__report") {
  try {
    const res = await fetch(url, {
      method: "POST",
      headers: { "content-type": "application/json" },
      body: JSON.stringify({ meta, results }),
    });
    if (!res.ok) console.warn("export rejected", res.status);
  } catch (error) {
    console.warn("export unavailable, transcribe panel manually", error.message);
  }
}

Pin fixtureRevision in the HTML (<html data-revision="2026-11-27-a">) and bump it whenever a fixture changes. Without it, a result from last week's fixture gets silently compared to this week's.

Define pass, fail, unsupported, and inconclusive outcomes; distinguish expected sample output from measurements actually collected

OutcomeMeaningWho owns it
passThe assertion held—
failThe assertion did not hold; app ranTriaged (see below)
unsupportedThe capability was absent or threw on accessFeature-coverage question
inconclusiveHarness, fixture, or environment prevented a verdictYou, today

Any output block in your notes you did not personally collect must be labelled as an expectation. Sample shape, clearly marked:

{
  "meta": { "ua": "<browser UA string>", "fixtureRevision": "2026-11-27-a", "viewport": "1280x800" },
  "results": [
    { "name": "CSS.supports grid minmax", "status": "pass", "detail": "true" },
    { "name": "grid resolves to 3 columns at 1280px", "status": "fail" },
    { "name": "container queries", "status": "unsupported", "detail": "TypeError: ..." }
  ]
}

That illustrates the format; it is not a measurement. Your file should contain your UA string and your results, or an explicit "not collected."

Use automation only where verified tooling supports it, with a repeatable manual procedure for Ladybird rather than an invented Playwright integration

The supplied source says nothing about automation. Before assuming any driver works, check the project's own materials for a supported automation interface. If there is no verified path, do not write a speculative playwright.config.ts — write a procedure:

  1. Start the fixture server; confirm the startup log and the curl -I headers.
  2. Launch the pinned build with a fresh profile; confirm the viewport in the run sheet.
  3. Navigate to http://127.0.0.1:8787/index.html.
  4. Confirm the report panel is present. If it is not, record inconclusive and stop.
  5. Perform the three checkpoints by keyboard only; record pass/fail per checkpoint.
  6. Transcribe the panel JSON into runs/<date>-ladybird.json.
  7. Close, relaunch with the same profile, rerun checkpoint 3 only.

Seven steps, repeatable by anyone, no tooling assumptions.

Audit Layout Assumptions with a Reduced CSS Fixture

Reproduce a representative grid or flex layout containing long text, intrinsic-width content, overflow, and a constrained viewport

Reduce the dashboard's layout to one page. Keep the parts that can diverge and delete everything else:

<!doctype html>
<html lang="en" data-revision="2026-11-27-a">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>layout fixture</title>
  <link rel="stylesheet" href="/layout.css">
</head>
<body>
  <main class="card-grid">
    <article class="card">
      <h2>Short title</h2>
      <p>Ordinary paragraph text that wraps normally.</p>
    </article>
    <article class="card">
      <h2>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</h2>
      <p>See https://example.invalid/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
    </article>
    <article class="card">
      <h2>Intrinsic content</h2>
      <img src="/probe.svg" width="420" height="80" alt="wide probe">
    </article>
    <article class="card">
      <h2>Overflow</h2>
      <pre><code>line that is deliberately much longer than any column can hold</code></pre>
    </article>
  </main>
</body>
</html>
/* layout.css */
*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; font: 16px/1.5 system-ui, sans-serif; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.card { border: 1px solid #999; padding: 1rem; }

.card h2 { overflow-wrap: anywhere; margin: 0 0 .5rem; }

.card pre { overflow-x: auto; margin: 0; }

The two interesting items are the unbreakable long string — which exercises min-content resolution and overflow-wrap — and the fixed-width image inside an auto-fill grid, which exercises whether the track can shrink below the item's content the way you assumed.

Record computed styles, element bounds, scroll dimensions, and a short manual visual checklist alongside expected layout invariants

With /report.js loaded, the layout assertions are:

probe("CSS.supports minmax", () =>
  CSS.supports("grid-template-columns", "repeat(auto-fill, minmax(18rem, 1fr))"));

checkpoint("no horizontal document overflow", () =>
  document.documentElement.scrollWidth <= window.innerWidth);

checkpoint("every card has a positive content box", () =>
  [...document.querySelectorAll(".card")].every((el) => {
    const r = el.getBoundingClientRect();
    return r.width > 0 && r.height > 0;
  }));

checkpoint("no card escapes the main content box", () => {
  const main = document.querySelector(".card-grid").getBoundingClientRect();
  return [...document.querySelectorAll(".card")].every((el) => {
    const r = el.getBoundingClientRect();
    return r.left >= main.left - 1 && r.right <= main.right + 1;
  });
});

checkpoint("overflowing code block scrolls instead of expanding its card", () => {
  const pre = document.querySelector(".card pre");
  return pre.scrollWidth > pre.clientWidth && pre.clientWidth > 0;
});

Then the part a script cannot fully judge: a four-line visual checklist you fill in by hand — is the long word clipped, does the image overflow its border, is there a scrollbar gutter, does anything overlap. Record it as text in the run sheet.

Compare standards-based expectations with cross-engine observations

For each invariant, state the expectation from the specification, then the observation:

Expectation: a grid item's automatic minimum size is content-based, so an unbreakable string can force a track wider than 18rem unless the item's min-width is relaxed. Observation: Chromium, Firefox, and the WebKit build all stay within the document width here — overflow-wrap: anywhere on headings reduces the min-content contribution. Ladybird: not collected.

That is a complete, honest entry: a claim you can verify in the CSS Grid specification, a measurement you took, and a gap you have not filled.

Test a minimal fix such as explicit minimum sizing only when the reduced case justifies it, then rerun every baseline to detect regressions

The tempting fix is min-width: 0 on .card, or minmax(0, 1fr). Both change intrinsic sizing globally and both can cause text to be clipped instead of wrapped elsewhere. Apply a fix only after the reduced case shows the invariant failing, and rerun all four environments afterwards.

Record the diff and the rerun together:

diff: .card { min-width: 0; }
rerun: chromium pass/pass/pass (unchanged)  firefox pass/pass/pass (unchanged)
       webkit   pass/pass/pass (unchanged)  ladybird not collected

A diff that moves no assertion in the three baselines and cannot be checked in the fourth is not a fix. It is a change you cannot justify.

Audit JavaScript and Event Assumptions Without Confusing Detection with Compatibility

Probe required APIs and then exercise their actual behavior

typeof structuredClone === "function" tells you the name exists. It tells you nothing about whether the clone preserved your nested array, whether it threw on a proxy, or whether the transfer list worked. With the report module loaded:

probe("structuredClone present", () => typeof structuredClone);
probe("CSS.supports container-type", () => CSS.supports("container-type", "inline-size"));
probe(":has() accepted by querySelector", () => {
  document.querySelector(":has(> *)");
  return true;
});

checkpoint("structuredClone copies nested data without aliasing", () => {
  const source = { rows: [1, 2, { n: 3 }] };
  const copy = structuredClone(source);
  copy.rows[2].n = 99;
  return copy !== source && copy.rows !== source.rows && source.rows[2].n === 3;
});

The first three are availability. The last one is compatibility. Only the last one should ever fail without a human reading it.

Build an event trace for the chosen workflow using explicit checkpoints

Attach capture-phase listeners to the element the workflow actually touches and push into a trace array. Assert on the application-level outcome, not on an interleaving your code does not depend on. With the report module loaded and #filter present in the fixture:

const TRACKED = ["pointerdown", "mousedown", "focus", "input", "mouseup", "click", "blur", "focusout", "change"];
const trace = [];
const input = document.querySelector("#filter");
let changeValue = null;

for (const type of TRACKED) {
  input.addEventListener(type, () => trace.push(type), true);
}

input.addEventListener("change", () => { changeValue = input.value; }, true);

checkpoint("typing a filter fires change with the typed value", () => {
  input.focus();
  input.value = "abc";
  input.dispatchEvent(new Event("input", { bubbles: true }));
  input.dispatchEvent(new Event("change", { bubbles: true }));
  return input.value === "abc" && changeValue === "abc";
});

Some of this ordering is specified — a focus move fires blur before focusout, and the HTML standard defines when change fires for a text input. Other parts, particularly the exact interleaving of pointer events with their compatibility mouse events, follow the UI Events model and are worth checking rather than assuming. Cite the part you rely on; do not assert on the part you do not.

The concrete rule: if your code would behave identically under two different orderings, do not write an assertion that distinguishes them. You will spend a day on a "bug" that costs no user anything.

Isolate module-loading failures with a small dependency graph and checks for request paths, response status, MIME types, and import errors

Two modules and a page:

<!-- fixtures/import.html -->
<output id="out"></output>
<script type="module" src="/app/main.mjs"></script>
// fixtures/app/main.mjs


document.querySelector("#out").textContent = formatLabel("record-42");
// fixtures/lib/format.mjs
export function formatLabel(value) {
  return value.replaceAll("-", " ");
}

With the report module loaded, load it and catch the failure surface:

checkpoint("main module resolved and executed", () =>
  document.querySelector("#out").textContent === "record 42");

try {
  await import("/app/main.mjs");
} catch (error) {
  // Module resolution and MIME problems surface here, not in your app code.
  inconclusive("dynamic import of /app/main.mjs", `${error.name}: ${error.message}`);
}

Better than a boolean is the error name, because that is what tells you which layer failed:

  • 404 on /app/main.mjs → fixture path bug, not a browser bug.
  • 200 with content-type: application/octet-stream on a .mjs file → your server, and strict MIME checking will (correctly) refuse it.
  • 200 with text/javascript and a SyntaxError → your code.
  • 200 with text/javascript and a TypeError about resolving a relative specifier → resolution behavior worth investigating against the spec.

If the module never loads in one engine and loads everywhere else with identical headers, you have a genuine candidate finding — and the server log proves the headers were identical.

Exercise optional persistence with clean and reused profiles, separating storage failures from assumptions about origin, initialization, or saved state

With /report.js loaded, probe storage explicitly:

let storageMode = "ok";
try {
  localStorage.setItem("__probe", "1");
  storageMode = localStorage.getItem("__probe") === "1" ? "ok" : "silent-mismatch";
  localStorage.removeItem("__probe");
} catch (error) {
  storageMode = `blocked: ${error.name}`;
}

checkpoint(`storage usable (${storageMode})`, () => storageMode === "ok");

Storage can be present and still fail — private or ephemeral profiles, quota, partitioned contexts, and settings that block persistence all produce different failures. Run it twice: once in a clean profile, once in a reused profile with a value you wrote in the previous session. A preference that saves but does not survive relaunch is an "unsupported persistence" result, not an application bug — unless your application already requires persistence in every supported browser, in which case it is your invariant and you need a defined fallback.

Always name the origin in the run sheet. http://127.0.0.1:8787 and http://localhost:8787 are different origins for storage purposes, and switching between them mid-audit produces "flaky" results that are entirely your own doing.

Trace a Failed Workflow to the Correct Boundary

Distinguish application exceptions, browser implementation gaps, server-side browser rejection, third-party dependencies, and harness defects

Before you write anything up, classify:

SymptomLikely boundaryNext step
Uncaught TypeError in your bundleApplicationFix and rerun; not interop
CSS.supports() false for a property you needFeature coverageFallback or progressive enhancement
403/415 from your own APIServer-side rejection (often UA-based)Inspect server logs, not the browser
Third-party script fails to loadThird-party dependencyCheck for UA gating inside their loader
inconclusive on every checkHarness defectFix the harness before blaming anything

The 403 case deserves emphasis. Many backends reject unknown user agents at the WAF, the framework, or the CDN. You will see a broken page in the alpha browser and a clean 200 in Chrome, and the bug is in your edge configuration. Check server logs before you check rendering code.

Inspect user-agent gates and replace unnecessary browser-name checks with capability-based paths where the required behavior can be tested

Grep for the usual suspects:

rg -n "navigator\.userAgent|userAgentData|/Chrome\/|/Safari\/|MSIE|isChrome|isSafari" src server

Then replace brand sniffing with capability gates wherever the behavior is testable:

// fragile: brands the engine instead of testing the feature
const isChromium = /Chrome\/\d+/.test(navigator.userAgent);
if (isChromium) root.classList.add("grid");

// better: tests the behaviour you actually depend on
if (CSS.supports("grid-template-columns", "repeat(auto-fill, minmax(18rem, 1fr))")) {
  root.classList.add("grid");
}

Some gates exist for reasons you cannot remove — a payment SDK's script-tag version selection, for instance. Those are third-party dependencies, and the correct entry in your queue is "dependency blocks unknown engines, no capability path available, informed the vendor," not "fix the browser."

Reduce the application failure to standalone HTML, CSS, and JavaScript while preserving the behavior that triggers it

Reduction is what turns an anecdote into a report. Keep cutting until the fixture is minimal and still fails:

  1. Delete every component not on the failing path.
  2. Replace the data layer with three literal records.
  3. Replace the router with a single anchor.
  4. Remove every stylesheet except the one that affects the failing invariant.
  5. Remove third-party scripts one at a time, rerunning after each.
  6. Stop when removing one more thing makes the failure disappear — then put that thing back and note exactly what it is.

The last step is where most bugs die. Nine times in ten the failure was an incidental DOM shape (a <button> inside a <label>, a nested <a>, a <div> inside a <p> that the parser hoisted somewhere unexpected) rather than an engine defect — and the HTML parser's behavior there is specified, so the reducer had it right and the app had it wrong.

Consult the relevant specification and existing Web Platform Tests; document when available evidence is insufficient to assign fault

Two lookups, both fast:

  • the spec for the feature (CSS Grid for track sizing, the HTML standard for parsing, ECMAScript for language semantics);
  • the Web Platform Tests suite for an existing test that encodes the behavior.

Web Platform Tests is the shared interop suite used by engine vendors, and running or reading the relevant test tells you whether the behavior is standardized, merely conventional, or genuinely underspecified. If a spec is silent and WPT has no test, you have an interop question, not a defect.

📝

"Evidence insufficient" is a legitimate, publishable result. "Chromium, Firefox and WebKit disagree here; the spec text is ambiguous; the alpha build matches WebKit" is more useful to everyone than a confident guess about who is wrong.

Prioritize Findings by User Impact and Strength of Evidence

Build a triage table covering the failed invariant, affected engines, workflow impact, standards evidence, workaround cost, and confidence

Failed invariantEnginesWorkflow impactStandards evidenceWorkaround costConfidence
Horizontal document overflow on long stringsalpha only (candidate)Dashboard unusable at 1280pxGrid auto-minimum sizing is specified; what the engine does here is unconfirmedLow (min-width: 0)Medium — one run, no reduction yet
:has() selector throwsalphaCosmetic theme rule skippedSelector spec defines itLow (class toggle)High — reproduced twice
Storage blocked in private-like profileall enginesPreference not savedStorage is permitted to failMedium (fallback to in-memory)High — behavioural, matches expectation
Third-party SDK script 404all enginesAnalytics missingn/aVendor-dependentHigh

Confidence is a required column. "Medium — one run, no reduction yet" is a real entry; a table where everything is High is a table nobody wrote down as they went.

Separate application bugs, unsupported features, suspected engine defects, and unresolved interoperability questions

Four buckets, four different actions:

  • Application bug — fix it. It was wrong in established browsers too; the alpha just exposed it.
  • Unsupported feature — decide: narrow fallback, progressive enhancement, or an accepted gap with a documented support policy.
  • Suspected engine defect — reduce, check spec and WPT, then file upstream with evidence.
  • Unresolved interop question — record it, link the spec text, and move on.

This prevents the one-line tracker entry reading "doesn't work in Ladybird," which contains no information, assigns no owner, and gets re-investigated from scratch in three months.

Prioritize fixes that improve established supported browsers or remove brittle assumptions; time-box Ladybird-only investigations without hiding their findings

The ordering rule: a fix that improves Firefox or WebKit today outranks a fix that only changes behavior in an alpha nobody has promised to support. Removing a UA gate and replacing it with a capability check is worth doing even if no user ever runs the alpha, because it removes a class of future breakage.

Time-box alpha-only investigations — an hour is a reasonable default for triage. When the box expires, write the finding down with what you know, mark it open, and stop. Time-boxing is not the same as suppressing.

Choose progressive enhancement and narrow standards-based fallbacks over broad polyfills, user-agent allowlists, or weakened security controls

A broad polyfill is a large amount of code loaded to satisfy a browser you are not supporting, and it changes behavior in browsers that were already working. A narrow fallback is a few lines:

// Narrow, capability-based. No polyfill, no allowlist.
if (CSS.supports("container-type", "inline-size")) {
  panel.classList.add("layout--container");
} else {
  panel.classList.add("layout--media"); // media-query fallback, already tested
}

Never weaken a security control to make a test pass. Disabling a CSP, relaxing CORS, or ignoring certificate errors in the alpha browser turns your audit into a measurement of a configuration your users will never run.

Convert the Audit into Regression Coverage and Useful Upstream Reports

Preserve reduced fixtures and assertions in the project's test suite, recording which checks are automated and which remain manual

Move the reduced fixtures into the repository under a named directory and register them with the runner you already have. Keep the report module — it works in any engine, including the ones your CI already drives.

Record coverage explicitly:

CheckAutomated in CIManual onlyReach
No horizontal overflow at 1280pxyes (Chromium, Firefox, WebKit)—stable
Filter reduces visible rows to 3yes—stable
Preference persists across relaunchpartialyes (all engines incl. alpha)profile-dependent
Container-query fallback rendersyes—stable

Manual entries are not a failure of the process. They are an honest accounting of what a headless runner cannot do.

Prepare a Ladybird issue with the exact build, environment, reproduction steps, expected behavior, actual evidence, and public fixture; check for duplicates first

Search the tracker before filing. Then:

Title: grid track exceeds container width with unbreakable content at 1280px

Build:            <release id or commit, as verified from project materials>
Host OS:          <distro/version or macOS version>
Launch config:    default, fresh profile
Viewport:         1280x800
Fixture:          http://127.0.0.1:8787/index.html (revision 2026-11-27-a, attached)
Server headers:   content-type: text/html; charset=utf-8, text/css; charset=utf-8

Steps:
1. Serve the attached fixture directory with `node server.mjs`.
2. Open http://127.0.0.1:8787/index.html at a 1280px viewport.

Expected: document.scrollWidth == window.innerWidth; every .card right edge
within the .card-grid content box. Basis: CSS Grid auto minimum sizing
(css-grid-1 §6.6) and repeated behaviour in Chromium/Firefox/WebKit
(versions recorded).

Actual: documentElement.scrollWidth = 1412 at innerWidth 1280;
the .card containing the long unbroken heading extends past the grid box.

Evidence: report panel JSON pasted below; reduced fixture attached.
Note: this is unconfirmed as an engine issue — it has not been checked
against the relevant WPT tests, and the same fixture passes in three engines.

That last line matters. A report that states its own uncertainty is more credible than one that asserts a defect, and far more likely to be triaged as a real bug than closed as a misconfiguration.

Consider a Web Platform Tests contribution when the failure represents a standards-defined behavior, following repository guidance rather than assuming local test support

If the spec defines the behavior and no WPT covers it, a test contribution is the highest-leverage thing you can produce — it upgrades your finding into shared interop infrastructure. Follow the repository's own contribution guidance: test naming, the required metadata block, how tests are grouped by area. Do not assume the harness runs your tests locally without reading the documentation, and do not write a test that depends on system fonts or precise pixel values.

💪

A single well-formed WPT test for a layout invariant is worth more than ten bug reports. It runs in every engine's CI forever, and it makes the behavior impossible to silently regress.

Schedule a bounded retest against a newer pinned build and distinguish confirmed fixes from changed or still-inconclusive behavior

An alpha moves fast. Schedule one retest at a fixed date against a newly pinned build and classify each prior finding:

Previous findingRetest outcomeClassification
Document overflowpasses nowConfirmed fixed
:has() throwsstill throwsStill open
Storage blockednow writes but does not persistChanged — new behavior, new report
Module MIME errorcannot reproduce, fixture changedInconclusive — fix the fixture first

"Changed" is the category teams forget. A feature that half-works is a new finding, not a partial fix, and recording it as fixed will bite you later.

Keep the Engineering Decision Narrow and Evidence-Based

Summarize the audit's practical result

The outcome is not "we support Ladybird." The outcome is that several hidden engine assumptions stopped being invisible: a UA gate replaced with a capability check, a layout invariant captured as an automated test that now also protects Firefox and WebKit users, a storage fallback defined for profiles that block persistence, and a small set of upstream findings with reproduction steps attached.

A fourth independent engine is valuable to web developers precisely because it is inconvenient. Three engines let a lot of accidental consensus pass for a standard. The audit converts that inconvenience into fixtures and assertions you keep, whatever the alpha does next quarter.

Close with acceptance criteria

Call the audit done when all five of these are true:

  1. One reduced fixture exists in the repository, with a pinned revision identifier.
  2. Comparative results are recorded for Chromium, Firefox, a named WebKit build, and the pinned Ladybird build — or explicitly marked "not collected."
  3. Every mitigation applied is justified by a failed invariant and rerun against all baselines.
  4. Each finding is classified as application bug, unsupported feature, suspected engine defect, or open interop question.
  5. A written support policy names the engines you support, the engines you test, and where the alpha sits — which is: in the lab, not in the matrix.

Further Reading

Share this post

More posts

Loading comments…