Commit Graph

7 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
47c40173d7 Bug 1631533 - Allow to get old value in synced field's DidSet. r=nika
This is needed for zoom because it only fires events when values
actually change for example, but seems useful more generally to
potentially avoid wasted work.

We can't just notify on change because user activation depends on the
time on which DidSet gets called.

Differential Revision: https://phabricator.services.mozilla.com/D71646
2020-04-20 20:25:22 +00:00
Ciure Andrei
54a37a9804 Backed out changeset adcfa8af679c (bug 1631533) for causing test_useractivation_transient.html failures CLOSED TREE 2020-04-20 23:09:32 +03:00
Emilio Cobos Álvarez
3481e78d3d Bug 1631533 - Make sync fields observe DidChange instead of DidSet. r=nika
And provide the old value to that callback.

I'm going to need this for zoom.

Differential Revision: https://phabricator.services.mozilla.com/D71620
2020-04-20 18:28:03 +00:00
Nika Layzell
ba41903373 Bug 1618992 - Improve diagnostics for 'Invalid Transaction from Child', r=farre
Differential Revision: https://phabricator.services.mozilla.com/D67942

--HG--
extra : moz-landing-system : lando
2020-03-26 15:12:09 +00:00
Nika Layzell
476ad24af9 Bug 1615403 - Part 2: Use MaybeDiscarded for direct IPC arguments, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D62833

--HG--
extra : moz-landing-system : lando
2020-02-20 23:30:35 +00:00
Olli Pettay
708bff2680 Bug 1612894, bring back the IsDiscarded check, r=farre
This brings back https://hg.mozilla.org/mozilla-central/rev/641b9a29f6ee#l1.346 for now.
The patch is based on code auditing, since haven't managed to reproduce the crash.


To sort out what behavior is wanted eventually, see
https://bugzilla.mozilla.org/show_bug.cgi?id=1613431

Differential Revision: https://phabricator.services.mozilla.com/D61716

--HG--
extra : moz-landing-system : lando
2020-02-06 15:17:53 +00:00
Andreas Farre
44204936b7 Bug 1583863 - Part 1: Introduce common SyncedContext logic, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D56741

--HG--
extra : moz-landing-system : lando
2020-01-20 14:57:40 +00:00