Delete persisted plugin when detaching without reattach.
A plugin kept through a reattachment operation isn't processed and hooked up immediately (synchronously) when attaching the layout object, so it's possible that it might still be around if the element is detached again. If it gets detached without being reattached, we'd never get around to deleting the persisted plugin. The test added is not a WPT, because it uses an internal application/x-blink-test-plugin thing. Bug: 962790 Change-Id: If33126bdd54b613fc4df82a738f77b3b312cb318 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1614197 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#660338}
Showing
Please register or sign in to comment