Closed
Bug 1631533
Opened 5 years ago
Closed 5 years ago
Make sync fields observe DidChange instead of DidSet
Categories
(Core :: DOM: Content Processes, defect)
Core
DOM: Content Processes
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file, 2 obsolete files)
And let it observe the old value as needed.
Assignee | ||
Comment 1•5 years ago
|
||
And provide the old value to that callback.
I'm going to need this for zoom.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/adcfa8af679c
Make sync fields observe DidChange instead of DidSet. r=nika
Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Attachment #9141837 -
Attachment is obsolete: true
Comment 4•5 years ago
|
||
Backed out changeset adcfa8af679c (bug 1631533) for causing test_useractivation_transient.html failures
https://hg.mozilla.org/integration/autoland/rev/b1a9eb1f08dfb1ec9908953a0f889dde1ef73252
log: https://treeherder.mozilla.org/logviewer.html#?job_id=298483231&repo=autoland
Flags: needinfo?(emilio)
Assignee | ||
Comment 5•5 years ago
|
||
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.
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(emilio)
Updated•5 years ago
|
Attachment #9141801 -
Attachment is obsolete: true
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e27ee92a9e35
Allow to get old value in synced field's DidSet. r=nika
Comment 7•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•