Add support for Browser.EXTRA_HEADERS

NEW
Unassigned

Status

()

Firefox for Android
General
2 years ago
2 years ago

People

(Reporter: ahunt, Unassigned)

Tracking

51 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
Seemingly both the stock android browser, and chrome, support passing in http headers via an extra with id Browser.EXTRA_HEADERS.

Headers only seem to make sense when opening a single URL, so we probably want to handle that in the single URL opening scenario, handled at:
https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/java/org/mozilla/gecko/GeckoApp.java?q=path%3AGeckoApp.java&redirect_type=single#2013

Hopefully we could then extract the headers and pass them to gecko in Tabs.java somehow.
You need to log in before you can comment on or make changes to this bug.