Skip to content

Conversation

RupinMittal
Copy link
Contributor

The page may be cached. In that scenario, once it's restored, the onload event won't fire. But the onpageshow event will. To make the test work, we change it to use onpageshow instead of onload.

The page may be cached. In that scenario, once it's restored, the onload
event won't fire. But the onpageshow event will. To make the test work,
we change it to use onpageshow instead of onload.
Copy link
Contributor

@cdumez cdumez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nt1m
Copy link
Member

nt1m commented Oct 8, 2025

@natechapin / @foolip @farre / @jgraham Any thoughts? Seems reasonable to not depend on the page being uncached

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants