Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Issue 1866153002: Don't persist plugins across reattach for widget updates. (Closed)

Created:
4 years, 8 months ago by rune
Modified:
4 years, 8 months ago
Reviewers:
esprehn
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't persist plugins across reattach for widget updates. HTMLPluginElement::lazyReattachIfNeeded() is called for changes where we expect the plugin to be re-initialized. For instance, if the type or data attributes changes on <object>. In theory, a detach() as part of a plugin-persisting lazy re-attach done previously may already have put the plugin widget into the persisted plugin widget member. In that case we will return early from detach() which is why we're resetting the persisted widget in lazyReattachIfNeeded() instead of handling it in detach(). R=esprehn@chromium.org BUG=567329 Committed: https://crrev.com/2c26b87586f57a0b3d4ce5aca1077b36d406c7d3 Cr-Commit-Position: refs/heads/master@{#385590}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/plugins/change-widget-and-click-crash-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/plugins/plugin-reload-data.html View 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/plugins/plugin-reload-data-expected.txt View 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866153002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866153002/1
4 years, 8 months ago (2016-04-06 21:34:15 UTC) #2
rune
4 years, 8 months ago (2016-04-06 21:36:12 UTC) #3
esprehn
lgtm
4 years, 8 months ago (2016-04-06 23:04:38 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-06 23:40:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866153002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866153002/1
4 years, 8 months ago (2016-04-06 23:50:11 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-06 23:57:16 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 23:58:09 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2c26b87586f57a0b3d4ce5aca1077b36d406c7d3
Cr-Commit-Position: refs/heads/master@{#385590}

Powered by Google App Engine
This is Rietveld 408576698