fix: dangling speculative frames (#45609)

* fix: dangling speculative frames

* harden lifecycle state checks

* feedback

* add const
This commit is contained in:
Sam Maddock
2025-02-18 17:52:05 -05:00
committed by GitHub
parent ecd7eb36ac
commit ee67bc7dcb
6 changed files with 174 additions and 53 deletions

View File

@@ -132,6 +132,7 @@ declare namespace Electron {
_send(internal: boolean, channel: string, args: any): void;
_sendInternal(channel: string, ...args: any[]): void;
_postMessage(channel: string, message: any, transfer?: any[]): void;
_lifecycleStateForTesting: string;
}
interface WebFrame {