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

refactor: new-window -> setWindowOpenHandler #860

Merged
merged 3 commits into from
Oct 27, 2021

Conversation

erickzhao
Copy link
Member

@erickzhao erickzhao requested a review from a team September 23, 2021 17:25
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 94.001% when pulling 84321c3 on refactor/deprecate-new-window into 2691a9b on master.

@@ -92,7 +92,8 @@ describe('windows', () => {
expect(createContextMenu).toHaveBeenCalled();
});

it('prevents new-window"', () => {
// FIXME: new test for setWindowOpenHandler
it.skip('prevents new-window"', () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure how to directly test this tbh :/

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

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

LGTM

@erickzhao erickzhao merged commit ef195f4 into master Oct 27, 2021
@erickzhao erickzhao deleted the refactor/deprecate-new-window branch October 27, 2021 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants