-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for visibility event sequence in case of back/forward navigation #31329
Conversation
}] | ||
iframe.src = iframePath1; | ||
document.body.appendChild(iframe); | ||
let sequence = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: ';'
} | ||
promise_test(async t => { | ||
const iframe = document.createElement('iframe'); | ||
const expected_order = [{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ation (web-platform-tests#31329) * Add tests for visibility event sequence in case of back/forward navigation * Remove whitespace * nits Co-authored-by: Noam Rosenthal <noamr@wix.com>
Note that
unload
events are not tested here, are they're not guaranteed to be fired.