Closed
Bug 1435893
Opened 6 years ago
Closed 4 years ago
PannerNode refDistance, maxDistance must throw errors
Categories
(Core :: Web Audio, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1487963
People
(Reporter: toy.raymond, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Steps to reproduce: Run this bit of code: c = new AudioContext() p = new PannerNode(c) p.refDistance = -1 p.maxDistance = -1 Actual results: The values for refDistance and maxDistance are changed to -1. Expected results: Errors should be thrown for values of refDistance and maxDistance that are out-of-bounds, as mentioned in https://webaudio.github.io/web-audio-api/#dfn-refdistance and https://webaudio.github.io/web-audio-api/#dfn-maxdistance
Updated•6 years ago
|
Component: General → Web Audio
Comment 1•6 years ago
|
||
https://webaudio.github.io/web-audio-api/#dom-pannernode-refdistance "A RangeError exception MUST be thrown if this is set to a non-positive value. " https://webaudio.github.io/web-audio-api/#dom-pannernode-maxdistance "A RangeError exception MUST be thrown if this is set to a non-positive value. "
Status: UNCONFIRMED → NEW
Rank: 25
Ever confirmed: true
Priority: -- → P3
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•