Closed Bug 1795783 Opened 2 years ago Closed 2 years ago

Replace custom {same, cross}-origin settings by get_host_info

Categories

(Core :: Audio/Video: Web Codecs, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: chunmin, Assigned: chunmin)

References

Details

Attachments

(1 file)

videoFrame-construction.crossOriginSource.sub.html has tests to check if the images can be loaded from same-origin and cross-origin sites. Now the {same, cross}-origin are set by using wptserve's magic directly here:

const SAMEORIGIN_BASE = '{{location[scheme]}}://{{location[host]}}';
const CROSSORIGIN_BASE = 'http://{{hosts[][www]}}:{{ports[http][0]}}';

However, the idiom is to using get_host_info() to get the domains, like this

You set this bug as P1/S1 and requested tracking for all releases in flight. This is the signal for a release blocker (and we ship 106 today), yet the patch attached to this bug only changes a test file. Are the flags correctly set?

Flags: needinfo?(cchang)
Severity: S1 → S4
Flags: needinfo?(cchang)
Priority: P1 → --

(In reply to Pascal Chevrel:pascalc from comment #2)

You set this bug as P1/S1 and requested tracking for all releases in flight. This is the signal for a release blocker (and we ship 106 today), yet the patch attached to this bug only changes a test file. Are the flags correctly set?

It should be S4

Pushed by cchang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9738efe9d3ad
Replace custom {same, cross}-origin settings by get_host_info r=padenot
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36533 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Component: Audio/Video → Audio/Video: Web Codecs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: