Skip to content

BubbleRelativeDuration: Undefined behaviour when called with time units #3121

Open
@anba

Description

@anba

BubbleRelativeDuration currently assumes it can only be called with date units, but it can actually also be called with non-date units. See the test case at https://bugzilla.mozilla.org/show_bug.cgi?id=1971346.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions