Commit fa15b1b
Restore the scroll in all frames before taking a screenshot.
Tests run in a subframe and `scrollIntoView` could scroll the parent frame, which could change the visible portion of the test frame.
Bug: 401489541
Change-Id: I4e167448f66d5ba54414c9a9ce369e048b876921
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6382080
Commit-Queue: Philip Pfaffe <[email protected]>
Auto-Submit: Danil Somsikov <[email protected]>
Reviewed-by: Philip Pfaffe <[email protected]>1 parent 2b7dae6 commit fa15b1b
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
327 | 332 | | |
328 | 333 | | |
329 | 334 | | |
| |||
0 commit comments