Closed Bug 1692970 Opened 3 years ago Closed 3 years ago

Remove DevTools specific code to handle fixed element in full page screenshot

Categories

(DevTools :: General, task)

task

Tracking

(Fission Milestone:M8, firefox88 fixed)

RESOLVED FIXED
88 Branch
Fission Milestone M8
Tracking Status
firefox88 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

With Bug 1688813 drawSnapshot will handle fixed element, so we don't have to do it from DevTools code.
We can remove this._lastScrollPosition in the screenshotContentActor, which means we can also get rid of captureDone, which was only used to set the original scroll position back.

Whiteboard: dt-fission-m3-triage

Tracking DevTools test bugs for Fission M8 (blocking Release experiment).

Fission Milestone: --- → M8
Whiteboard: dt-fission-m3-triage

With Bug 1688813 drawSnapshot will handle fixed element, so we don't have to do
it from DevTools code.

We can remove this._lastScrollPosition in the screenshotContentActor, which means
we can also get rid of captureDone, which was only used to set the original scroll
position back.

We don't have to deal with backward compatibility as the
screenshot content actor was introduced in 87.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0473c8410874
[devtools] Remove code handling fixed element in screenshot content actor. r=ladybenko,devtools-backward-compat-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: