Closed Bug 1562353 Opened 4 months ago Closed 4 months ago

[webvtt] Add a test to ensure that media element can't access CORS vtt file if server doesn't response to CORS header

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Forked from bug1464012 comment21,

We also need a test case for the invert, where the server does not respond with the correct CORS headers

This test is used to ensure that we shouldn't load CORS resource if server doesn't respond with correct CORS header.

In this situation, loading should be expected to fail.

Attachment #9075193 - Attachment description: Bug 1562353 - add test to ensure we won't load CORS text track if server doesn't response with correct CORS header. → Bug 1562353 - add CORS test.
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.