"Understanding how Chrome and CRDP handles frames"
This commit is contained in:
parent
7a767d94a7
commit
f5e3b47245
|
@ -1383,6 +1383,16 @@ export default Archivist;
|
|||
} = frameNavigated;
|
||||
const frameNode = State.FrameNodes.get(frameId);
|
||||
|
||||
if ( ! frameNode ) {
|
||||
throw new TypeError(
|
||||
`Sanity check failed: frameId ${
|
||||
frameId
|
||||
} is not in our FrameNodes data, which currently has ${
|
||||
State.FrameNodes.size
|
||||
} entries.`
|
||||
);
|
||||
}
|
||||
|
||||
if ( frameNode.id !== frameId ) {
|
||||
throw new TypeError(
|
||||
`Sanity check failed: Child frameId ${
|
||||
|
|
Loading…
Reference in New Issue