mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
6f273bf6d2
There are two issues being fixed here. First, if DisallowBFCaching is called before CanSavePresentation, we should really return false from CanSavePresentation. Otherwise we'll end up doing a bunch of state-capturing work for no reason. Second, if DisallowBFCaching is called between CanSavePresentation and nsDocumentViewer::Destroy, we need to actually tear down the viewer state. What we do right now is avoid putting the viewer into the SHEntry, but still not tear down its presshell and so forth, which leads to asserts in ~nsDocumentViewer when this case is hit. |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |