Closed Bug 1530022 Opened 5 years ago Closed 4 years ago

Pass a WebResponse to ContentDelegate.onExternalResponse

Categories

(GeckoView :: General, enhancement, P1)

Unspecified
All
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: snorp, Assigned: owlish)

References

Details

(Whiteboard: [geckoview:m81][geckoview:m82])

This will enable apps to be able to read the response without having to make a second request.

I thought this would be relatively easy after streaming support was added to WebResponse, but e10s stuff is proving thorny.

P2 because Fenix has not asked for this yet. Implementing this will be tricky due to e10s process issues.

Priority: -- → P2

Fenix and Android-Components need this API (or some other way to access a stream from onExternalResponse) for a GeckoView-based DownloadManager, as previous discussed in 1522705.

A-C issue: https://github.com/mozilla-mobile/android-components/issues/1968

Flags: needinfo?(snorp)

(In reply to Tiger Oakes from comment #3)

Fenix and Android-Components need this API (or some other way to access a stream from onExternalResponse) for a GeckoView-based DownloadManager, as previous discussed in 1522705.

A-C issue: https://github.com/mozilla-mobile/android-components/issues/1968

Yeah, that would be ideal -- but for now, it's likely good enough to simply make a second request using GeckoWebExecutor.

Flags: needinfo?(snorp)
Rank: 45
Blocks: 1432949
Assignee: nobody → bugzeeeeee
No longer blocks: 1432949
See Also: → 1432949
Whiteboard: [geckoview:m79]
Blocks: 1639593
Priority: P2 → P1
Rank: 45 → 3
Priority: P1 → P2
Whiteboard: [geckoview:m79] → [geckoview:m81]
Depends on: 1654621
Depends on: 1654722
Priority: P2 → P1
Whiteboard: [geckoview:m81] → [geckoview:m81][geckoview:m82]
Depends on: 1662590
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Blocks: 1665157
Regressions: 1682515
You need to log in before you can comment on or make changes to this bug.