Open Bug 1429339 Opened 8 years ago Updated 3 years ago

Rescheduling WebAudio AudioParam with setValueCurveAtTime throws SyntaxError

Categories

(Core :: Web Audio, defect, P2)

57 Branch
defect

Tracking

()

Tracking Status
firefox57 --- affected
firefox58 --- affected
firefox59 --- affected

People

(Reporter: marton, Unassigned)

Details

Attachments

(1 file)

Attached file ffbug.html
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20180103231032 Steps to reproduce: Reschedule the value curve of an AudioParam with setValueCurveAtTime that was scheduled earlier with the same method. Actual results: A "SyntaxError: An invalid or illegal string was specified" exception is thrown at the second call to setValueCurveAtTime. The second scheduling attempt does not have any effect on the AudioParam. Expected results: The second setValueCurveAtTime should not throw, it should reschedule the value curve value. According to the WebAudio spec this exception should never be thrown and the reschedule attempts are valid uses of setValueCurveAtTime: https://webaudio.github.io/web-audio-api/#dom-audioparam-setvaluecurveattime
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID 20180114220708 The issue is also reproducible on Windows 10 x64, Windows 7 x64 and Ubuntu 14.04 x64 using the latest Release 57.0.4 and Nightly 59.
Status: UNCONFIRMED → NEW
Component: Untriaged → Audio/Video
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Rank: 15
Component: Audio/Video → Web Audio
Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: