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

Issue 2314503003: Capture wrong states in RawResourceClientStateChecker::responseReceived() (Closed)

Created:
4 years, 3 months ago by hiroshige
Modified:
4 years, 3 months ago
Reviewers:
yhirano
CC:
chromium-reviews, blink-reviews, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@Loader_assertNeverINline
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Capture wrong states in RawResourceClientStateChecker::responseReceived() To investigate in which state RawResourceClientStateChecker::responseReceived() crashes, this CL adds separate assertions to each of wrong states. This CL should be reverted at least before going to beta. BUG=640960 Committed: https://crrev.com/068bdce3e08bb45e7fdb0b7377787f5946c64ec2 Cr-Commit-Position: refs/heads/master@{#416845}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add SECURITY_CHECK(m_state == Started) #

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

Depends on Patchset:

Messages

Total messages: 12 (6 generated)
hiroshige
PTAL.
4 years, 3 months ago (2016-09-07 01:58:25 UTC) #3
yhirano
lgtm https://codereview.chromium.org/2314503003/diff/1/third_party/WebKit/Source/core/fetch/RawResource.cpp File third_party/WebKit/Source/core/fetch/RawResource.cpp (right): https://codereview.chromium.org/2314503003/diff/1/third_party/WebKit/Source/core/fetch/RawResource.cpp#newcode310 third_party/WebKit/Source/core/fetch/RawResource.cpp:310: SECURITY_CHECK(m_state != NotifyFinished); Can you add SECURITY_CHECK(m_state == ...
4 years, 3 months ago (2016-09-07 02:07:46 UTC) #4
hiroshige
https://codereview.chromium.org/2314503003/diff/1/third_party/WebKit/Source/core/fetch/RawResource.cpp File third_party/WebKit/Source/core/fetch/RawResource.cpp (right): https://codereview.chromium.org/2314503003/diff/1/third_party/WebKit/Source/core/fetch/RawResource.cpp#newcode310 third_party/WebKit/Source/core/fetch/RawResource.cpp:310: SECURITY_CHECK(m_state != NotifyFinished); On 2016/09/07 02:07:46, yhirano wrote: > ...
4 years, 3 months ago (2016-09-07 02:10:45 UTC) #5
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/2314503003/20001
4 years, 3 months ago (2016-09-07 02:20:44 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-07 04:31:33 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 04:33:24 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/068bdce3e08bb45e7fdb0b7377787f5946c64ec2
Cr-Commit-Position: refs/heads/master@{#416845}

Powered by Google App Engine
This is Rietveld 408576698