Closed Bug 1661315 Opened 4 years ago Closed 4 years ago

Perma /web-animations/idlharness.window.html | Animation interface: attribute timeline - assert_equals: setter must be function for PutForwards, Replaceable, or non-readonly attributes expected "function" but got "undefined" for Gecko 82 Beta (20200921)

Categories

(Core :: DOM: Animation, defect)

defect

Tracking

()

VERIFIED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- unaffected
firefox81 --- unaffected
firefox82 + verified

People

(Reporter: aryx, Assigned: CosminS)

Details

Attachments

(1 file)

central-as-beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&selectedTaskRun=FJhFVxWVT_65LdZltNtIqw.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=d7e5cdafd76b6603d9877d67e457fb79d6f5941b&searchStr=wpt

Log: https://treeherder.mozilla.org/logviewer.html#?job_id=314084249&repo=try

[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - TEST-PASS | /web-animations/idlharness.window.html | Animation interface: attribute effect
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - TEST-UNEXPECTED-FAIL | /web-animations/idlharness.window.html | Animation interface: attribute timeline - assert_equals: setter must be function for PutForwards, Replaceable, or non-readonly attributes expected "function" but got "undefined"
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - IdlInterface.prototype.do_interface_attribute_asserts@http://web-platform.test:8000/resources/idlharness.js:3166:22
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - IdlInterface.prototype.test_member_attribute/<@http://web-platform.test:8000/resources/idlharness.js:2399:26
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1977:25
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - IdlInterface.prototype.test_member_attribute@http://web-platform.test:8000/resources/idlharness.js:2334:12
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - IdlInterface.prototype.test_members@http://web-platform.test:8000/resources/idlharness.js:2768:22
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - IdlInterface.prototype.test@http://web-platform.test:8000/resources/idlharness.js:1603:10
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - IdlArray.prototype.test@http://web-platform.test:8000/resources/idlharness.js:906:28
[task 2020-08-26T13:14:21.033Z] 13:14:21 INFO - idl_test/</<@http://web-platform.test:8000/resources/idlharness.js:3568:31
[task 2020-08-26T13:14:21.056Z] 13:14:21 INFO - ................................................................................................
[task 2020-08-26T13:14:21.057Z] 13:14:21 INFO - TEST-OK | /web-animations/idlharness.window.html | took 702ms

https://hg.mozilla.org/mozilla-central/rev/de1a0c42545273ed811bf2fa58253c1352435c5a removed a rule for this to PASS on release_or_beta and to fail on central yesterday.

James, do you have insight about this change? Did the idlharness change?

Flags: needinfo?(james)

I think I might understand what is going on.

Making Animation.timeline mutable, although implemented in Gecko, was originally deferred to Web Animations level 2. We use a build-time flag to disable it (https://searchfox.org/mozilla-central/rev/27932d4e6ebd2f4b8519865dad864c72176e4e3b/dom/webidl/Animation.webidl#27) for all channels except Nightly.

Recently, it was suggested that it be re-added to Web Animations level 1 and the spec was updated.

I believe the IDL tested by idlharness is automatically generated from the spec and hence the test will now be checking that Animation.timeline is mutable but it is only mutable on Nightly, hence why beta started failing.

I suggest this test needs to be marked as failing for non-Nightly.

Assignee: nobody → csabou
Status: NEW → ASSIGNED
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/508b69014dd8
Set [Animation interface: attribute timeline] to fail on non-nightly builds. r=birtles DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: