Commit 71631b3
[RPP Observations] Handle prerendered pages correctly
Clicking a link to a prerendered page could trip up the live metrics
model if the frame from the original page is removed before live metrics
handles the interaction event.
This CL skips the step to check if a frame is the primary frame if it
comes from the already known "good" execution context.
Bug: 394918742
Change-Id: I8773d0771690a55a583afaf4ed3d97f4058346ee
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6284568
Reviewed-by: Connor Clark <[email protected]>
Commit-Queue: Adam Raine <[email protected]>1 parent 75fdad2 commit 71631b3
1 file changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | 404 | | |
410 | 405 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
415 | 422 | | |
416 | | - | |
417 | | - | |
418 | 423 | | |
419 | 424 | | |
420 | 425 | | |
| |||
0 commit comments