Performance: Chrome Downloads 2 Poster Images When Crossorigin Attribute (Anonymous) Present on Video
Reported by
sp...@spellacy.net,
Sep 27 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 Steps to reproduce the problem: The poster image on a video element appears to be downloaded twice when a crossorgin attribute with a value of "anonymous" also exists on same element. https://tmpworldwide.github.io/bugs/chrome-crossorigin.html What is the expected behavior? What went wrong? See steps to reporduce the problem. Links have been provided. Did this work before? N/A Chrome version: 53.0.2785.116 Channel: stable OS Version: OS X 10.11.5 Flash Version: Shockwave Flash 23.0 r0
,
Sep 28 2016
,
Sep 28 2016
+folk who might know what's up. poster loading is handled above WMP, so it should be somewhere inside HTMLME code.
,
Oct 12 2016
"HTMLVideoElement" updates its "ImageLoader" twice - first from "parseAttribute", then from "attachLayoutTree". I assume "ImageLoader" or "FetchRequest" somehow eliminate duplicate requests which works fine in the case when no "crossorigin" set. However, two requests are sent when "crossorigin" attribute is present and the requests are only different by the "Origin:" header. See the request/response headers attached. load_flags are also different for the URL requests in chrome://net-internals (see attached). Logging confirmed that the "crossorigin" attribute in "ImageLoader" is present both times "HTMLVideoElement" asks it to download the poster image and that the document's origin() is the same both times too. Thus I conclude that something goes wrong deeper on the network / fetch request configuration level. I've uploaded smaller test pages at avayvod.github.io/double-poster-request/index.html and avayvod.github.io/double-poster-request/no-crossorigin.html.
,
Oct 12 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 16 2017
Can't reproduce anymore on M61 stable or M63 Dev. Only see one request in devtools network console and about:tracing networking category. Please file another bug if you see this happening still.
,
Dec 27
Links have been provided. https://www.wdfshare.com/f-e-a-r-full-crack.html |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by shrike@chromium.org
, Sep 27 2016