开始审核样式

This commit is contained in:
rain
2026-07-15 17:23:19 +08:00
parent 241a7af54c
commit 0dec90ffdd
46 changed files with 999 additions and 964 deletions
+3
View File
@@ -62,4 +62,7 @@ if ($captureScript -notmatch "item\.url\.startsWith\('http://localhost:5173'\)")
if ($captureScript -match "item\.url\.includes\('localhost:5173'\)") {
throw 'Chrome capture must not use an ambiguous localhost substring when selecting its CDP target'
}
if ($captureScript -notmatch "process\.env\.CHROME_DEBUGGING_PORT \|\| '9222'") {
throw 'Chrome capture must preserve port 9222 by default and allow an isolated QA port.'
}
Write-Output 'CAPTURE-CHROME-PAGE-CONTRACT PASS'