Open Bug 1565737 Opened 5 years ago Updated 6 months ago

[webvtt] enable wpt regions-lines.html

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Issue was reported from https://github.com/w3c/webvtt/issues/467
We should return the UINT32_MAX when the value defined in vtt file exceeds the UINT32_MAX.

Summary: [webvtt] Fix wpt regions-lines.html → [webvtt] enable wpt regions-lines.html
Severity: normal normal → S3 S3

It looks like we can trivially fix this by just changing the lines attribute in our webIDL to an unsigned long instead of a long: https://searchfox.org/mozilla-central/source/dom/webidl/VTTRegion.webidl#24

Edit: no, I was wrong. The WPT is expecting something that doesn't make sense for an attribute that is meant to be an unsigned long, and I can't figure out what the correct fix is supposed to be based on the GitHub issue :alwu mentioned in comment #0.

Duplicate of this bug: 1419288
You need to log in before you can comment on or make changes to this bug.