According to [`allocationSize` spec](https://w3c.github.io/webcodecs/#dom-audiodata-allocationsize), [`ComputeLayoutAndAllocationSize`](https://searchfox.org/mozilla-central/rev/f3e4b33a6122ce63bf81ae8c30cc5ac37458864b/dom/media/webcodecs/VideoFrame.cpp#624) should take `format` rather than `aFormat`
Bug 1908206 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
According to [`allocationSize` spec](https://w3c.github.io/webcodecs/#dom-videoframe-allocationsize), [`ComputeLayoutAndAllocationSize`](https://searchfox.org/mozilla-central/rev/f3e4b33a6122ce63bf81ae8c30cc5ac37458864b/dom/media/webcodecs/VideoFrame.cpp#624) should take `format` rather than `aFormat`