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

Issue 1693003002: Fix pepper crash when reattaching plugins in style recalc (Closed)

Created:
4 years, 10 months ago by kozy
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, haraken, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix pepper crash when reattaching plugins in style recalc Method document::updateLayoutTree creates ScriptForbiddenScope. An HTML plugin can be reattached while updating layout tree. Pepper plugin can be destroyed while reattaching and executes some scripts. This execution produces crash on ScriptForbidden assert. BUG=550427 R=pfeldman@chromium.org,dcheng@chromium.org,dgozman@chromium.org Committed: https://crrev.com/4d5765f4066be1198558f6c07ebd5f53ea74be8e Cr-Commit-Position: refs/heads/master@{#376084}

Patch Set 1 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +4 lines, -0 lines 3 comments Download

Messages

Total messages: 20 (7 generated)
kozy
ptal
4 years, 10 months ago (2016-02-12 18:26:41 UTC) #1
kozy
@dchen, please take a look! PluginScriptForbiddenScope was introduced by you in https://codereview.chromium.org/1170413003 .
4 years, 10 months ago (2016-02-12 18:34:58 UTC) #4
kozy
4 years, 10 months ago (2016-02-12 18:35:35 UTC) #6
dcheng
+esprehn How frequent is this crash? The right fix (but much more complicated) is to ...
4 years, 10 months ago (2016-02-12 19:11:52 UTC) #8
kozy
On 2016/02/12 19:11:52, dcheng wrote: > +esprehn > > How frequent is this crash? > ...
4 years, 10 months ago (2016-02-12 19:56:44 UTC) #9
kozy
On 2016/02/12 19:56:44, kozyatinskiy wrote: > On 2016/02/12 19:11:52, dcheng wrote: > > +esprehn > ...
4 years, 10 months ago (2016-02-12 20:04:45 UTC) #10
dcheng
On 2016/02/12 at 20:04:45, kozyatinskiy wrote: > On 2016/02/12 19:56:44, kozyatinskiy wrote: > > On ...
4 years, 10 months ago (2016-02-12 20:09:12 UTC) #11
pfeldman
https://codereview.chromium.org/1693003002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1693003002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode1735 third_party/WebKit/Source/core/dom/Document.cpp:1735: PluginScriptForbiddenScope pluginForbidScript; How would /core contributor know when to ...
4 years, 10 months ago (2016-02-17 01:20:31 UTC) #12
kozy
Elliot, please take a look.
4 years, 10 months ago (2016-02-17 20:28:53 UTC) #13
esprehn
lgtm https://codereview.chromium.org/1693003002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1693003002/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode1735 third_party/WebKit/Source/core/dom/Document.cpp:1735: PluginScriptForbiddenScope pluginForbidScript; On 2016/02/17 at 01:20:31, pfeldman wrote: ...
4 years, 10 months ago (2016-02-18 02:17:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1693003002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1693003002/20001
4 years, 10 months ago (2016-02-18 02:31:10 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 10 months ago (2016-02-18 03:55:18 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 03:56:47 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4d5765f4066be1198558f6c07ebd5f53ea74be8e
Cr-Commit-Position: refs/heads/master@{#376084}

Powered by Google App Engine
This is Rietveld 408576698