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

Issue 1380163006: setLoadFinishTime on ImageResource for ImageDocument. (Closed)

Created:
5 years, 2 months ago by rune
Modified:
5 years, 2 months ago
Reviewers:
tkent, Nate Chapin
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

setLoadFinishTime on ImageResource for ImageDocument. The loadFinishTime was never set on ImageResource used for the generated image element inside an ImageDocument. We discovered this checking for that time stamp in an internal Opera project. Set the finish time of the ImageResource to that of the document (which is the actual image). Committed: https://crrev.com/bf9fbf106a8360f176ed1f7de9f3b87146e11f35 Cr-Commit-Position: refs/heads/master@{#352730}

Patch Set 1 #

Patch Set 2 : Unit test #

Total comments: 1

Patch Set 3 : Rebased #

Patch Set 4 : Missing CORE_EXPORT for unit test. #

Patch Set 5 : Attempt at fixing win dbg build #

Patch Set 6 : Another try #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -3 lines) Patch
M third_party/WebKit/Source/core/html/ImageDocument.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 5 3 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380163006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380163006/1
5 years, 2 months ago (2015-10-01 23:22:14 UTC) #2
rune
@tkent: I don't know if setting the timestamp will affect memory cache eviction, or if ...
5 years, 2 months ago (2015-10-01 23:28:09 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/48521)
5 years, 2 months ago (2015-10-01 23:29:56 UTC) #6
tkent
I'm not familiar with it. japhet@ may know.
5 years, 2 months ago (2015-10-02 00:09:02 UTC) #8
Nate Chapin
On 2015/10/01 23:28:09, rune wrote: > @tkent: > > I don't know if setting the ...
5 years, 2 months ago (2015-10-02 22:41:58 UTC) #9
rune
On 2015/10/02 22:41:58, Nate Chapin wrote: > On 2015/10/01 23:28:09, rune wrote: > > @tkent: ...
5 years, 2 months ago (2015-10-04 17:56:11 UTC) #10
rune
https://codereview.chromium.org/1380163006/diff/20001/third_party/WebKit/Source/core/html/ImageDocument.cpp File third_party/WebKit/Source/core/html/ImageDocument.cpp (right): https://codereview.chromium.org/1380163006/diff/20001/third_party/WebKit/Source/core/html/ImageDocument.cpp#newcode160 third_party/WebKit/Source/core/html/ImageDocument.cpp:160: cachedImage->setResponse(loader->response()); Moved setResponse() before finish() because that's the invocation ...
5 years, 2 months ago (2015-10-04 18:02:57 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380163006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380163006/20001
5 years, 2 months ago (2015-10-05 22:13:49 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/106375)
5 years, 2 months ago (2015-10-05 22:41:54 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380163006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380163006/60001
5 years, 2 months ago (2015-10-06 07:27:52 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/91988)
5 years, 2 months ago (2015-10-06 08:28:20 UTC) #19
Nate Chapin
lgtm. Trybot failure looks like it might be real, though.
5 years, 2 months ago (2015-10-06 21:36:17 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1380163006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1380163006/120001
5 years, 2 months ago (2015-10-06 22:56:13 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-07 00:43:47 UTC) #24
commit-bot: I haz the power
5 years, 2 months ago (2015-10-07 00:44:37 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bf9fbf106a8360f176ed1f7de9f3b87146e11f35
Cr-Commit-Position: refs/heads/master@{#352730}

Powered by Google App Engine
This is Rietveld 408576698