Set Ready For Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Have you checked if this works if the page is loaded as an `iframe` and that `iframe` is refreshed?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
With this change, whenever the external resources are updated,
...and if they are not updated?
if (GetPage()) {
GetPage()->ClearSVGDocumentCacheIfAvailable();
}
This ought to be scoped somehow, no?
if (frame_->GetPage() && frame_->IsLocalRoot()) {
frame_->GetPage()->ClearSVGDocumentCacheIfAvailable();
}
What is this intended to achieve? This will just clear the cache on all committed navigations in local roots.
void Page::ClearSVGDocumentCacheIfAvailable() {
I'd suggest putting this next to (after) `Page::GetSVGResourceDocumentCache`. (Ditto for the declaration.)
WillBeDestroyed();
entries_.clear();
If anything ends up holding a reference to something that was in the cache (all resources will be by necessity), whatever they point to will be dead and unusable (thus likely breaking rendering).
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |