Closed Bug 1512737 Opened 5 years ago Closed 5 years ago

Missing tests for HRTF

Categories

(Core :: Web Audio, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox-esr60 --- wontfix
firefox64 --- wontfix
firefox65 --- fixed
firefox66 --- fixed

People

(Reporter: decoder, Assigned: karlt)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

We cross-checked 0% coverage files from CI/Tests with fuzzing results and found that we cover several parts of WebAudio/HRTF in fuzzing that apparently don't have tests:

62.5%    dom/media/webaudio/blink/HRTFKernel.h
29.03%   dom/media/webaudio/blink/HRTFDatabase.cpp
40.26%   dom/media/webaudio/blink/HRTFElevation.cpp
33.33%   dom/media/webaudio/blink/HRTFDatabase.h
80.0%    dom/media/webaudio/blink/HRTFDatabaseLoader.h
4.0%     dom/media/webaudio/blink/HRTFPanner.cpp
97.37%   dom/media/webaudio/FFTBlock.cpp
88.0%    dom/media/webaudio/blink/HRTFKernel.cpp
42.86%   dom/media/webaudio/blink/HRTFElevation.h


It might be worth investigating if our tests are supposed to cover these parts and just broken, or if they are missing.
Thank you for detecting and reporting this.

https://hg.mozilla.org/mozilla-central/rev/5636007e3d1a110bbce81f46b61cee5602249cc1#l4.12 attempted to keep these tested but added a "type" property instead of setting the "panningModel" attribute.
Assignee: nobody → karlt
Blocks: 1128494
Keywords: regression
Priority: -- → P3
Pushed by ktomlinson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b26564e76c51
assign HRTF to panningModel attribute instead of adding type property r=padenot
Depends on: 1518378
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: