Open Bug 1538031 Opened 5 years ago Updated 1 year ago

about:memory cannot save memory reports on GeckoView

Categories

(GeckoView :: General, enhancement, P3)

Unspecified
Android
enhancement

Tracking

(firefox68 affected)

Tracking Status
firefox68 --- affected

People

(Reporter: bdekoz, Unassigned)

Details

I've tried a couple of the android geckoview browsers:

geckoview_example
tv.firefox.gecko
fennec_aurora (from fenix repo)

And all have the about:memory page, and seem to produce interesting info when 'show memory report' is clicked, but unlike on desktop, the 'save memory report' button does nothing.

Most likely this is related to finding a writable directory on android, which implies that perhaps on these platforms this should be 'send memory report' to an email address.

Component: Metrics → General
Product: Firefox for Android → GeckoView
Summary: about:memory vs. saved memory reports → about:memory cannot save memory reports on GeckoView

See line 2086 in m-c/toolkit/components/aboutmemory/content/aboutMemory.js:

} catch (ex) {

// This will fail on Android, since there is no Save as file picker there.
// Just save to the defautl downloads dir if it does

this exception is not being thrown/caught

How urgent is this testing feature?

Saving memory files will require the Android SD card permission.

OS: Unspecified → Android
Priority: -- → P2
Fission Milestone: --- → ?
Fission Milestone: ? → Future

This is not urgent, but would be useful for debugging.

I'm editing a bunch of GeckoView bugs. If you'd like to filter all this bugmail, search and destroy emails containing this UUID:

e88a5094-0fc0-4b7c-b7c5-aef00a11dbc9

Priority: P2 → P3
Fission Milestone: Future → ---
Severity: normal → S3

Tasks and enhancements should have severity N/A.

Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.