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

Issue 2859383002: Add CHECK()s about ImageLoader::has_pending_load_event_ (Closed)

Created:
3 years, 7 months ago by hiroshige
Modified:
3 years, 7 months ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add CHECK()s about ImageLoader::has_pending_load_event_ As preparation for [1], this CL checks some assumptions to hold that are helpful for proving the equivalences in [1]. [1] https://codereview.chromium.org/2859093003/ BUG=624697, 719759 Review-Url: https://codereview.chromium.org/2859383002 Cr-Commit-Position: refs/heads/master@{#471464} Committed: https://chromium.googlesource.com/chromium/src/+/1b070387595668ec438ffec65185e61017300e3c

Patch Set 1 #

Patch Set 2 : Refine assertions for ImageDocument #

Patch Set 3 : bug fix #

Total comments: 2

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Total comments: 4

Patch Set 8 : Rebase #

Patch Set 9 : Comment #

Patch Set 10 : Place CHECK() in DispatchPendingErrorEvent() #

Patch Set 11 : Rebase #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -5 lines) Patch
M third_party/WebKit/Source/core/loader/ImageLoader.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +18 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 68 (52 generated)
hiroshige
PTAL.
3 years, 7 months ago (2017-05-05 20:02:54 UTC) #11
kinuko
lgtm Due-diligence: Will we make these DCHECK at some point? Or are we sure these ...
3 years, 7 months ago (2017-05-08 05:34:34 UTC) #12
kinuko
nit: "to be hold" in the description -> "to hold" (or to be held)
3 years, 7 months ago (2017-05-08 05:36:30 UTC) #13
kouhei (in TOK)
lgtm Would you add comments to the DCHECKs wherever possible?
3 years, 7 months ago (2017-05-08 13:15:59 UTC) #14
hiroshige
> Would you add comments to the DCHECKs wherever possible? I tried but found the ...
3 years, 7 months ago (2017-05-08 18:56:42 UTC) #17
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/2859383002/60001
3 years, 7 months ago (2017-05-08 18:57:26 UTC) #21
hiroshige
I found the assertions are failing in some unit tests, due to inconsistent flag settings ...
3 years, 7 months ago (2017-05-09 00:11:06 UTC) #27
yhirano
Please see #13. https://codereview.chromium.org/2859383002/diff/120001/third_party/WebKit/Source/core/loader/ImageLoader.cpp File third_party/WebKit/Source/core/loader/ImageLoader.cpp (right): https://codereview.chromium.org/2859383002/diff/120001/third_party/WebKit/Source/core/loader/ImageLoader.cpp#newcode515 third_party/WebKit/Source/core/loader/ImageLoader.cpp:515: CHECK(image_complete_); Just to confirm: This is ...
3 years, 7 months ago (2017-05-10 06:44:04 UTC) #33
hiroshige
> nit: "to be hold" in the description -> "to hold" (or to be held) ...
3 years, 7 months ago (2017-05-10 17:05:44 UTC) #37
hiroshige
On 2017/05/10 17:05:44, hiroshige wrote: > > nit: "to be hold" in the description -> ...
3 years, 7 months ago (2017-05-10 22:37:18 UTC) #42
hiroshige
Also added a short comment about the assertion. https://codereview.chromium.org/2859383002/diff/120001/third_party/WebKit/Source/core/loader/ImageLoader.cpp File third_party/WebKit/Source/core/loader/ImageLoader.cpp (right): https://codereview.chromium.org/2859383002/diff/120001/third_party/WebKit/Source/core/loader/ImageLoader.cpp#newcode651 third_party/WebKit/Source/core/loader/ImageLoader.cpp:651: if ...
3 years, 7 months ago (2017-05-10 22:43:38 UTC) #45
yhirano
lgtm
3 years, 7 months ago (2017-05-12 10:39:23 UTC) #56
kouhei (in TOK)
lgtm
3 years, 7 months ago (2017-05-12 13:06:17 UTC) #57
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/2859383002/220001
3 years, 7 months ago (2017-05-12 22:14:23 UTC) #64
commit-bot: I haz the power
Committed patchset #12 (id:220001) as https://chromium.googlesource.com/chromium/src/+/1b070387595668ec438ffec65185e61017300e3c
3 years, 7 months ago (2017-05-12 22:21:46 UTC) #67
hiroshige
3 years, 7 months ago (2017-05-13 18:03:05 UTC) #68
Message was sent while issue was closed.
A revert of this CL (patchset #12 id:220001) has been created in
https://codereview.chromium.org/2878263002/ by hiroshige@chromium.org.

The reason for reverting is: Assertion failures in the wild and on clusterfuzz.
BUG=721994.

Powered by Google App Engine
This is Rietveld 408576698