Skip to content

fix(dump): keep media sources and sanitized range/color values in markdown - #2813

Merged
ldm0 merged 2 commits into
mainfrom
fix/markdown-media-sources-range
Nov 13, 2026
Merged

ldm0 merged 2 commits into
mainfrom
fix/markdown-media-sources-range

Conversation

@lanyue-llk

@lanyue-llk lanyue-llk commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

PR #2813 at a glance

**Track:** Web Fetch (Browser Eval). Replaces part of #1592.

Closes #2773, closes #2774.
Replaces part of #1592.

Problem. moli fetch URL --dump markdown had two problems:

Repros are the fixtures in the issues (v.html, r.html).

Reproduce (steps from #2773, #2774)

From #2773:

<!doctype html><p>Before</p>
<video controls width=320><source src="/a.webm" type="video/webm"><source src="/a.mp4" type="video/mp4">Sorry, your browser doesn't support embedded videos.</video>
<audio controls><source src="/demo.ogg"></audio>
<video poster="/cover.jpg"><source src="/m.webm"><source src="/m.mp4"></video>
<p>After</p>
moli fetch http://127.0.0.1:8000/v.html --dump markdown

Expected

Chromium plays the media from its <source> children (video.currentSrc is …/a.webm) and never shows the fallback text. moli-html2md produces exactly this for the same HTML in its own unit tests:

Before

[Video](http://127.0.0.1:8000/a.webm) [Video](http://127.0.0.1:8000/a.mp4)

[Audio](http://127.0.0.1:8000/demo.ogg)

![Video poster](http://127.0.0.1:8000/cover.jpg) [Video](http://127.0.0.1:8000/m.webm) [Video](http://127.0.0.1:8000/m.mp4)

After

Actual

Before

Sorry, your browser doesn't support embedded videos.

After

All source URLs are lost and the fallback text is printed. In moli, getComputedStyle(source).display is none; in Chrome it is inline.

From #2774:

<!doctype html>
<label>Volume <input type=range value=150></label>
<label>Tint <input type=color value="#FF0000"></label>
<input type=range value="abc">
moli fetch http://127.0.0.1:8000/r.html --dump markdown
moli fetch http://127.0.0.1:8000/r.html --eval "JSON.stringify([...document.querySelectorAll('input')].map(i=>i.value))"

Expected

The Markdown reports the value each control actually holds after HTML value sanitization. That is what .value returns in both Chrome and moli: ["100","#ff0000","50"].

Volume 100 Tint #ff0000 50

Actual

Volume 150 Tint #FF0000 abc

The --eval output on the same page is ["100","#ff0000","50"]. Number and date inputs already use the sanitized value; only range and color do not.

Change.

  • --dump markdown drops <video>/<audio> <source> URLs and prints the fallback text instead #2773. style_engine/ua/html.css listed source among the display: none elements. Chromium's UA sheet has no such rule; getComputedStyle(source).display is inline there. The Markdown view suppresses every display: none node, so html2md's media handling never saw the sources and fell back to the element's other children. Removing source from that list fixes the root cause and the computed style. A <source> is an empty element: it adds no text, and its media or picture parent still decides what is rendered. A source inside a hidden <video> still disappears with its parent.
  • --dump markdown prints raw <input type=range|color> value attributes instead of the sanitized value #2774. runtime/markdown_dump/visibility.rs: range and color inputs skipped the live (sanitized) value unless the user had edited them, so html2md read the raw attribute. They now export the sanitized input_value() whenever an author value attribute is present and non-empty. An absent or empty value keeps the existing output, which the value='' test row covers.

Verification.

v1.1.23                                   this branch
Before                                    Before

Sorry, your browser doesn't support …     [Video](…/a.webm) [Video](…/a.mp4)

![Video poster](…/cover.jpg)              [Audio](…/demo.ogg)

After                                     ![Video poster](…/cover.jpg) [Video](…/m.webm) [Video](…/m.mp4)

                                          After
r.html:  Volume 150 Tint #FF0000 abc      Volume 100 Tint #ff0000 50

The branch output matches the issue's expected text exactly.

  • Edge cases on this branch (pic.html):
    • a <source> inside a display:none <video> stays out of the Markdown;
    • a stray <source> inside a <p> adds no text (Body text);
    • <picture><source srcset><img> still exports only the image;
    • a --layout --dump screenshot of the page is byte-identical to main's;
    • getComputedStyle(source).display is now inline, and a stray source is an empty inline box (0 px wide).
  • The exact-output test markdown_live_structure_and_visibility_have_exact_outputs (page_vm/tests/markdown_dump.rs) changes "abc invalid" to "50 #000000". It also gains a value=150 / #FF0000 row, a <video>/<audio> <source> row, and a row covering a hidden video's source, a stray source and a <picture>.
  • cargo nextest run -p moli-renderer-v8 -E 'test(markdown) | test(picture) | test(source) | test(media) | test(ua_)': 1187 passed.
  • cargo fmt --all clean; cargo clippy -p moli-renderer-v8 --all-targets --all-features -- -D warnings clean (workspace clippy not run locally).
  • Not run locally: the full workspace nextest (the renderer test binary does not link within local RAM); left to CI.

Cost. The UA-sheet change removes a selector from one rule, and the range/color change is one attribute read per such input in the existing Markdown pass. No layout or style work is added. The debug builds compared are main cbf4d01 and this branch (on a newer main), same profile, /usr/bin/time -l, alternating runs, median of 7:

case main wall / max RSS branch wall / max RSS
v.html --dump markdown 0.09 s / 89.3 MB 0.09 s / 89.3 MB
r.html --dump markdown 0.06 s / 75.2 MB 0.06 s / 75.8 MB
ordinary local article --dump markdown 0.14 s / 91.3 MB 0.14 s / 91.3 MB
pic.html --layout --dump screenshot 0.43 s / 112.7 MB 0.45 s / 112.8 MB

@lanyue-llk lanyue-llk left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent review of 1eae6db

Changes needed (1)

  1. #2773 is fixed in the Markdown pass, not at its root cause (moli-renderer-v8/src/runtime/page_dump/visibility.rs:241-254). Issue #2773 gives the root cause: style_engine/ua/html.css:255-256 puts source in the UA display: none list. Chromium and the HTML rendering section have no such rule; Chrome reports getComputedStyle(source).display === "inline", while moli reports none. The PR keeps that rule and adds an exception keyed on the parent tag in the Markdown visibility pass. As a result:

    • getComputedStyle(source).display still differs from Chrome, so scripts and CDP clients that read it still see none.
    • Any other consumer that drops display: none nodes still loses media sources.
    • Every node in every Markdown dump now gets a tag compare, including pages with no media.

    Smallest fix: delete source from html.css:256 and drop both visibility.rs hunks. Keep the new test rows; they should pass unchanged. A <source> inside a display: none video stays suppressed through the existing parent rule (visibility.rs:255-257). <picture><source srcset> is safe because html2md already reads it through the <img> and tolerates visible sources (moli-html2md/tests/regressions.rs:509); resource_url_attributes("source") resolves only src. <source> is a void element and video/audio are replaced media (layout_renderer/source_view.rs:606-607), so layout gains no visible box. Check one <picture> layout snapshot or test when making the change.

Checked, no issue:

  • Range/color (#2774): the sanitized input_value() is exported only when value is present and non-empty (visibility.rs:173-175). That gives the issue's Volume 100 Tint #ff0000 50 exactly. Absent and empty value keep the previous output (the value='' row). Other input types and dirty controls take the same path as before. The extra attribute read only happens for range/color inputs.
  • With the current approach, <source> inside a display: none <video> stays hidden through the parent-suppressed check. <track> is not in the UA hidden list and html2md does not consume it, so nothing changes. Leaving <picture> out is consistent because html2md does not read <source srcset>.
  • Tests: both new rows fail on main (fallback text; 150 #FF0000).
  • CI at this head: Format, Clippy, Node, Python and Windows checks pass. Nextest, CDP smoke and both release builds are still pending.
  • Picture: pending.

@lanyue-llk lanyue-llk left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent review of 3745d4a

No blocking findings

Round 1 is addressed. source is gone from the UA display: none list (style_engine/ua/html.css:255-256), and both visibility.rs media-source hunks are dropped. Against 1eae6db, the only other change is one extra test row. This matches Chromium's UA sheet and the HTML rendering section, and it fixes getComputedStyle(source).display for every consumer, not only Markdown. It is the simplest fix for moli.

What I checked for code that depended on source being display: none:

  • Accessibility: moli-dom/src/accessibility/ax_projection.rs:317-334 excludes source by tag, not by style, so the AX tree is unchanged.
  • innerText: video/audio ignore their DOM children (native_bridge/element/content.rs:528-543), so their sources were never read. A stray <source> is empty and not an atomic inline, so it adds no text or separator. The result is the same as in Chrome.
  • Layout, hit testing and screenshots: media is replaced (layout_renderer/source_view.rs:607, dom_presentation.rs:98), so a source inside it gets no box. A source in <picture> or a stray one becomes an empty inline. Whitespace collapsing works across inline boundaries, and an empty inline adds no line height, so <picture>\n <source>\n <img> keeps the same collapsed whitespace and line boxes as in Chrome. I found no Rust copy of the UA hidden list that would also need the change.
  • html2md: source is not in structure.rs::is_block. media.rs:269-292 is the only consumer of source, and it reads the children of video/audio. So A<source>B stays AB, <picture> exports only its <img>, and video sources are not emitted twice. The visibility.rs boundary logic treats inline as a non-boundary.
  • Hidden media: a source inside a display: none video stays suppressed through the parent rule (visibility.rs:244-246). The new row covers this.
  • Mock geometry (default CLI without --layout): a <source> now counts as one 24 px mock flow step, like any other rendered element (geometry/mock/layout.rs:177). This is within the mock's stated approximation and does not affect Markdown output.
  • Range/color: unchanged since round 1 and still correct (visibility.rs:171-175).
  • Tests: the <video>/<audio> source row fails on main (fallback text), and the range/color rows fail on main (abc invalid, 150 #FF0000).
  • CI at this head: Format, Node, Python and Windows pass. Nextest, Clippy, CDP smoke and both release builds are still pending.
  • Body: has Closes #2773, closes #2774 and a correct title. The before/after picture matches the issue's expected output. The Cost table is plausible for a one-selector CSS change plus one attribute read.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Spider Bench A/B

✅ All benchmark browser service runs completed; results are informational.

Public HEAD: 189 / 240 rows; 39 / 48 sites produced rows; 9 unexpected empty sites.

✅ Deterministic fixture contract is clean.

Common ancestor f0c484b7d801 → HEAD 3745d4a9dafe; benchmark order: base-first; workflow: success.

Public 48-site run · informational

Metric Base HEAD Δ
Run status success success —
Extracted rows / contract 189 / 240 189 / 240 0 (0.00%)
Contract fill 78.75% 78.75% 0.00 pp (0.00%)
Sites with rows 39 / 48 39 / 48 0 (0.00%)
Sites meeting row contract 37 / 48 37 / 48 0 (0.00%)
Unexpected empty sites 9 9 0 (0.00%)
Partial-row sites 2 2 0 (0.00%)
Site outcomes extracted: 37; HTTP error + rows: 2; empty: 8; snapshot error + empty: 1 extracted: 38; HTTP error + rows: 1; empty: 8; snapshot error + empty: 1 —
Observed duration 47.96 s 40.44 s -7.51 s (-15.67%)
Estimated CPU 39.25 s 37.23 s -2.02 s (-5.13%)
Peak PSS 242.75 MiB 261.50 MiB +18.76 MiB (+7.73%)
Peak RSS 246.20 MiB 265.21 MiB +19.01 MiB (+7.72%)
Peak threads 32 32 0 (0.00%)
Mismatched sites 0 0 0
Timeout with items 0 0 0
Category rows Base HEAD Δ
news 35 / 40 35 / 40 0
stocks 20 / 40 20 / 40 0
tech 35 / 40 35 / 40 0
sports 27 / 40 27 / 40 0
games 37 / 40 37 / 40 0
life 35 / 40 35 / 40 0

Public-site content, timing, and memory are noisy. This single A/B run reports evidence only; site outcome counts explain missing rows without treating them as a deterministic regression.

CPU and memory timelines

These are bounded 40-point views of the same complete process-tree samples used by the HTML report. CPU uses 100% per occupied logical core; memory lines are RSS first and PSS second when complete PSS samples are available.

Base

xychart-beta
    title "Base CPU"
    x-axis "Elapsed seconds" [1.035, 1.536, 2.537, 3.54, 4.041, 5.543, 6.543, 8.045, 9.546, 10.547, 12.049, 13.55, 14.551, 16.054, 17.555, 18.557, 20.058, 21.562, 22.562, 24.064, 25.564, 26.565, 28.067, 29.57, 30.571, 32.073, 33.573, 34.573, 36.075, 37.577, 38.578, 40.08, 41.581, 42.581, 44.083, 45.583, 46.584, 47.588]
    y-axis "CPU percent" 0 --> 200
    line [15.99, 121.88, 107.8, 91.74, 113.79, 141.75, 102.04, 149.58, 65.93, 69.91, 89.95, 5.99, 5.99, 0, 141.91, 119.94, 53.9, 3.99, 83.95, 97.96, 101.94, 107.96, 117.93, 115.81, 77.9, 43.93, 56.01, 119.96, 57.93, 117.79, 99.88, 85.91, 3.99, 48, 109.9, 44.01, 121.8, 169.87]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.035, 1.035, 1.536, 2.537, 3.54, 4.041, 5.543, 6.543, 8.045, 9.546, 10.547, 12.049, 13.55, 14.551, 16.054, 17.555, 18.557, 20.058, 21.562, 22.562, 24.064, 25.564, 26.565, 28.067, 29.57, 30.571, 32.073, 33.573, 34.573, 36.075, 37.577, 38.578, 40.08, 41.581, 42.581, 44.083, 45.583, 46.584, 47.588, 47.956]
    y-axis "Memory MiB" 0 --> 500
    line [13.54, 77.43, 101.23, 108.01, 110.95, 138.62, 144.34, 133.21, 154.92, 135.66, 144.04, 144.98, 120.27, 122.85, 123.71, 140.39, 140.07, 129.09, 122.37, 140.74, 144.36, 167.98, 181.37, 161.76, 150.44, 178.79, 134.13, 139.14, 144.91, 143.65, 200.78, 246.2, 182.21, 132.33, 144.61, 176.41, 142.99, 167.78, 166.93, 0]
    line [10.27, 74.07, 97.83, 104.59, 107.53, 135.23, 140.85, 129.74, 151.46, 132.81, 140.53, 141.54, 116.8, 119.37, 120.24, 136.93, 136.66, 125.62, 118.79, 137.61, 140.14, 164.89, 177.94, 158.36, 147.02, 175.53, 130.78, 135.82, 141.47, 141.24, 197.44, 242.75, 178.75, 128.91, 142.19, 173, 139.54, 164.16, 163.4, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.038, 2.039, 2.539, 3.541, 4.541, 5.543, 7.045, 8.046, 9.047, 10.048, 11.549, 12.051, 12.551, 13.551, 14.553, 16.055, 17.057, 18.057, 19.058, 20.561, 21.562, 22.563, 23.565, 25.067, 26.068, 27.068, 28.07, 29.572, 30.573, 31.575, 32.575, 34.078, 35.078, 36.08, 37.081, 37.581, 38.581, 39.583]
    y-axis "CPU percent" 0 --> 200
    line [39.95, 104.01, 128.04, 117.77, 135.84, 131.62, 145.63, 125.89, 135.92, 127.95, 51.88, 1.99, 31.99, 77.98, 149.68, 15.99, 1.99, 43.96, 91.86, 105.89, 113.88, 103.88, 101.92, 111.83, 145.81, 105.93, 101.8, 95.9, 7.99, 67.88, 125.89, 11.98, 18.01, 101.76, 115.97, 157.95, 44, 111.77]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.037, 1.038, 2.039, 2.539, 3.541, 4.541, 5.543, 7.045, 8.046, 9.047, 10.048, 11.549, 12.051, 12.551, 13.551, 14.553, 16.055, 17.057, 18.057, 19.058, 20.561, 21.562, 22.563, 23.565, 25.067, 26.068, 27.068, 28.07, 29.572, 30.573, 31.575, 32.575, 34.078, 35.078, 36.08, 37.081, 37.581, 38.581, 39.583, 40.443]
    y-axis "Memory MiB" 0 --> 500
    line [13.57, 88.16, 109.14, 114.63, 117.62, 153.89, 130.76, 152.85, 155.96, 155.4, 165.11, 120.18, 121.12, 123.63, 128.22, 144.2, 121.3, 126.07, 132.55, 149.18, 121.9, 188.98, 265.21, 190.39, 135.77, 142.56, 140.76, 135.69, 142.96, 131.44, 151.33, 210.48, 146.7, 133.77, 161.23, 176.07, 147.93, 134.72, 151.08, 0]
    line [10.34, 84.83, 105.71, 110.32, 114.19, 150.58, 128.25, 149.48, 152.68, 151.97, 161.76, 116.69, 117.7, 120.23, 124.99, 141, 118.04, 122.82, 129.3, 145.88, 119.58, 185.74, 261.5, 187.19, 132.5, 139.53, 137.57, 132.48, 139.78, 128.24, 148.28, 207.29, 143.47, 130.54, 158.36, 173.44, 144.88, 131.52, 147.85, 0]
Loading

Deterministic fixture · required contract

The fixture exercises 15 routes: 8 are expected to emit rows and 7 intentionally exercise empty, loading, or timeout behavior.

Metric Base HEAD Δ
Run status success success —
Extracted rows / contract 40 / 40 40 / 40 0 (0.00%)
Contract fill 100.00% 100.00% 0.00 pp (0.00%)
Sites with rows 8 / 15 8 / 15 0 (0.00%)
Sites meeting row contract 15 / 15 15 / 15 0 (0.00%)
Unexpected empty sites 0 0 0
Partial-row sites 0 0 0
Site outcomes extracted: 7; HTTP error + rows: 1; empty: 3; timeout + empty: 4 extracted: 7; HTTP error + rows: 1; empty: 3; timeout + empty: 4 —
Observed duration 19.97 s 19.87 s -0.09 s (-0.47%)
Estimated CPU 0.46 s 0.45 s -0.01 s (-2.16%)
Peak PSS 69.46 MiB 69.52 MiB +0.06 MiB (+0.08%)
Peak RSS 72.98 MiB 73.11 MiB +0.13 MiB (+0.18%)
Peak threads 21 21 0 (0.00%)
Mismatched sites 0 0 0
Timeout with items 0 0 0

Full HTML, JSON, CSV, logs, and page snapshots: workflow run and full spider-bench-results artifact.

The public-web A/B is informational. The exact HEAD fixture contract runs as a separate required CI check; timing and public-site content deltas remain non-blocking.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Sequential Navigation Soak A/B

✅ HEAD completed the 200-navigation resilience and memory observation.

One browser process, one target, and one CDP session navigate CSDN → SegmentFault → Huaban → example.com repeatedly. This run issued 200 Page.navigate commands per binary.

Common ancestor f0c484b7d8 → HEAD 3745d4a9da; benchmark order: base-first; workflow: success.

Session resilience

Metric Base HEAD
Attempted / planned 200 / 200 200 / 200
Direct observable pass 193 / 200 192 / 200
Failures / recovered 7 / 7 8 / 8
Recovery failures 0 0
Lifecycle order violations 0 0
Network order violations 0 0
Wall time 871.3 s 824.3 s

A public-page failure is reported separately from an unrecoverable session. The soak requires all navigation attempts, zero failed recovery, zero lifecycle/network ordering violations, and complete resource evidence.

Process-tree memory

Metric Base HEAD Δ
Boundary samples 200 200 0
Boundary RSS samples 200 200 0
Boundary PSS samples 200 200 0
Periodic peak RSS 263.4 MiB 264.6 MiB +1.2 MiB
Periodic peak PSS 258.7 MiB 261.5 MiB +2.8 MiB
RSS · first 10 avg 187.7 MiB 189.7 MiB +2.0 MiB
RSS · last 10 avg 189.5 MiB 205.6 MiB +16.1 MiB
RSS · last − first window +1.9 MiB +16.0 MiB +14.1 MiB
RSS · warm slope / 100 nav +8.5 MiB +10.3 MiB +1.9 MiB
PSS · first 10 avg 184.5 MiB 186.4 MiB +1.9 MiB
PSS · last 10 avg 186.3 MiB 202.1 MiB +15.9 MiB
PSS · last − first window +1.7 MiB +15.7 MiB +13.9 MiB
PSS · warm slope / 100 nav +8.4 MiB +10.2 MiB +1.8 MiB
Peak file descriptors 68 68 0
Peak threads 33 33 0

HEAD memory by 50-navigation quarter

HEAD range Avg RSS Final RSS Peak RSS Avg PSS Final PSS Peak FD
1–50 184.1 MiB 155.6 MiB 226.5 MiB 181.2 MiB 153.4 MiB 58
51–100 189.9 MiB 127.7 MiB 234.8 MiB 187.1 MiB 123.6 MiB 57
101–150 190.1 MiB 160.3 MiB 231.6 MiB 187.0 MiB 157.7 MiB 59
151–200 199.4 MiB 236.2 MiB 239.1 MiB 196.4 MiB 232.6 MiB 59

Raw reports and per-navigation boundary samples: workflow run and full sequential-navigation-soak-results artifact.

Public-site timing and memory are observational. Use the A/B deltas and trend shape as evidence, not as a deterministic performance threshold.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

CI Regression Report

Source CI run · source state at render: in_progress · artifacts: 6/6

Check Status Signal
Release regression ✅ HEAD/base failures 0/0; raw binary 0.00%
Frontend differential ✅ 1,020/1,020 cases matched; 0 issues
Agent episodes ✅ 8/8 Moli episodes passed; 0 failures
Runtime/CDP contracts ✅ 26 contract cases; 0 failures
CDP smoke ✅ 116/116 groups passed; 1,680 scenarios
WebMainBench ✅ 545/545 completed; 0 unexpected failures
Release regression — ✅ HEAD/base failures 0/0; raw binary 0.00%

Package and image size

Metric Base HEAD Delta Delta %
Raw binary 154.16 MiB 154.16 MiB 0 B 0.00%
Stripped binary 106.61 MiB 106.61 MiB 0 B 0.00%
gzip binary 53.21 MiB 53.21 MiB +32 B +0.000057%
Rootfs 161.06 MiB 161.06 MiB 0 B 0.00%
gzip rootfs 62.30 MiB 62.30 MiB −678 B −0.001038%

Startup latency and PSS

Case Base p50 HEAD p50 Delta Base PSS HEAD PSS Delta
Serve ready 26.89 ms 26.89 ms −0.00 ms 4.24 MiB 5.09 MiB +867.00 KiB
CDP first page 49.20 ms 49.71 ms +0.51 ms 4.23 MiB 4.83 MiB +616.00 KiB
CDP warm page 11.15 ms 11.60 ms +0.45 ms 52.88 MiB 52.87 MiB −6.50 KiB
CLI about:blank 13.68 ms 13.03 ms −0.65 ms 3.59 MiB 4.01 MiB +430.00 KiB
CLI local JS 26.02 ms 25.42 ms −0.59 ms 4.35 MiB 3.84 MiB −514.50 KiB

Concurrency matrix

Concurrency Base p50 HEAD p50 Delta Base PSS HEAD PSS Delta HEAD failures Unstable B/H
1 24.26 ms 23.91 ms −0.35 ms 701.00 KiB 697.00 KiB −4.00 KiB 0 0/0
5 27.03 ms 26.90 ms −0.13 ms 13.26 MiB 11.89 MiB −1.37 MiB 0 0/0
10 27.44 ms 27.19 ms −0.25 ms 12.26 MiB 13.42 MiB +1.16 MiB 0 0/0
25 27.31 ms 27.51 ms +0.20 ms 16.04 MiB 13.03 MiB −3.01 MiB 0 0/0
100 27.65 ms 28.46 ms +0.81 ms 14.19 MiB 29.17 MiB +14.98 MiB 0 0/0
Frontend differential — ✅ 1,020/1,020 cases matched; 0 issues
Match DOM mismatch Diagnostic mismatch Moli error Reference error Infrastructure error Mismatched frames Duration
1,020 0 0 0 0 0 0 6m 56.38s
Agent episodes · Moli vs Chromium — ✅ 8/8 Moli episodes passed; 0 failures
Fast contract Episodes Passed Assertions Ready p50 Episode p50
Moli 8 8 47/47 29.47 ms 31.00 ms
Chromium 8 8 47/47 309.22 ms 83.36 ms
Operation p50 Chromium Moli Delta Delta %
navigate 45.27 ms 5.79 ms −39.48 ms −87.21%
observe 0.90 ms 0.93 ms +0.04 ms +4.00%
fill 3.33 ms 3.70 ms +0.37 ms +11.16%
click 4.53 ms 4.48 ms −0.05 ms −1.12%
Idle-resource episode Peak RSS Peak PSS Average CPU Peak CPU Peak processes Sampler
Moli 69.73 MiB 67.92 MiB 0.90% 16.13% 1 ✅
Chromium 1307.70 MiB 434.45 MiB 1.05% 37.94% 13 ⚠️ PSS partial
Runtime and CDP session contracts — ✅ 26 contract cases; 0 failures
Suite Cases Failures Median case p50 Median case p95 Median peak PSS p50
Synthetic fetch 13 0 23.37 ms 24.36 ms 654.00 KiB
Long-lived CDP session 13 0 17.63 ms 18.54 ms —
CDP smoke — ✅ 116/116 groups passed; 1,680 scenarios

Workers: 4 · cumulative group time: 473.60 s · failed groups: 0

Slowest group Scenarios Duration Status
fetch-resource-dispatch 72 23.34 s ✅
dom-input 62 23.33 s ✅
fetch-resource-dispatch 72 23.23 s ✅
dom-input 62 23.11 s ✅
scrollbar-visibility 22 21.51 s ✅
WebMainBench · 545 pages — ✅ 545/545 completed; 0 unexpected failures
Completed Successful Expected DNS failure Unexpected failures Panics Crashes Timeouts Empty output
545/545 544 1 0 0 0 0 0

Frozen HTML · Linux · --wait done · 45 seconds per page · no retries. Content quality is evaluated separately.

Diagnostics: webmainbench-results — every page's Markdown, stderr, and exit status. Source run and artifacts

All artifact fields are parsed by the trusted default-branch renderer; missing or invalid inputs remain visible as unavailable.

@lanyue-llk
lanyue-llk force-pushed the fix/markdown-media-sources-range branch from 3745d4a to ac77917 Compare November 13, 2026 13:09
@ldm0
ldm0 merged commit 657dbbf into main Nov 13, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants