Classify a silent translate-worker crash as out of memory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a569b4003c
commit
7dc77978a9
1 file changed
+7
-1
@@ -158,7 +158,13 @@ export function TranslatePanel({
|
||||
break;
|
||||
}
|
||||
};
|
||||
worker.onerror = (event) => fail(event.message ?? "", "worker-crash");
|
||||
// An empty crash message is the silent OOM tab-kill signature (D-027,
|
||||
// D-030) — say so in words the "translate" stage classifies as OOM.
|
||||
worker.onerror = (event) =>
|
||||
fail(
|
||||
event.message || "The translation stopped: the browser ran out of memory.",
|
||||
"worker-crash",
|
||||
);
|
||||
const request: TranslateRequest = {
|
||||
type: "translate",
|
||||
requestId,
|
||||
|
||||
Reference in new issue
Block a user