DescriptionPersist plugins over reattach.
Currently we have logic to allow plugins to opt-in to persisting
when detached. This CL updates the logic to always persist when
we are doing a reattach. This allows us to remember the state of
things like Flash files as we reattach the DOM nodes.
The original persist CL (r196024) was reverted because it caused timeouts for:
Reason: breaks the following browser_tests:
WebViewTest.EmbedderVisibilityChanged,
WebViewTest.GuestVisibilityChanged,
WebViewTest.Shim_TestResizeWebviewWithDisplayNoneResizesContent
and the following extensions_browsertests:
WebViewAPITest.EmbedderVisibilityChanged
WebViewAPITest.GuestVisibilityChanged
This Cl removes the call to widget->dispose() in the HTMLPluginElement::attach
call which fixes this issue.
BUG=370459
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201401
Patch Set 1 #Patch Set 2 : Remove dispose call. #Patch Set 3 : #
Total comments: 8
Patch Set 4 : Review cleanup #Patch Set 5 : Rebase to master #
Messages
Total messages: 18 (4 generated)
|