Skip to content

fix(window): reuse named windows and frames for noopener opens - #2782

Open
lanyue-llk wants to merge 3 commits into
mainfrom
fix/noopener-named-reuse
Open

lanyue-llk wants to merge 3 commits into
mainfrom
fix/noopener-named-reuse

Conversation

@lanyue-llk

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

Copy link
Copy Markdown
Contributor

PR #2782 at a glance

**Track:** Trajectory Replay (Browser Eval). Replaces part of #853.

Closes #2766.
Replaces #853.

Problem

window.open(url, name, "noopener") (and <a target=name rel=noopener>) opened a new window even when a window or iframe named name already existed, leaving the named window on its old page. Chromium follows the HTML rules for choosing a navigable: an existing familiar navigable is reused whether or not noopener is set, and window.open still returns null. Repro: on a page with <iframe name=fr>, run p1 = open('c.html','w1'), then open('b.html','w1','noopener') and open('c.html','fr','noopener') with Target.setDiscoverTargets on.

Reproduce (steps from #2766)

n.html: <iframe name=fr src="b.html"></iframe>. With Target.setDiscoverTargets {discover:true}, evaluate on the page (userGesture: true):

  1. p1 = window.open('c.html', 'w1')
  2. window.open('b.html', 'w1', 'noopener'), wait 1 s, read p1.location.href and count the Target.targetCreated events of type page
  3. window.open('c.html', 'fr', 'noopener'), then read frames[0].location.href

After step 1, clicking <a href="b.html" target="w1" rel="noopener"> behaves the same way.

Expected (Chromium; HTML "rules for choosing a navigable")

A familiar navigable with a matching name is reused whether or not noopener is set. noopener only affects a newly created window, and the call still returns null:

  • step 2: returns null, no new target, and p1.location.href ends with /b.html
  • step 3: returns null, no new target, and the iframe navigates to c.html

Actual

  • step 2: returns null and creates a new b.html target, while p1 stays at c.html
  • step 3: opens a new c.html window, while the iframe stays at b.html
  • the rel=noopener link also creates a new target

Change

The lookup for an existing named context was gated on opener exposure:

  • moli-renderer-v8/src/native_bridge/context_host/popups/renderer_owned.rs: look up the named related window regardless of exposes_opener; only update the reused window's opener when the opener is exposed. Covers both window.open and hyperlinks.
  • moli-renderer-v8/src/context_bootstrap/window_runtime/dialogs.rs: drop && !suppress_opener from the named-iframe path and return null when the opener is suppressed.
  • moli-renderer-v8/src/native_bridge/context_host/popups.rs (open_lightweight_popup_window): the same gate (opener.is_some()) on the lightweight popup path, which serves pages without a browser-owned page factory, e.g. moli fetch. Removed so moli fetch behaves the same.
  • popup_navigation_uses_source_referrer_policy_and_window_features opened its noopener/noreferrer cases under the name child-0 and expected a new context; under the HTML rules (and Chromium) that name selects the existing popup. Those cases now use their own names, so the test still checks referrer policy for new noopener/noreferrer windows.
  • Tests: noopener_window_open_reuses_existing_named_window_and_frame (protocol-server CDP test) opens a named popup and a named iframe, then checks that noopener opens return null, navigate the existing popup/iframe and create no new target; it also covers the self-named case (window.name='shared2' with a popup also named shared2: open('#self2','shared2','noopener') navigates the page itself, leaves the popup alone, no new target). window_open_noopener_navigates_existing_named_lightweight_popup (renderer, lightweight path) checks the same reuse for moli fetch-style pages.

Verification

Repro over CDP (moli serve, userGesture: true); before: released v1.1.23 binary (same code path as origin/main cbf4d01), after: debug build of this branch.

# before
1 p1=open('c.html','w1') -> true            created ['/c.html']
2 open('b.html','w1','noopener') -> null    created ['/b.html']  p1: /c.html
3 open('c.html','fr','noopener') -> null    created ['/c.html']  iframe: /b.html
4 <a target=w1 rel=noopener> click          created ['/b.html']  p1: /c.html
# after
1 p1=open('c.html','w1') -> true            created ['/c.html']
2 open('b.html','w1','noopener') -> null    created []           p1: /b.html
3 open('c.html','fr','noopener') -> null    created []           iframe: /c.html
4 <a target=w1 rel=noopener> click          created []           p1: /b.html  (p1.opener unchanged)
  • cargo fmt --all: clean.
  • cargo clippy -p moli-renderer-v8 -p moli-protocol-server --all-targets --all-features -- -D warnings: passed.
  • cargo nextest run -p moli-protocol-server -E 'test(noopener) | test(auxiliary_page) | test(named)' --no-fail-fast: 51 passed (includes the new test).
  • cargo nextest run -p moli-protocol-server -E 'test(popup_navigation) | test(noopener)': 9 passed (after the referrer test update; CI's first run flagged that test).
  • cargo nextest run -p moli-renderer-v8 -E 'test(window_open) | test(popup)': 165 passed. Negative control: with the popups.rs change reverted, window_open_noopener_navigates_existing_named_lightweight_popup fails (href stays about:blank).
  • cargo nextest run -p moli-protocol-server -E 'test(noopener) | test(popup_navigation) | test(auxiliary_page)': 41 passed.
  • moli fetch n.html --eval-file (open named popup, then noopener opens of the popup and of the named iframe): main [null,"/c.html",null,"/b.html"] (popup and iframe not navigated) → this PR [null,"/b.html",null,"/c.html"].
  • Not run locally: workspace-wide clippy and the full workspace nextest; left to CI.

Cost

Debug builds of origin/main (f935014) and this branch, /usr/bin/time -l, median of 5 runs (two interleaved rounds for the repro; shared host, so absolute times vary between rounds):

main this PR
issue repro over CDP (moli serve, ~6 s of fixed sleeps) 6.75 / 6.35 s, 109.0 / 114.3 MB max RSS 6.83 / 6.29 s, 105.0 / 112.5 MB
ordinary page, moli fetch of a local 46 KB article 0.110 s, 88.8 MB 0.120 s, 88.7 MB

The change removes a condition in front of the existing named-window lookup, which already runs for every named window.open/link target; nothing new is retained. The repro uses slightly less memory because it no longer creates two extra pages.

@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 65d5ff5

No blocking findings

  • Correctness: the fix is in the right place. The named lookup in renderer_owned.rs:124 (open_renderer_owned_auxiliary_window, shared by window.open and hyperlinks) and the named-iframe branch in dialogs.rs:298-308 are no longer gated on opener exposure. The noopener call still returns null (dialogs.rs:303, :461). The reused window's opener is neither set nor cleared (update_existing_opener && exposes_opener). Chrome 157 behaves the same: after open(u,'report3','noopener') reuses a popup, p.opener===window stays true. A noopener open with an unmatched name still creates a context with its own RendererBrowsingContextName::default() group, which is_related_to keeps out of later lookups. Reuse resolves on the browser side through browsing_context_name (target/popup.rs:203), so it does not depend on exposes_opener. Named targets that are cross-origin or sandboxed now use exactly the same lookup and navigation path as opens without noopener. _blank, _self, _parent and _top are handled before this code and are unchanged.
  • Issue comment (self-named case): named_related_window checks the initiator's own context first (document_isolate.rs:488), so open('#self2','shared2','noopener') with window.name==='shared2' now selects the page itself, as Chrome does, and does not create a p.html#self2 target. That is what the non-noopener path already does on v1.1.23 (selectedSelf:true, no new target). On v1.1.23 the noopener variant and <a target=shared3 rel=noopener href=#self3> both create a new target, while Chrome navigates the page itself. This case is not in the verification table or the test; adding one line for it to the CDP test would cover the issue comment.
  • Tests: noopener_window_open_reuses_existing_named_window_and_frame fails without the fix: wait_for_value(p1 ... "/second") times out because main opens a new window. It checks only Chromium behaviour. Updating popup_navigation_referrer.rs is right because the old child-0 sharing assumed non-Chromium behaviour.
  • Cost: the lookup that now also runs for noopener opens already ran for every named open. The before/after numbers are within noise.
  • CI: Format, Clippy, Node, Python and Windows checks pass on 65d5ff5. Nextest, CDP smoke and both release builds were still pending when this was posted, about 35 minutes after the push. The previous run (7f111d7) failed Nextest. The PR says the failing test was popup_navigation_uses_source_referrer_policy_and_window_features, which assumed non-Chromium behaviour and is updated in 65d5ff5. I could not fetch that log to confirm it was the only failure. Confirm that Nextest is green before merging.
  • 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 306f6a2

No blocking findings

  • Lightweight path (popups.rs:687, open_lightweight_popup_window) now matches the browser-side path:
    • window.open still returns null under noopener (dialogs.rs:461, after the lightweight branch).
    • The reused popup's opener is neither set nor cleared. opener is None under noopener (dialogs.rs:328, targets.rs:43), so update_existing_opener && let Some(opener) (popups.rs:699) skips the slot. The new test checks popup.opener === window after reuse.
    • Isolated noopener popups stay invisible to later lookups. A popup created with opener == None gets name_lookup_allowed: false (popups.rs:934), and the lookup still requires record.name_lookup_allowed (popups.rs:694). A second open(u,'x','noopener') with no opener-visible x therefore still creates a new popup.
  • Other moli fetch popup behaviour is unchanged:
    • Service-worker clients.openWindow and the notification navigate path pass "_blank". trackable_lightweight_popup_window_name returns None for it, so they never reach the lookup.
    • Unnamed and _blank noopener opens and hyperlinks are unaffected, including element_navigation.rs (_blank) and window_open_noopener_lightweight_popup_uses_fresh_session_storage.
    • Only a noopener open or link that names a lookup-visible popup changes: it now navigates that popup instead of creating a duplicate.
    • The CDP projection resolves the reused popup by popup_id (moli-protocol/src/domains/target/popup.rs:204), which does not depend on exposes_opener.
  • Reuse with no opener passes opener = None into reopen_lightweight_popup_window. For an about:blank target, the commit origin then comes from lightweight_popup_opener_storage_scope(None, None). That falls back to the top document's scope (popups.rs:~1385), not an opaque origin, so same-origin access to the reused popup is kept, as in Chromium. The initiator still gets no referrer leak: the noopener referrer comes from navigation_initiator.document_referrer.
  • Tests: window_open_noopener_navigates_existing_named_lightweight_popup fails without the popups.rs change. The old gate skips the lookup, so a new popup is created and popup.location.href stays about:blank. It asserts only Chromium behaviour (null return, navigated popup, opener kept). The self-named CDP case added in 65d5ff5..306f6a2 covers the issue comment.
  • Cost: removing a condition in front of a lookup that already runs for every named open adds no new work.
  • Body: the picture (webstone d415f0ae) matches the diff and the verification table. Closes #2766 and the fix(window): ... title are correct.
  • CI on 306f6a2: Format, Clippy, Node, Python, Windows storage and Resolve revisions pass. Nextest, CDP smoke and both release builds are still queued (not started) about 25 minutes after the push. The org's runner queue is backed up: main's own run from 08:31Z is also queued. The 65d5ff5 Nextest also never ran. The last Nextest result on this PR is the 7f111d7 failure, and its cause was fixed in 65d5ff5. Nextest must be green on this head before merge.

@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 16861c2e39 → HEAD bc9e307c4c; benchmark order: head-first; workflow: success.

Session resilience

Metric Base HEAD
Attempted / planned 200 / 200 200 / 200
Direct observable pass 192 / 200 193 / 200
Failures / recovered 8 / 8 7 / 7
Recovery failures 0 0
Lifecycle order violations 0 0
Network order violations 0 0
Wall time 712.5 s 768.8 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 250.6 MiB 247.3 MiB -3.3 MiB
Periodic peak PSS 248.4 MiB 244.5 MiB -3.9 MiB
RSS · first 10 avg 176.3 MiB 180.5 MiB +4.2 MiB
RSS · last 10 avg 188.6 MiB 186.1 MiB -2.4 MiB
RSS · last − first window +12.3 MiB +5.7 MiB -6.6 MiB
RSS · warm slope / 100 nav +7.1 MiB +6.7 MiB -0.5 MiB
PSS · first 10 avg 174.1 MiB 177.4 MiB +3.3 MiB
PSS · last 10 avg 186.1 MiB 183.9 MiB -2.2 MiB
PSS · last − first window +12.0 MiB +6.5 MiB -5.5 MiB
PSS · warm slope / 100 nav +7.5 MiB +7.2 MiB -0.4 MiB
Peak file descriptors 65 67 2
Peak threads 34 33 -1

HEAD memory by 50-navigation quarter

HEAD range Avg RSS Final RSS Peak RSS Avg PSS Final PSS Peak FD
1–50 175.0 MiB 155.0 MiB 219.9 MiB 171.9 MiB 152.0 MiB 62
51–100 181.4 MiB 195.4 MiB 222.7 MiB 178.3 MiB 191.9 MiB 58
101–150 181.1 MiB 161.0 MiB 223.9 MiB 177.9 MiB 157.8 MiB 60
151–200 184.7 MiB 196.7 MiB 227.2 MiB 182.3 MiB 194.5 MiB 58

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; 1 Chromium reference recoveries
Agent episodes ✅ 8/8 Moli episodes passed; 0 failures
Runtime/CDP contracts ✅ 26 contract cases; 0 failures
CDP smoke ✅ 118/118 groups passed; 1,754 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.52 MiB 154.52 MiB 0 B 0.00%
Stripped binary 106.93 MiB 106.93 MiB 0 B 0.00%
gzip binary 53.41 MiB 53.42 MiB +323 B +0.000577%
Rootfs 161.43 MiB 161.43 MiB 0 B 0.00%
gzip rootfs 62.51 MiB 62.52 MiB +997 B +0.001521%

Startup latency and PSS

Case Base p50 HEAD p50 Delta Base PSS HEAD PSS Delta
Serve ready 26.88 ms 26.86 ms −0.02 ms 4.65 MiB 3.98 MiB −684.00 KiB
CDP first page 49.51 ms 49.33 ms −0.18 ms 4.13 MiB 4.14 MiB +10.00 KiB
CDP warm page 11.32 ms 11.23 ms −0.10 ms 53.02 MiB 52.96 MiB −53.50 KiB
CLI about:blank 12.92 ms 13.72 ms +0.79 ms 4.27 MiB 3.32 MiB −967.50 KiB
CLI local JS 25.09 ms 25.68 ms +0.58 ms 2.67 MiB 4.02 MiB +1.35 MiB

Concurrency matrix

Concurrency Base p50 HEAD p50 Delta Base PSS HEAD PSS Delta HEAD failures Unstable B/H
1 23.60 ms 24.03 ms +0.43 ms 615.00 KiB 641.00 KiB +26.00 KiB 0 0/0
5 28.55 ms 26.92 ms −1.62 ms 12.52 MiB 13.35 MiB +856.00 KiB 0 0/0
10 27.66 ms 28.86 ms +1.20 ms 11.97 MiB 12.08 MiB +113.50 KiB 0 0/0
25 28.09 ms 27.11 ms −0.98 ms 12.85 MiB 13.03 MiB +189.00 KiB 0 0/0
100 26.60 ms 26.98 ms +0.38 ms 13.01 MiB 12.88 MiB −126.00 KiB 0 0/0
Frontend differential — ✅ 1,020/1,020 cases matched; 0 issues; 1 Chromium reference recoveries
Match DOM mismatch Diagnostic mismatch Moli error Reference error Infrastructure error Mismatched frames Duration
1,020 0 0 0 0 0 0 8m 26.30s

Recovered Chromium reference infrastructure failures

  • angular/script-module-lifecycle/inert-type-clone-execution — 1 failed attempt(s) before recovery · timed out waiting for Page.loadEventFired event after 92s
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 28.74 ms 31.01 ms
Chromium 8 8 47/47 300.46 ms 88.28 ms
Operation p50 Chromium Moli Delta Delta %
navigate 40.27 ms 8.91 ms −31.36 ms −77.87%
observe 1.06 ms 0.95 ms −0.11 ms −10.57%
fill 4.29 ms 3.65 ms −0.64 ms −14.92%
click 5.33 ms 4.28 ms −1.05 ms −19.78%
Idle-resource episode Peak RSS Peak PSS Average CPU Peak CPU Peak processes Sampler
Moli 70.29 MiB 67.71 MiB 0.77% 10.01% 1 ✅
Chromium 1312.96 MiB 331.52 MiB 1.37% 74.36% 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 24.47 ms 25.73 ms 642.00 KiB
Long-lived CDP session 13 0 18.23 ms 19.05 ms —
CDP smoke — ✅ 118/118 groups passed; 1,754 scenarios

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

Slowest group Scenarios Duration Status
dom-input 62 21.07 s ✅
dom-input 62 20.96 s ✅
fetch-resource-dispatch 72 19.15 s ✅
fetch-resource-dispatch 72 19.13 s ✅
scrollbar-visibility 22 15.40 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.

@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: 184 / 240 rows; 38 / 48 sites produced rows; 10 unexpected empty sites.

✅ Deterministic fixture contract is clean.

Common ancestor 16861c2e39e8 → HEAD bc9e307c4cfb; benchmark order: head-first; workflow: success.

Public 48-site run · informational

Metric Base HEAD Δ
Run status success success —
Extracted rows / contract 184 / 240 184 / 240 0 (0.00%)
Contract fill 76.67% 76.67% 0.00 pp (0.00%)
Sites with rows 38 / 48 38 / 48 0 (0.00%)
Sites meeting row contract 36 / 48 36 / 48 0 (0.00%)
Unexpected empty sites 10 10 0 (0.00%)
Partial-row sites 2 2 0 (0.00%)
Site outcomes extracted: 37; HTTP error + rows: 1; empty: 8; HTTP error + empty: 1; snapshot error + empty: 1 extracted: 36; HTTP error + rows: 2; empty: 8; HTTP error + empty: 1; snapshot error + empty: 1 —
Observed duration 56.10 s 52.07 s -4.03 s (-7.19%)
Estimated CPU 46.73 s 41.18 s -5.55 s (-11.88%)
Peak PSS 248.04 MiB 250.51 MiB +2.47 MiB (+0.99%)
Peak RSS 250.76 MiB 253.54 MiB +2.78 MiB (+1.11%)
Peak threads 29 31 +2 (+6.90%)
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 32 / 40 32 / 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.536, 3.038, 4.539, 6.042, 8.044, 9.546, 11.047, 12.549, 14.05, 15.551, 16.552, 17.053, 18.554, 20.055, 22.058, 23.06, 23.56, 25.063, 26.566, 28.068, 29.571, 31.074, 32.575, 34.077, 36.08, 37.582, 39.083, 40.586, 42.088, 43.59, 45.092, 46.594, 48.096, 50.098, 51.601, 52.603, 53.104, 54.605]
    y-axis "CPU percent" 0 --> 200
    line [125.88, 128.06, 141.73, 129.69, 127.92, 93.9, 133.69, 63.82, 141.88, 27.99, 0, 3.99, 0, 120.09, 137.7, 103.85, 101.92, 125.75, 95.9, 101.83, 131.87, 101.85, 71.96, 49.95, 129.74, 75.81, 91.91, 2, 73.93, 2, 25.98, 17.97, 31.95, 101.84, 139.8, 153.65, 105.92, 117.89]
Loading
xychart-beta
    title "Base memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.035, 1.536, 3.038, 4.539, 6.042, 8.044, 9.546, 11.047, 12.549, 14.05, 15.551, 16.552, 17.053, 18.554, 20.055, 22.058, 23.06, 23.56, 25.063, 26.566, 28.068, 29.571, 31.074, 32.575, 34.077, 36.08, 37.582, 39.083, 40.586, 42.088, 43.59, 45.092, 46.594, 48.096, 50.098, 51.601, 52.603, 53.104, 54.605, 56.103]
    y-axis "Memory MiB" 0 --> 500
    line [13.57, 102.18, 118.63, 149.13, 147.92, 154.68, 144.37, 144.89, 124.47, 145.2, 123.3, 124.11, 123.04, 123.07, 148.79, 131.54, 250.76, 192.82, 198.11, 143.32, 194.8, 131.37, 135.11, 151.09, 142.43, 234.12, 229.36, 230.9, 231.54, 233.86, 232.03, 232.25, 153.58, 143.66, 160.11, 154.73, 139.44, 148.72, 141.48, 0]
    line [10.18, 98.61, 115.2, 145.6, 144.38, 151.19, 140.54, 141.33, 120.87, 141.6, 119.72, 120.5, 119.44, 119.47, 145.2, 128.16, 248.04, 188.79, 194.84, 139.73, 191.18, 127.79, 131.52, 147.52, 139.18, 230.51, 225.76, 227.39, 227.94, 230.26, 228.43, 228.64, 149.98, 140.59, 156.5, 151.13, 134.66, 145.12, 137.94, 0]
Loading

HEAD

xychart-beta
    title "HEAD CPU"
    x-axis "Elapsed seconds" [1.54, 2.54, 3.041, 4.043, 4.544, 6.046, 7.047, 8.55, 10.053, 11.555, 13.057, 14.559, 16.061, 17.561, 19.063, 20.065, 21.568, 22.569, 23.07, 24.571, 26.073, 27.575, 29.077, 30.578, 32.079, 33.08, 34.582, 36.084, 37.585, 39.087, 40.588, 42.089, 43.591, 45.093, 46.094, 47.596, 49.098, 50.601]
    y-axis "CPU percent" 0 --> 200
    line [125.86, 123.99, 73.89, 99.81, 53.89, 119.97, 133.84, 125.89, 107.9, 77.93, 161.82, 77.85, 73.94, 0, 61.96, 77.87, 139.77, 103.93, 117.83, 113.99, 47.87, 81.96, 97.88, 99.88, 71.92, 133.85, 103.84, 23.98, 45.94, 25.94, 2, 25.98, 73.81, 5.99, 11.99, 105.88, 151.82, 113.85]
Loading
xychart-beta
    title "HEAD memory: RSS then PSS"
    x-axis "Elapsed seconds" [0.039, 1.54, 2.54, 3.041, 4.043, 4.544, 6.046, 7.047, 8.55, 10.053, 11.555, 13.057, 14.559, 16.061, 17.561, 19.063, 20.065, 21.568, 22.569, 23.07, 24.571, 26.073, 27.575, 29.077, 30.578, 32.079, 33.08, 34.582, 36.084, 37.585, 39.087, 40.588, 42.089, 43.591, 45.093, 46.094, 47.596, 49.098, 50.601, 52.072]
    y-axis "Memory MiB" 0 --> 500
    line [13.56, 100.18, 108.59, 118.8, 119.58, 110.73, 145.01, 149.22, 151.86, 141.61, 151.84, 138.85, 139.54, 119.22, 124.61, 146.97, 139.09, 155.14, 253.54, 177.43, 208.48, 141.55, 188.1, 135.98, 144.69, 143.41, 178.02, 242.84, 222.5, 233.51, 228.41, 230.58, 229.41, 178.78, 132.73, 132.89, 153.75, 137.33, 163.66, 0]
    line [10.08, 96.46, 105.05, 115.33, 113.82, 107.25, 141.51, 145.73, 147.84, 138.14, 148.36, 135.35, 136.07, 115.71, 121.09, 143.16, 135.91, 151.68, 250.51, 174.17, 205.57, 137.85, 184.19, 132.3, 141.04, 139.76, 174.45, 238.85, 218.84, 229.86, 224.75, 226.93, 225.75, 175.14, 129.08, 129.23, 150.42, 133.65, 160.1, 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.93 s 19.95 s +0.01 s (+0.07%)
Estimated CPU 0.52 s 0.50 s -0.02 s (-3.64%)
Peak PSS 70.05 MiB 70.15 MiB +0.10 MiB (+0.15%)
Peak RSS 73.53 MiB 73.41 MiB -0.12 MiB (-0.16%)
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.

@lanyue-llk
lanyue-llk force-pushed the fix/noopener-named-reuse branch from ff18374 to bc9e307 Compare November 13, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

window.open(url, name, "noopener") opens a new window instead of navigating the existing named window or frame

1 participant