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

Cleanup iframes when running tests on chrome. #3313

Merged
merged 2 commits into from
May 24, 2016

Conversation

mkhatib
Copy link
Contributor

@mkhatib mkhatib commented May 24, 2016

Removes test iframes to address some of the issues with memory leaks #3138

@mkhatib mkhatib force-pushed the remove-test-iframes branch from dac0cd1 to fbeeb94 Compare May 24, 2016 18:41
@mkhatib
Copy link
Contributor Author

mkhatib commented May 24, 2016

Filed #3315 and #3314 to follow up with the issues in Safari and the skipped test.

@@ -76,7 +77,12 @@ sinon.sandbox.create = function(config) {
// Global cleanup of tags added during tests. Cool to add more
// to selector.
afterEach(() => {
const cleanup = document.querySelectorAll('link,meta');
const cleanupTagNames = ['link', 'meta'];
if (platform.isChrome()) {
Copy link
Member

Choose a reason for hiding this comment

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

!platform.isSafari()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

Choose a reason for hiding this comment

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

Not pushed yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was, Github sometimes doesn't seem to update the diff view for some reason. Now updated.

@cramforce
Copy link
Member

LGTM

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.

2 participants