Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 8678083: Topic 11337: Image placeholders aren`t always hidden (Closed)

Created:
Oct. 28, 2012, 4:48 p.m. by Wladimir Palant
Modified:
Oct. 30, 2012, 11:13 a.m.
Reviewers:
Thomas Greiner
Visibility:
Public.

Description

See https://adblockplus.org/forum/viewtopic.php?f=11&t=11337 for the context. It seems that Chrome sometimes initiates the network request long before the image element is added to the document, probably some kind of prefetching. This is a rather ugly work-around but it makes sure that whenever we fail to remove an image placeholder we will look for it again when other images need to be removed and when the document`s DOM is complete.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -10 lines) Patch
M include.preload.js View 1 chunk +42 lines, -10 lines 0 comments Download

Messages

Total messages: 2
Wladimir Palant
Oct. 28, 2012, 4:48 p.m. (2012-10-28 16:48:46 UTC) #1
Thomas Greiner
Oct. 29, 2012, 4:04 p.m. (2012-10-29 16:04:40 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld