Closed Bug 1949867 Opened 1 year ago Closed 1 year ago

Use TimeoutError for implementation-defined timeout when calling the update callback

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: boris, Assigned: boris)

References

(Blocks 1 open bug)

Details

(Whiteboard: [viewtransitions:m1] )

Attachments

(1 file)

This is for the testcase: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/css/css-view-transitions/update-callback-timeout.html

Per spec, https://drafts.csswg.org/css-view-transitions-1/#call-dom-update-callback-algorithm:

  1. To skip a transition after a timeout, the user agent may perform the following steps in parallel:
    ...
    2.2. Skip transition with a "TimeoutError" DOMException.

We may have to use TimeoutError here.

Status: NEW → ASSIGNED

Per spec, we should use TimeoutError DOMException.

Whiteboard: [viewtransitions:m1]
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/de6b935cd9c9 Use TimeoutError when calling SkipTransition with timeout. r=view-transitions-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: