Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWeird double loading image on simple html page. #6863
Comments
|
have someone look into this mater? |
|
@nikahmadz We need some more help testing this one out. Can you check if this is still an issue with a more current version of Brave. The latest Brave is version 1.1. Can you also check to see if this is happening in the latest version of Chrome. |
You can view a test page I have setup here. Yes the problem still persist (now on Brave V1.2). The image was loaded twice. First by index.html and the other one by brave VM. Test page: https://nikahmadz.github.io/brave/index.html |

I am developing a website page on brave when I noticed unnecessary request were made to the server. So I have tried narrowing the case down to this demo over here to reproduce the weird behavior.
Expectation
A standard
<img src="..." />tag should request the said resources only once.The problem
Each request you see on this image below returned 2 different image. Only the first one were rendered on the screen. Yet The second request do fetch another completely different image from the server.
The weird part
The problem only happen when the
<img>tag is in between two heading / paragraph tag. And it will only happen when the first paragraph has more than 4 word. The problem does not happen if the first paragraph has fewer words. That is for me is weird. Yet, this situation is likely to happen on a regular web document.Reproducing
A simple web page should be able to reproduce the case.
Brave version
I am using Brave is up to date
Version 0.70.123 Chromium: 78.0.3904.97 (Official Build) (64-bit)
PS: I hope this issue get solved quickly. Because it may cause large image to be loaded multiple times more than necessary.