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
Move out removeForChildWindow() from resources-impl.js #23344
Move out removeForChildWindow() from resources-impl.js #23344
Conversation
* Removes all resources belonging to the FIE window. | ||
* @private | ||
*/ | ||
removeResources_() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO, a much better option is when a FIE ampdoc gets its own Resources instance that can be completely thrown out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. This PR still brings value though, as once this childwindow
concept is moved out of resources service, we don't need to worry about providing a dummy impl for inabox runtime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dvoytenko this is a pure dependency clean up, I think we should get it in. No?
Is this PR still active? |
I retried the whole travis build, it failed with same msg. @danielrozenberg have you seen this before? |
Yes, this is unfortunately a side-effect of master being red. Since this PR changes |
@danielrozenberg that worked! thanks |
For #23311