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

chore: refactor context isolation spec #14394

Merged
merged 2 commits into from
Aug 31, 2018

Conversation

deepak1556
Copy link
Member

@deepak1556 deepak1556 commented Aug 30, 2018

Description of Change

Fixes #14346

Checklist
  • PR description included and stakeholders cc'd
  • npm test passes
  • tests are changed or added
  • relevant documentation is changed or added
  • PR title follows semantic commit guidelines
Release Notes

Notes: no-notes

@deepak1556 deepak1556 requested review from a team and alexeykuzmin August 30, 2018 21:57
show: false,
webPreferences: {
contextIsolation: true,
preload: path.join(fixtures, 'api', 'isolated-preload.js')
}
})
if (ws != null) ws.destroy()
Copy link
Contributor

Choose a reason for hiding this comment

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

It is better to keep this.
The afterEach hook won't be called if a test fails, and a window will be leaked.

Copy link
Contributor

@alexeykuzmin alexeykuzmin left a comment

Choose a reason for hiding this comment

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

^

@deepak1556
Copy link
Member Author

@alexeykuzmin have made the changes, thanks!

@MarshallOfSound MarshallOfSound merged commit 32158ca into master Aug 31, 2018
@release-clerk
Copy link

release-clerk bot commented Aug 31, 2018

No Release Notes

@MarshallOfSound MarshallOfSound deleted the context_isolation_spec_patch branch August 31, 2018 20:51
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