Run a localhost server on port 8000, you can run one using
python3 -m http.server 8000
Put a file named logo.png in the same directory as where you started the server
Expected result
This page will try to load an image named logo.png hosted on your localhost server running on port 8000.
You should get a localhost permission prompt, and blocking should cause it to not load, and allowing should make it appear.
Note that the permission is persisted in brave://settings/content/localhostAccess.