Open Bug 1544989 Opened 2 years ago Updated 2 months ago

Need automated tests for the case where pres-shell is restored from BFCache

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: hiro, Unassigned)

Details

(Whiteboard: [fission-])

Attachments

(1 file)

Though I am not sure yet where transform information will be stored in bug 1519546, as for CSS visibility we are going to store it in each nsIPresShell in bug 1541253. So if the pres-shell is restored in BFCache, we need to update it with the latest value, Timothy noticed it in a review comment. It would be nice test cases if some other information will be stored in nsIPresShell or some other instances which might be restored from the BFCache.

Attaching patch is a piece of such cases, but after spending some time for that, I realized that we probably need to write mochitest-browser instead of mochitest-chrome to make an ancestor element of the tab window hidden with visibility:hidden.

Anyways, I am going to defer the tests in this bug for now.

Hiro, this isn't Fission-specific, correct?

Flags: needinfo?(hikezoe.birchill)

Right, this is for BFCache regardless whether fission is enabled or not.

No longer blocks: rendering-fission
Flags: needinfo?(hikezoe.birchill)
Whiteboard: [fission-]
You need to log in before you can comment on or make changes to this bug.