Hmm, I did not expected that [BrowserChild::MakeHidden()](https://searchfox.org/mozilla-central/rev/d2f8488b6a704443a5c5bfc6d2878171b5f0d393/dom/ipc/BrowserChild.cpp#2977) is called frequently during scrolling. As a simpler fix, we might delay ClearCachedResources() call when BrowserChild is used as iframe.
Bug 1737503 Comment 10 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Hmm, I did not expected that [BrowserChild::MakeHidden()](https://searchfox.org/mozilla-central/rev/d2f8488b6a704443a5c5bfc6d2878171b5f0d393/dom/ipc/BrowserChild.cpp#2977) is called frequently during scrolling. As a simpler fix, we might defer ClearCachedResources() call when BrowserChild is used as iframe.
Hmm, I did not expected that [BrowserChild::MakeHidden()](https://searchfox.org/mozilla-central/rev/d2f8488b6a704443a5c5bfc6d2878171b5f0d393/dom/ipc/BrowserChild.cpp#2989) is called frequently during scrolling. As a simpler fix, we might defer ClearCachedResources() call when BrowserChild is used as iframe.