Closed Bug 2086868 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 64090 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327506

Categories

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

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ahmad Saleem <ahmad.saleem792+github@gmail.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327506

WebKit export from bug: SMIL:<!----> repeat(<!---->n)<!----> conditions never fire after seeking past repeat iterations

<pre>
SMIL: repeat(n) conditions never fire after seeking past repeat iterations

When the timeline is seeked, SVGSMILElement::progress() queues a single
coalesced repeatEvent for the skipped iterations, but never records the
iteration number in m_pendingRepeatIterations. dispatchPendingEvent()
only updates m_lastDispatchedRepeatIteration from that queue, and
reset() (called by SMILTimeContainer::setElapsed()) has just cleared it,
so the value stays 0. Conditions such as begin="source.repeat(3)" compare
against lastDispatchedRepeatIteration() and therefore never match.

Append the iteration to m_pendingRepeatIterations before queuing the
repeatEvent on the seek path, as the non-seek path already does.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327506">https://bugs.webkit.org/show_bug.cgi?id=327506</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/323927@main">https://commits.webkit.org/323927@main</a>
</pre>

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 320 tests

Status Summary

Firefox

OK : 291
PASS : 8[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 328[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 343[Gecko-android-em-14-x86_64-debug-geckoview] 344[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
CRASH : 1[Gecko-android-em-14-x86_64-opt-geckoview] 2[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt]
FAIL : 16[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 17[Gecko-android-em-14-x86_64-debug-geckoview]
TIMEOUT: 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, GitHub] 3[Gecko-android-em-14-x86_64-opt-geckoview] 4[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

TIMEOUT: 2

Safari

TIMEOUT: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Crashes

  • /svg/animations/end-of-time-001-crash.html [wpt.fyi]: CRASH [Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt], SKIP [Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-opt], TIMEOUT [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172
  • /svg/animations/end-of-time-002-crash.html [wpt.fyi]: CRASH [Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt], SKIP [Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-opt], TIMEOUT [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

  • /svg/animations/seeking-events-7.html [wpt.fyi]: SKIP
  • /svg/animations/seeking-events-8.html [wpt.fyi]: SKIP
  • /svg/animations/end-of-time-001-crash.html [wpt.fyi]: CRASH [Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt], SKIP [Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-opt], TIMEOUT [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172
  • /svg/animations/end-of-time-002-crash.html [wpt.fyi]: CRASH [Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt], SKIP [Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-opt], TIMEOUT [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172
Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.