Closed Bug 1737842 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31383 - Fix crash with unsupported keyframe effect options.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 31383 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/31383
Details from upstream follow.

Kevin Ellis <kevers@chromium.org> wrote:

Fix crash with unsupported keyframe effect options.

Animation::Create can throw and exception or return nullptr. This method
is called from AnimationTimeline::Play, which was implicitly asserting
that no exception is thrown and checks that the animation was created.
These assumptions resulted in a crash when the effect timing options
contain unsupported values.

Bug: 1245487
Change-Id: I39afd196c9881754ebed5f1d7c4d37027c2ec147

Reviewed-on: https://chromium-review.googlesource.com/3245202
WPT-Export-Revision: fbe673ceabac6dc842870e8c8d23d99d5b1f5b22

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS : 1

Chrome

CRASH: 1

Safari

PASS : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/469b3cf37c73 [wpt PR 31383] - Fix crash with unsupported keyframe effect options., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.