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

Issue 1256233002: Move data URI image resources to be async loaded. (Closed)

Created:
5 years, 4 months ago by Yoav Weiss
Modified:
5 years ago
Reviewers:
pdr., Mike West
CC:
blink-reviews, gavinp+loader_chromium.org, Nate Chapin, tyoshino+watch_chromium.org, cbiesinger
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Move data URI image resources to be async loaded. According to https://github.com/ResponsiveImagesCG/picture-element/issues/223#issuecomment-69772765 we seem to be the only browser that loads data URIs immediately (as if they were cached). It was introduced as part of the move to async image loading: https://codereview.chromium.org/200923002 This is now causing issues: https://code.google.com/p/chromium/issues/detail?id=469131 This CL changes this behavior to be spec compliant and load data URIs asynchronously, like other resources. BUG=514206

Patch Set 1 #

Patch Set 2 : Fixed ActivityLogger tests #

Patch Set 3 : Fixed some tests but not all #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -17 lines) Patch
M LayoutTests/fast/canvas/canvas-drawImage-out-of-bounds-src.html View 1 2 2 chunks +12 lines, -10 lines 0 comments Download
A LayoutTests/fast/dom/HTMLImageElement/image-async-loading-data-uris.html View 1 chunk +10 lines, -0 lines 0 comments Download
M LayoutTests/svg/canvas/canvas-draw-image-globalalpha.html View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M Source/core/html/parser/HTMLSrcsetParser.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/ImageLoader.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/tests/ActivityLoggerTest.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Yoav Weiss
Hey Mike, Apparently we're Doing The Wring Thing™ when it comes to loading of data ...
5 years, 4 months ago (2015-07-27 13:53:36 UTC) #2
Yoav Weiss
On 2015/07/27 13:53:36, Yoav Weiss wrote: > Hey Mike, > > Apparently we're Doing The ...
5 years, 4 months ago (2015-07-27 13:53:57 UTC) #3
Mike West
Code change looks reasonable, ActivityLoggerTest.RequestResource says it might not be. Flake? LGTM if not, otherwise, ...
5 years, 4 months ago (2015-07-27 14:24:49 UTC) #4
Yoav Weiss
On 2015/07/27 13:53:57, Yoav Weiss wrote: > On 2015/07/27 13:53:36, Yoav Weiss wrote: > > ...
5 years, 4 months ago (2015-07-27 14:25:20 UTC) #5
Yoav Weiss
On 2015/07/27 14:24:49, Mike West wrote: > Code change looks reasonable, ActivityLoggerTest.RequestResource says it might ...
5 years, 4 months ago (2015-07-27 14:30:43 UTC) #6
Mike West
On 2015/07/27 at 14:30:43, yoav wrote: > On 2015/07/27 14:24:49, Mike West wrote: > > ...
5 years, 4 months ago (2015-07-27 19:12:37 UTC) #7
Yoav Weiss
On 2015/07/27 19:12:37, Mike West wrote: > On 2015/07/27 at 14:30:43, yoav wrote: > > ...
5 years, 4 months ago (2015-07-27 21:01:00 UTC) #8
Yoav Weiss
On 2015/07/27 21:01:00, Yoav Weiss wrote: > On 2015/07/27 19:12:37, Mike West wrote: > > ...
5 years, 4 months ago (2015-07-27 22:12:20 UTC) #10
pdr.
On 2015/07/27 at 22:12:20, yoav wrote: > On 2015/07/27 21:01:00, Yoav Weiss wrote: > > ...
5 years, 4 months ago (2015-07-28 04:11:30 UTC) #11
Yoav Weiss
On 2015/07/28 04:11:30, pdr wrote: > On 2015/07/27 at 22:12:20, yoav wrote: > > On ...
5 years, 4 months ago (2015-07-28 06:45:43 UTC) #12
Yoav Weiss
5 years ago (2015-12-03 09:53:30 UTC) #13
Closing this as iit is now on the wrong repo. Opened
https://codereview.chromium.org/1492303003/ instead

Powered by Google App Engine
This is Rietveld 408576698