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

Issue 403133002: Suppress ScriptForbiddenScope in Document.cpp and FrameView.cpp in release mode (Closed)

Created:
6 years, 5 months ago by haraken
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, abarth-chromium, blink-reviews-dom_chromium.org, dglazkov+blink, jchaffraix+rendering, pdr., rune+blink, rwlbuis
Project:
blink
Visibility:
Public.

Description

Suppress ScriptForbiddenScope in Document.cpp and FrameView.cpp in release mode r178351 enabled ScriptForbiddenScope in release builds, then we hit a lot of crashes from real-world plugins (see the below bugs). We should suppress the ScriptForbiddenScopes in Document.cpp and FrameView.cpp in release builds. BUG=395299, 395081, 395164 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178518

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M Source/bindings/core/v8/NPV8Object.cpp View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
M Source/platform/ScriptForbiddenScope.h View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M Source/platform/ScriptForbiddenScope.cpp View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M Source/web/WebPluginContainerImpl.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
haraken
PTAL This CL fixes a couple of release-block bugs.
6 years, 5 months ago (2014-07-19 01:18:29 UTC) #1
esprehn
Can we put those a lot father down the stacks where the real script entry ...
6 years, 5 months ago (2014-07-19 02:09:54 UTC) #2
haraken
> Can we put those a lot father down the stacks where the real script ...
6 years, 5 months ago (2014-07-19 03:32:45 UTC) #3
haraken
https://codereview.chromium.org/403133002/diff/60001/Source/web/WebPluginContainerImpl.cpp File Source/web/WebPluginContainerImpl.cpp (right): https://codereview.chromium.org/403133002/diff/60001/Source/web/WebPluginContainerImpl.cpp#newcode687 Source/web/WebPluginContainerImpl.cpp:687: ScriptForbiddenScope::SuppressScriptForbiddenScopeInRelease thisSuppressionShouldBeRemoved; It's scary we're invoking JavaScript inside a ...
6 years, 5 months ago (2014-07-19 03:39:49 UTC) #4
haraken
6 years, 5 months ago (2014-07-19 05:26:51 UTC) #5
sof
https://codereview.chromium.org/403133002/diff/60001/Source/web/WebPluginContainerImpl.cpp File Source/web/WebPluginContainerImpl.cpp (right): https://codereview.chromium.org/403133002/diff/60001/Source/web/WebPluginContainerImpl.cpp#newcode687 Source/web/WebPluginContainerImpl.cpp:687: ScriptForbiddenScope::SuppressScriptForbiddenScopeInRelease thisSuppressionShouldBeRemoved; On 2014/07/19 03:39:49, haraken wrote: > > ...
6 years, 5 months ago (2014-07-19 06:14:44 UTC) #6
haraken
On 2014/07/19 06:14:44, sof wrote: > https://codereview.chromium.org/403133002/diff/60001/Source/web/WebPluginContainerImpl.cpp > File Source/web/WebPluginContainerImpl.cpp (right): > > https://codereview.chromium.org/403133002/diff/60001/Source/web/WebPluginContainerImpl.cpp#newcode687 > ...
6 years, 5 months ago (2014-07-19 06:26:49 UTC) #7
esprehn
I'll look into fixing these stacks after we've identified them. To unsubscribe from this group ...
6 years, 5 months ago (2014-07-19 06:36:30 UTC) #8
sof
On 2014/07/19 06:26:49, haraken wrote: > On 2014/07/19 06:14:44, sof wrote: > > > https://codereview.chromium.org/403133002/diff/60001/Source/web/WebPluginContainerImpl.cpp ...
6 years, 5 months ago (2014-07-19 06:38:19 UTC) #9
haraken
> I'll look into fixing these stacks after we've identified them. Are you fine with ...
6 years, 5 months ago (2014-07-19 06:53:19 UTC) #10
esprehn
On 2014/07/19 06:53:19, haraken wrote: > > I'll look into fixing these stacks after we've ...
6 years, 5 months ago (2014-07-19 07:10:37 UTC) #11
haraken
On 2014/07/19 07:10:37, esprehn wrote: > On 2014/07/19 06:53:19, haraken wrote: > > > I'll ...
6 years, 5 months ago (2014-07-19 14:57:53 UTC) #12
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 5 months ago (2014-07-19 14:58:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/403133002/80001
6 years, 5 months ago (2014-07-19 14:58:35 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-19 16:12:13 UTC) #15
Message was sent while issue was closed.
Change committed as 178518

Powered by Google App Engine
This is Rietveld 408576698