Skip to content
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

HTML: Run a history navigation test in a popup to report a result #11296

Merged
merged 2 commits into from
Jun 11, 2018

Conversation

zcorpan
Copy link
Member

@zcorpan zcorpan commented Jun 1, 2018

Part of #11269.

@zcorpan zcorpan requested a review from jgraham June 1, 2018 12:08
@wpt-pr-bot wpt-pr-bot added the html label Jun 1, 2018
@wpt-pr-bot wpt-pr-bot requested review from jdm and zqzhang June 1, 2018 12:08
@zcorpan zcorpan requested a review from foolip June 6, 2018 12:19
Copy link
Member

@foolip foolip left a comment

Choose a reason for hiding this comment

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

LGTM % button indirection

t.add_cleanup(() => {
popupWin.close();
})
document.getElementById('button').click();
Copy link
Member

Choose a reason for hiding this comment

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

Why the indirection via a button here? Popup blocking will still be in effect, so just inline all the code here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just to make it slightly more convenient when running the test manually.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, OK

@foolip foolip merged commit 2c4b6f9 into master Jun 11, 2018
@foolip foolip deleted the zcorpan/history-navigation-timeout branch June 11, 2018 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants