Closed
Bug 1294651
Opened 8 years ago
Closed 8 years ago
iterationComposite feature should be behind dom.animations-api.core.enabled pref
Categories
(Core :: DOM: Animation, defect, P3)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla52
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
boris
:
review+
gchang
:
approval-mozilla-aurora+
|
Details |
We can reuse the function which will be introduced in bug 1293106 to check the pref value.
Updated•8 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•8 years ago
|
||
We should check the pref both in the constructor and the setter.
Assignee | ||
Comment 2•8 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #1) > We should check the pref both in the constructor and the setter. And silently set the value to 'replace' if the pref is false.
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #2) > (In reply to Hiroyuki Ikezoe (:hiro) from comment #1) > > We should check the pref both in the constructor and the setter. > > And silently set the value to 'replace' if the pref is false. Or just a no-op.
Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #1) > We should check the pref both in the constructor and the setter. http://hg.mozilla.org/mozilla-central/file/82d0a583a9a3/dom/animation/KeyframeEffectReadOnly.cpp#l513 and http://hg.mozilla.org/mozilla-central/file/82d0a583a9a3/dom/animation/KeyframeEffect.cpp#l132
Assignee | ||
Comment 5•8 years ago
|
||
Taking since this needs to be uplifted to Aurora now. https://treeherder.mozilla.org/#/jobs?repo=try&revision=d5678caed8d3
Assignee: nobody → hiikezoe
Status: NEW → ASSIGNED
Priority: P3 → --
Comment hidden (mozreview-request) |
Assignee | ||
Comment 8•8 years ago
|
||
Hi Boris, could you please take a look of this patch? Thanks.
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8792716 [details] Bug 1294651 - Don't apply iterationComposite value if the preference for Web Animations API is not enabled. https://reviewboard.mozilla.org/r/79624/#review78672 Looks good to me.
Attachment #8792716 -
Flags: review?(boris.chiou) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 11•8 years ago
|
||
Thank you Boris!
Comment 12•8 years ago
|
||
Pushed by hiikezoe@mozilla-japan.org: https://hg.mozilla.org/integration/autoland/rev/300cecbe4c61 Don't apply iterationComposite value if the preference for Web Animations API is not enabled. r=boris
Assignee | ||
Comment 13•8 years ago
|
||
Comment on attachment 8792716 [details] Bug 1294651 - Don't apply iterationComposite value if the preference for Web Animations API is not enabled. Approval Request Comment [Feature/regressing bug #]: bug 1216843 [User impact if declined]: A feature of some feature set of the Web Animation API is exposed even if the feature set is not yet shipped. [Describe test coverage new/current, TreeHerder]: The patch includes a test case [Risks and why]: Extremely low it's just do no-op if the pref for the feature set is not enabled. [String/UUID change made/needed]: None
Attachment #8792716 -
Flags: approval-mozilla-aurora?
Comment 14•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/300cecbe4c61
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Updated•8 years ago
|
status-firefox51:
--- → affected
Comment 15•8 years ago
|
||
Comment on attachment 8792716 [details] Bug 1294651 - Don't apply iterationComposite value if the preference for Web Animations API is not enabled. This patch fixes a pref value for Web Animations API. Take it in 51 aurora.
Attachment #8792716 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 16•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/4095b6940207
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•