Open Bug 1819941 Opened 2 years ago Updated 11 months ago

loadUrl("resource://android/...") can't load SVG resource

Categories

(GeckoView :: General, defect)

Firefox 108
All
Android
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mabangwang, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.57

Steps to reproduce:

When I load html locally(eg:loadUrl("resource://android/....")), the svg file in the web cannot be obtained, but it is normal on the PC

Actual results:

Svg cannot be displayed normally

Expected results:

Normal display of svg file

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Flags: needinfo?(cpeterson)

When I load html locally(eg:loadUrl("resource://android/....")), the svg file in the web cannot be obtained, but it is normal on the PC

Can you please share more detailed example code snippet?

Is the SVG file bundled in your app's APK? Or does "svg file in the web" mean an SVG file on a website? How are you testing "on the PC"?

Component: General → Core
Summary: use loadUrl("resource://android"), svg cant get → loadUrl("resource://android/...") can't load SVG resource

The severity field is not set for this bug.
:boek, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)
Component: Core → General
Severity: -- → S3
Flags: needinfo?(jboek)
You need to log in before you can comment on or make changes to this bug.