Closed Bug 1465634 Opened 7 years ago Closed 7 years ago

GeckoView loadUri API to set base URL and history URL like WebView's loadDataWithBaseURL

Categories

(GeckoView :: General, defect)

Unspecified
Android
defect
Not set
normal

Tracking

(firefox-esr52 wontfix, firefox-esr60 wontfix, firefox60 wontfix, firefox61 wontfix, firefox62 affected)

RESOLVED WORKSFORME
Tracking Status
firefox-esr52 --- wontfix
firefox-esr60 --- wontfix
firefox60 --- wontfix
firefox61 --- wontfix
firefox62 --- affected

People

(Reporter: cpeterson, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:klar])

This bug was originally filed in the Klar GitHub repo: https://github.com/mozilla-mobile/focus-android/issues/2506 Klar would like to be able to set the base and history URLs with the GeckoView loadUri API, similar to WebView's loadDataWithBaseURL API. Klar sets the baseURL and historyURL to replace "data:text/html;..." with "focus:..." in the address bar. https://developer.android.com/reference/android/webkit/WebView.html#loadDataWithBaseURL(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)
We don't think gecko supports this currently (it is done in FF though). Should the app do this (perhaps an android component)?
Flags: needinfo?(cpeterson)
WONTFIX because the GeckoView team thinks that Focus should be able to workaround this in the app, since Focus controls the address bar's state and rendering, not GeckoView.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(cpeterson)
Resolution: --- → WORKSFORME
Product: Firefox for Android → GeckoView
You need to log in before you can comment on or make changes to this bug.