Note: There are a few cases of duplicates in user autocompletion which are being worked on.

when going back in history, docshell restores zoom level in a wrong way.




Document Navigation
6 years ago
2 months ago


(Reporter: arno renevier, Unassigned)


(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)



(1 attachment)



6 years ago
Lets say we visit page A, then page B.

When navigating back from page B to page A, and nsDocShell::RestoreFromHistory is called, we have, oldMUDV refering to pageA content viewer, and newMUDV refering to pageB content viewer.
And newMUDV full zoom is set to oldMUDV.
This means that zoom of newly visited page is set back to previously visited page. I think this is not the right thing to do.
To reproduce:
- set browser.zoom.siteSpecific to false
- go to some page where cache will be activated. For example
- unzoom a lot to make text small
- go to some other page. For example
- zoom a lot to make text big
- go back.
- text is big

expected result:
- text should be small

Comment 1

6 years ago
Created attachment 556014 [details] [diff] [review]
patch (without tests)

Here is a patch fixing the issue.
I've uploaded it on try server and it shows no apparent regression:
I'm now waiting for #681392 to be fixed to write a relevant test.


6 years ago
Depends on: 681392


2 months ago
Component: History: Global → Document Navigation
You need to log in before you can comment on or make changes to this bug.