Closed Bug 1514238 Opened 6 years ago Closed 6 years ago

[api] RuntimeTelemetry#getSnapshots should return a public type

Categories

(GeckoView :: General, enhancement, P1)

enhancement

Tracking

(firefox66 wontfix, firefox67 wontfix, firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: agi, Assigned: agi)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

RuntimeTelemetry#getSnapshots returns a GeckoBundle which is not something we want to expose in our API. We should figure out a way to return a public type.
Focus uses it here [0] and immediately transforms it to a JSON, maybe returning a JSON would be good enough? I'm not sure how a-c uses it (or wants to use it) yet. [0]: https://github.com/mozilla-mobile/focus-android/blob/1c640a58ce8229159ddbea8b973e16b59299f4b3/app/src/main/java/org/mozilla/focus/web/GeckoWebViewProvider.kt#L671
Blocks: 1431815
No longer blocks: 1432235
Product: Firefox for Android → GeckoView
Priority: -- → P1
Assignee: nobody → agi
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/91a004f3826f Make RuntimeTelemetry.getSnapshot return a JSONObject. r=esawin,snorp
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: