Status: Unconfirmed
Owner: ----
Labels: Cr-Internals-Media Pri-2 Via-Wizard Type-Bug OS-Mac
New issue 243690 by
choihong...@gmail.com:
AudioParam.exponentialRampToValueAtTime() does not throw exception with the
value 0.
http://code.google.com/p/chromium/issues/detail?id=243690
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36
Example URL:
http://jsfiddle.net/hoch/3sXRq/2/
Steps to reproduce the problem:
gainNode.gain.setValueAtTime(0.0, 0);
gainNode.gain.linearRampToValueAtTime(1.0, 0.01);
gainNode.gain.exponentialRampToValueAtTime(0.0, 2.0); // no exception thrown
What is the expected behavior?
The code above should spit out the exception due to the target value
being "0.0."
What went wrong?
The code above produces a burst of sound, instead of a nice fade out. The
spec says 0.0 is not allowed to be passed into the method, it would be
better if the exception is thrown so user can notice the problem.
Did this work before? No
Is it a problem with Flash or HTML5? HTML5
Does this work in other browsers? No
Chrome version: 27.0.1453.93 Channel: stable
OS Version: OS X 10.7.5
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings