diff options
author | athenian200 <athenian200@outlook.com> | 2020-08-14 11:06:13 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2020-08-14 11:34:13 -0500 |
commit | 931e8d29faf577e3cec64b896ee1a06cd93b27b9 (patch) | |
tree | 4dc5574eaaed3ce6884616309a0c795ed5f75292 /layout/generic/crashtests/468771-1.xhtml | |
parent | 68623263573f5a087ad878f1609de272cc617399 (diff) | |
download | UXP-931e8d29faf577e3cec64b896ee1a06cd93b27b9.tar UXP-931e8d29faf577e3cec64b896ee1a06cd93b27b9.tar.gz UXP-931e8d29faf577e3cec64b896ee1a06cd93b27b9.tar.lz UXP-931e8d29faf577e3cec64b896ee1a06cd93b27b9.tar.xz UXP-931e8d29faf577e3cec64b896ee1a06cd93b27b9.zip |
Issue #1629 - Part 3: Implement behind preference.
This is not very "clean," and is mostly done in the same sloppy way as Emilio did it because that's basically the only way you can do it. Note well that this does NOT actually turn off everything I've done in a clean fashion like ifdefs would. For instance, the Explicitly Enabled flag is still present, but is now always false because the only condition that can set it true is behind the pref and therefore inert when this pref is off. Also, because the arguments of SetDisabled have changed, my modifications to SetMozDisabled must be present regardless of whether the pref is on or off. What I have done is turn off the actual reflection of the disabled attribute in Disabled and SetDisabled, as well as in AfterSetAttr.
However, turning the pref off seems to restore more or less our old behavior, though there may be subtle differences unlike with an ifdef since this is, unfortunately, not an exact science and I can only turn off changes that happen within individual functions and not changes in how functions interact with each other.
Diffstat (limited to 'layout/generic/crashtests/468771-1.xhtml')
0 files changed, 0 insertions, 0 deletions