Open Bug 1550615 Opened 6 years ago Updated 3 years ago

GeckoBundle doesn't work with Booleans

Categories

(GeckoView :: General, defect, P3)

Unspecified
Android
defect

Tracking

(firefox68 affected)

Tracking Status
firefox68 --- affected

People

(Reporter: jcj, Unassigned)

Details

As is noted in https://searchfox.org/mozilla-central/source/accessible/android/SessionAccessibility.cpp#316 , GeckoBundle's boolean methods don't work, at least not when setting booleans from C++ and attempting to retrieve them from Java.

Perhaps they should be removed until they do work, or replaced with helper methods that use integers.

This would be nice to fix. Looks like we convert the bool to an integer 0/1 in C++ so the value pops out in Java as an integer:

https://searchfox.org/mozilla-central/rev/11cfa0462a6b5d8c5e2111b8cfddcf78098f0141/accessible/android/SessionAccessibility.cpp#317-319

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.