After a lot of poking, I managed to boil this
bug down to (on a chromeos build)
with a large bfcache (unclear if necessary, maybe if a.com and c.com were not cacheable this would repro with cache_size=1, I haven't tried that)
navigate: a.com-> b.com -> c.comBack (to b.com)Back (to a.com)Wait 2sLet the runloop runYou get an unexpected message blink.mojom.LocalFrameHost DidFocusFrame.
A billion of anything seems like a lot! Although looking at the code, it seems like we allow the message through anyway, so hopefully if anything bad is happening, we're evicting.
It's unclear to me if this is anything more than a problem in testing,
I haven't looked at the trace yet but if anyone knows off the top of their head why this is going wrong, let me know,
F