Bug 1788125 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

In [the related webcompat.com report](https://github.com/webcompat/web-bugs/issues/107144) I found that PPG Paints' website is flickering their products while [their page](https://www.ppgpaints.com/products?product_type=interior_paint) loads, but not in Firefox or Chrome.

I've done some analysis of their code in [comment on the webcompat.com issue](https://github.com/webcompat/web-bugs/issues/107144#issuecomment-1232025604).

It's a bit silly, repeating a number of synchronous loads for the same product list while the page loads, emptying and re-filling-out the products HTML markup over and over. But while Chrome and Safari also seem to run the same code (empty product list, call sync XHR, add product list markup), the flickering only happens in Firefox.

Emilio mentioned that it might be related to the refresh driver; possibly WebKit/Blink are less eager to repaint while a sync XHR is happening, thus avoiding the flicker, for instance?
In [the related webcompat.com report](https://github.com/webcompat/web-bugs/issues/107144) I found that PPG Paints' website is flickering their products while [their page](https://www.ppgpaints.com/products?product_type=interior_paint) loads, but not in Safari or Chrome.

I've done some analysis of their code in [comment on the webcompat.com issue](https://github.com/webcompat/web-bugs/issues/107144#issuecomment-1232025604).

It's a bit silly, repeating a number of synchronous loads for the same product list while the page loads, emptying and re-filling-out the products HTML markup over and over. But while Chrome and Safari also seem to run the same code (empty product list, call sync XHR, add product list markup), the flickering only happens in Firefox.

Emilio mentioned that it might be related to the refresh driver; possibly WebKit/Blink are less eager to repaint while a sync XHR is happening, thus avoiding the flicker, for instance?

Back to Bug 1788125 Comment 0