https://github.com/rubberyuzu/bfcache-not-retored-reason/blob/main/NotRestoredReason.md#example-2-cross-origin-iframes confused me a bit because I saw blocked = true, but reasons = []. I then realized it was because you are hiding sensitive information about cross-origin iframes. But maybe this would be more obvious if reasons was null instead of the empty array? Or maybe that would be annoying for web developers to deal with. I am not sure, but I think it's worth considering.
https://github.com/rubberyuzu/bfcache-not-retored-reason/blob/main/NotRestoredReason.md#example-2-cross-origin-iframes confused me a bit because I saw
blocked
= true, butreasons
= []. I then realized it was because you are hiding sensitive information about cross-origin iframes. But maybe this would be more obvious ifreasons
wasnull
instead of the empty array? Or maybe that would be annoying for web developers to deal with. I am not sure, but I think it's worth considering.