New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 650512 link

Starred by 0 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Performance: Chrome Downloads 2 Poster Images When Crossorigin Attribute (Anonymous) Present on Video

Reported by sp...@spellacy.net, Sep 27 2016

Issue description

UserAgent: 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
 

Comment 1 by shrike@chromium.org, Sep 27 2016

Components: Blink>Media>Video
Components: Internals>Media>Network
Status: Untriaged (was: Unconfirmed)
Cc: srirama.m@chromium.org hubbe@chromium.org foolip@chromium.org
+folk who might know what's up. poster loading is handled above WMP, so it should be somewhere inside HTMLME code.
Components: -Internals>Media>Network -Blink>Media>Video Internals>Network Blink>Loader
Labels: OS-Android OS-Chrome OS-Linux OS-Windows
Status: Available (was: Untriaged)
"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.
request1.txt
974 bytes View Download
request2.txt
1006 bytes View Download
net-internals.txt
12.0 KB View Download
Project Member

Comment 5 by sheriffbot@chromium.org, Oct 12 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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
Status: WontFix (was: Untriaged)
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.
Links have been provided. 
https://www.wdfshare.com/f-e-a-r-full-crack.html

Sign in to add a comment