Closed Bug 1769676 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 34089 - Fix null READ when calling getKeyframes on an orphaned element

Categories

(Core :: CSS Transitions and Animations, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kevin Ellis <kevers@google.com> wrote:

Fix null READ when calling getKeyframes on an orphaned element

Values of CSS properties are resolved when retrieving keyframes.
This resolution triggered a DCHECK failure if the effects target
was orphaned since it would not have a computed style.

Bug: 1326225

Change-Id: Ie60eff021a215baf41503d47a056903ff39ce018

Reviewed-on: https://chromium-review.googlesource.com/3649496
WPT-Export-Revision: 4eca81e710b21ec29e485888c57f7a0e5ad75e65

Component: web-platform-tests → CSS Transitions and Animations
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16c34513bc82 [wpt PR 34089] - Fix null READ when calling getKeyframes on an orphaned element, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.