Since Firefox 17 when I refresh picture with jscript there is a blink on the picture. It was ok before and with other browser

UNCONFIRMED
Unassigned

Status

()

Core
ImageLib
--
major
UNCONFIRMED
6 years ago
5 years ago

People

(Reporter: spoke, Unassigned)

Tracking

18 Branch
All
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121129183639

Steps to reproduce:

With javascript I refresh a picture every seconds :

<img src='s3d3.synI.php' name='Image1' id='IdImage1'>
.
.
function DispImage()
{
  document.getElementById("IdImage1").src = d.src;
  d.src="s3d3.synI.php?tst="+Cpt++;
  setTimeout("DispImage()", 5000);
}




Actual results:

During the refresh of the picture, it first blank it and after it draw it. So you can see a blink evry second.
I have try on many different machine it's the same. If I use older version of firefox it's ok.


Expected results:

It sould show picture directly, without blinking.
(Reporter)

Updated

6 years ago
Severity: normal → major
Component: Layout: Images → General
Product: Core → Firefox
Hardware: x86_64 → All
Please provide a testcase, either attached or as URL
Component: General → Untriaged
Flags: needinfo?(sspoke)
(Reporter)

Comment 2

6 years ago
On this link you can see an example :

http://www.elliochris.fr/s3d3.synH.php

If you try it with an old version or on chrome for example you will see the difference.
Flags: needinfo?(sspoke)
FWIW, seems to be OS-specific since testing on Win7 x64 this is WFM against 17, 18 and Trunk (HWA on/off).

Can you get a Regression Range against Central Repo?
http://mozilla.github.com/mozregression/

Comment 4

6 years ago
(In reply to spoke from comment #2)
> On this link you can see an example :
> 
> http://www.elliochris.fr/s3d3.synH.php
> 
> If you try it with an old version or on chrome for example you will see the
> difference.

Confirmed on windows 8 & Lubuntu
Kyle, could you take a look?
Component: Untriaged → ImageLib
Product: Firefox → Core
(Reporter)

Comment 6

5 years ago
It don't work again in 19.02
Enclosed link to 2 small videos, one with Firefox 19.02 (bug) and ,sorry about that I don't have anymore an old version of Firefox, one with Chrome.

http://www.elliochris.fr/ff19.02.mp4
http://www.elliochris.fr/chrome.mp4
I'm confused:
http://www.elliochris.fr/s3d3.synH.php leads to a different Site as can be seen on the Videos?!
Flags: needinfo?(sspoke)
(Reporter)

Comment 8

5 years ago
Sorry, It's because I have an hundred of pages that have the same problem. All with this kind of script :

<img src='s3d3.synI.php' name='Image1' id='IdImage1'>
.
.
function DispImage()
{
  document.getElementById("IdImage1").src = d.src;
  d.src="s3d3.synI.php?tst="+Cpt++;
  setTimeout("DispImage()", 5000);
}

Only the img src are different.
Flags: needinfo?(sspoke)
You need to log in before you can comment on or make changes to this bug.