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

Issue 2146453002: BodyStreamBuffer shouldn't run scripts when ActiveDOMObjects are stopped (Closed)

Created:
4 years, 5 months ago by yhirano
Modified:
4 years, 5 months ago
Reviewers:
hiroshige, haraken
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

BodyStreamBuffer shouldn't run scripts when ActiveDOMObjects are stopped Some DataConsumerHandle subclasses close the handle when ActiveDOMObjects are stopped. BodyStreamBuffer::didGetReadable should not do anything because executing scripts are forbidden in such cases. As BodyStreamBuffer::stop will be called shortly, just returning early is enough. BUG=625563 R=hiroshige Committed: https://crrev.com/edb37f2d98c9fc82d8366884eb4c45f75c48cc17 Cr-Commit-Position: refs/heads/master@{#406542}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (10 generated)
yhirano
4 years, 5 months ago (2016-07-12 09:30:46 UTC) #1
hiroshige
lgtm.
4 years, 5 months ago (2016-07-12 10:17:32 UTC) #2
haraken
https://codereview.chromium.org/2146453002/diff/1/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2146453002/diff/1/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp#newcode277 third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:277: if (!m_reader || !m_scriptState->getExecutionContext() || m_scriptState->getExecutionContext()->activeDOMObjectsAreStopped()) Would it be ...
4 years, 5 months ago (2016-07-12 10:29:51 UTC) #4
yhirano
On 2016/07/12 10:29:51, haraken wrote: > https://codereview.chromium.org/2146453002/diff/1/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp > File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): > > https://codereview.chromium.org/2146453002/diff/1/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp#newcode277 > ...
4 years, 5 months ago (2016-07-12 10:32:33 UTC) #9
haraken
On 2016/07/12 10:32:33, yhirano wrote: > On 2016/07/12 10:29:51, haraken wrote: > > > https://codereview.chromium.org/2146453002/diff/1/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp ...
4 years, 5 months ago (2016-07-12 10:35:54 UTC) #10
yhirano
On 2016/07/12 10:35:54, haraken wrote: > On 2016/07/12 10:32:33, yhirano wrote: > > On 2016/07/12 ...
4 years, 5 months ago (2016-07-12 10:41:40 UTC) #11
yhirano
On 2016/07/12 10:41:40, yhirano wrote: > On 2016/07/12 10:35:54, haraken wrote: > > On 2016/07/12 ...
4 years, 5 months ago (2016-07-14 14:13:08 UTC) #12
hiroshige
4 years, 5 months ago (2016-07-15 10:06:17 UTC) #14
yhirano
haraken@: ping
4 years, 5 months ago (2016-07-20 01:44:45 UTC) #15
haraken
On 2016/07/20 01:44:45, yhirano wrote: > haraken@: ping Sorry, I missed this one... Would it ...
4 years, 5 months ago (2016-07-20 07:46:14 UTC) #16
yhirano
On 2016/07/20 07:46:14, haraken wrote: > On 2016/07/20 01:44:45, yhirano wrote: > > haraken@: ping ...
4 years, 5 months ago (2016-07-20 08:05:49 UTC) #17
haraken
On 2016/07/20 08:05:49, yhirano wrote: > On 2016/07/20 07:46:14, haraken wrote: > > On 2016/07/20 ...
4 years, 5 months ago (2016-07-20 08:25:34 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2146453002/20001
4 years, 5 months ago (2016-07-20 08:32:14 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-20 13:07:39 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 13:10:01 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/edb37f2d98c9fc82d8366884eb4c45f75c48cc17
Cr-Commit-Position: refs/heads/master@{#406542}

Powered by Google App Engine
This is Rietveld 408576698