Ignore aborted navigations in ops policy sweep runtime accounting

This commit is contained in:
master
2026-03-10 07:55:45 +02:00
parent b8e6f7b585
commit 011aebc802

View File

@@ -565,11 +565,16 @@ async function main() {
return;
}
const errorText = request.failure()?.errorText ?? 'unknown';
if (errorText === 'net::ERR_ABORTED') {
return;
}
runtime.requestFailures.push({
page: page.url(),
method: request.method(),
url,
error: request.failure()?.errorText ?? 'unknown',
error: errorText,
});
});
page.on('response', (response) => {