Closed Bug 1546506 Opened 6 years ago Closed 6 years ago

Add an assertion to ensure that we won't construct SeekTarget with invalid time

Categories

(Core :: Audio/Video: Playback, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

Details

Attachments

(1 file)

Fork from [1], we would like to see whether the crash in bug1540744 is caused by using invalid time to initialize a SeekTarget.

[1] https://phabricator.services.mozilla.com/D27136#835472

We should only use valid time to construct a SeekTarget, because we can't get the value from the invalid time.

This can help us to prevent having a crash when request data value from an invalid time.

Type: defect → task
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f159c693907a Add an assertion to ensure that we won't construct SeekTarget with invalid time. r=bryce
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: