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)

defect

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox51 --- fixed
firefox52 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

Details

Attachments

(1 file)

We can reuse the function which will be introduced in bug 1293106 to check the pref value.
We should check the pref both in the constructor and the setter.
(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.
(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.
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 → --
Sorry, I accidentally removed priority.
Priority: -- → P3
Hi Boris, could you please take a look of this patch?  Thanks.
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+
Thank you Boris!
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
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?
https://hg.mozilla.org/mozilla-central/rev/300cecbe4c61
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
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+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: