mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(tracing): invalidate non-stalling evaluates on crash (#14392)
This commit is contained in:
parent
d97c9bd5b6
commit
2fab2c1ca1
@ -107,8 +107,10 @@ export class FrameManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dispose() {
|
dispose() {
|
||||||
for (const frame of this._frames.values())
|
for (const frame of this._frames.values()) {
|
||||||
frame._stopNetworkIdleTimer();
|
frame._stopNetworkIdleTimer();
|
||||||
|
frame._invalidateNonStallingEvaluations('Target crashed');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mainFrame(): Frame {
|
mainFrame(): Frame {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user