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

codenvy-1871: avoid iframe script execution on source changes #4504

Merged
merged 1 commit into from
Mar 24, 2017

Conversation

ashumilova
Copy link
Contributor

Signed-off-by: Ann Shumilova [email protected]

What does this PR do?

This PR fixes problem with execution the iframe scripts on source changes. What we have now: the iframe with IDE is not loaded yet and we change it's source, the previous scripts start getting canceled requests status and throw initialization errors. Removing iframe from DOM fixes the problem.

What issues does this PR fix or reference?

codenvy/codenvy#1871 (not related to teams, it's quick workspace switching in navbar bug)

Changelog

[UD] Avoid any IDE iframe script execution, when not loaded yet and source changes.

Release Notes

N/A

Docs PR

N/A

@ashumilova ashumilova added this to the 5.6.0 milestone Mar 22, 2017
@ashumilova ashumilova self-assigned this Mar 22, 2017
@codenvy-ci
Copy link

Copy link
Contributor

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

great analysis of the problem

@ashumilova ashumilova merged commit 1daefae into master Mar 24, 2017
@ashumilova ashumilova deleted the codenvy-1871 branch March 24, 2017 07:29
@ashumilova ashumilova added the kind/bug Outline of a bug - must adhere to the bug report template. label Mar 28, 2017
@JamesDrummond JamesDrummond mentioned this pull request Apr 2, 2017
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants