47 bytes, text/x-phabricator-request
|Details | Review|
read-only field-only classes like |SecurityInformation| are really hard to use in tests because they don't have a protected constructor. We should give them a dummy empty protected constructor that embedders can use to create Mock classes.
This adds a dummy `protected`, empty constructor to all field-only classes that don't have one or can't because the constructor uses a private API. This will allow embedders to mock our field-only classes or construct them without having to use reflection.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/093ef9c7cb94 add protected constructor to field-only classes in GeckoView. r=snorp,esawin
64=wontfix because we don't need to uplift this constructor change to 64 Beta.
You need to log in before you can comment on or make changes to this bug.