mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
cc57abd3cd
Fix several bugs when handling arrays in GeckoBundle. 1. Correctly return null when getting an array that is not in the bundle, instead of crashing. 2. Convert object arrays to GeckoBundle arrays in EventDispatcher instead of leaving it as a single GeckoBundle with integer keys, due to lack of object array support in NativeJSObject.toBundle. 3. Return error when trying to convert a JS array of arrays to GeckoBundle, instead of crashing. 4. Add convenience methods for setting arrays; for example, setting boolean arrays from Boolean[] and Collection<Boolean>. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
proguard-rules.txt |