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
fix: backport patch for leaking HTML5 video elements #19347
Conversation
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.
@MarshallOfSound it looks like some things got altered orthogonal to this patch:
see these changes
@codebytere Those changes are due to the different versions of |
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.
@MarshallOfSound while those additional changes may have no effect, they are confusing. Can't you just bring in the changes to .patches and the new mediacontrols_disconnect_observers_when_controls_are_hidden.patch file?
I just ran git-export-patches. I'd rather avoid manually editing patch files by hand or picking and choosing. |
@MarshallOfSound I get that but couldn't you be selective on what files you commit? |
@jkleinsc those hunks generate the sha that my newly added patch is based off of. It might work, but it might not. Id rather just take the output of git-export-patches. |
test failures look video related, I'll take a look |
9917c0f
to
2a1b833
Compare
@jkleinsc @codebytere Tests are fixed, should be All Clear now. Needed to handle a |
Approving given added context above! |
Can you share the CL that changed this ? I am concerned that Did you try running with |
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.
LGTM, I don't have context on the media code changes, so can't assert for the nullptr
check introduced additionally. Besides nullptr
check is not gonna cause trouble here anyways.
Release Notes Persisted
|
@MarshallOfSound Does this also fix the following bug: #18019 ? Thanks |
Backports https://chromium-review.googlesource.com/c/chromium/src/+/1677053 to
4-2-x
to fix a rather noticeable memory leak when removing HTML5 video elements from the DOMNotes: Fixed memory leak when removing HTML5 video elements from the DOM with Javascript