Open Bug 621763 Opened 14 years ago Updated 2 years ago

Using HTML5 video tag break some image loading

Categories

(Core :: General, defect)

x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: rom, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13 If a page contains HTML5 videos, sometimes some image loading are broken (between 1 and 5 percent broken images). Reproducible: Always Steps to Reproduce: To reproduce, you need an http server (tested on apache). (it is not reproducible browsing locally the files) You need an image (.png or .jpg) and a video .ogv. Let's say image.jpg and video.ogv. As only few images loading are broken, you need a lot of images : $ for i in {1..50}; do cp image.jpg image-$i.jpg; done (I think you can use ln instead of cp) Then, generate a index.html page : echo '<html></body>' > index.html for i in {1..50}; do echo "$i <img src='image-$i.jpg' width="100" height="100" /><br/>" >> index.html; done echo '<video src="video.ogv" controls="controls" />' >> index.html echo '</body></html>' >> index.html Put index.html, the jpg files and the ogv in a folder, and enable it in apache virtualhosts (the simplest way is to create a subfolder on an already configured website). Access http://yoursite/thefolder/index.html using Firefox. Look if every image is loaded. Try again several times using Ctrl+F5 : sometimes some images will be broken (not visible) If you remove the line containg <video…> in your index.html, then it works fine. Actual Results: Broken image loading Expected Results: Good image loading
I just put an example on my server, you can see than sometimes 1 or 2 firefox icons don't load correctly. The bug appears only if the video.ogv is hosted on the same server (if I link an external ogv video it works correctly). http://rom1v.com/bug621763/
Can you reproduce this bug in Firefox 4 Beta 8? http://www.mozilla.com/en-US/firefox/beta/
Works for me - Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110113 Firefox/4.0b10pre - Loaded the page several times
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.