Open Bug 1872712 Opened 4 months ago Updated 3 months ago

Find better ToString() patterns for code in dom/media/webcodecs

Categories

(Core :: Audio/Video: Web Codecs, task, P2)

task

Tracking

()

People

(Reporter: chunmin, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Many ToString() function in dom/media/webcodecs return nsString type but they are being used like a nsCString (e.g., NS_ConvertUTF16toUTF8(decoderConfigInternal.ToString()) here). Either they should return nsCString directly, or should apply other patterns like ToString pattern in mfbt.

Keywords: good-first-bug
You need to log in before you can comment on or make changes to this bug.