Review changes batch 6 of 6

This commit is contained in:
2026-07-20 06:52:33 +08:00
parent db97d3da27
commit 5a31a75da0
160 changed files with 9206 additions and 572 deletions
@@ -0,0 +1,13 @@
$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $PSScriptRoot
$runtime = Get-Content -LiteralPath (Join-Path $root 'tests/g11-g12-settings-poems-runtime-smoke.js') -Raw -Encoding utf8
foreach ($required in @(
'const waitForPageLoad = async (socket, trigger)',
"message.method === 'Page.loadEventFired'",
"await waitForPageLoad(socket, () => send('Page.reload'))"
)) {
if ($runtime -notmatch [regex]::Escape($required)) { throw "G11/G12 runtime navigation synchronization missing: $required" }
}
Write-Output 'G11-G12-RUNTIME-NAVIGATION-CONTRACT PASS'