Closed
Bug 1456271
Opened 8 years ago
Closed 7 years ago
new PeriodicWave(context) fails
Categories
(Core :: Web Audio, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: toy.raymond, Assigned: padenot)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36
Steps to reproduce:
Run
c = new AudioContext()
n = new PeriodicWave(context)
Actual results:
Construction of the PeriodicWave fails with this error message:
IndexSizeError: Index or size is negative or greater than the allowed amount
Not sure what that really means
Expected results:
The periodicWave should have been constructed. The spec says the options dictionary is optional, and if not given, a sine wave is constructed.
See https://webaudio.github.io/web-audio-api/#periodicwave, the note in step 3 of the construction algorithm.
Possibly related to 1324181
Updated•8 years ago
|
Component: Untriaged → Web Audio
Product: Firefox → Core
Updated•8 years ago
|
Rank: 15
Priority: -- → P2
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 2•8 years ago
|
||
Baku, the tests are being landed in web-platform-tests.
Comment 3•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8981958 [details]
Bug 1456271 - Implement new behaviour of PeriodicWave ctor: not passing in any array makes it into a sine wave.
https://reviewboard.mozilla.org/r/247974/#review254082
Attachment #8981958 -
Flags: review?(amarchesini) → review+
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → padenot
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•7 years ago
|
Attachment #8992321 -
Flags: review?(padenot)
| Assignee | ||
Comment 6•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8992321 [details]
Bug 1456271 - Ajust tests to reflect the alignment to the spec.
https://reviewboard.mozilla.org/r/257192/#review264004
Attachment #8992321 -
Flags: review?(padenot) → review+
Pushed by paul@paul.cx:
https://hg.mozilla.org/integration/autoland/rev/b37a0606d6a0
Implement new behaviour of PeriodicWave ctor: not passing in any array makes it into a sine wave. r=baku
https://hg.mozilla.org/integration/autoland/rev/b99bd4121181
Ajust WPT expectations: the idl test for PeriodicWave now passes. r=padenot
Comment 8•7 years ago
|
||
Backed out 2 changesets (bug 1456271) for mda failures in dom/media/webaudio/test/test_periodicWave.html
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=188357744&repo=autoland&lineNumber=35663
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=b99bd412118184d8b8663bdac561b5679dba1b5f&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=usercancel&filter-resultStatus=runnable&selectedJob=188357744
Backout push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=2613d4453b1ffcc0fde21cd4a0ed0dab08dde553&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=usercancel&filter-resultStatus=runnable
Flags: needinfo?(padenot)
| Comment hidden (mozreview-request) |
Comment 10•7 years ago
|
||
Pushed by paul@paul.cx:
https://hg.mozilla.org/integration/autoland/rev/c6119be43135
Implement new behaviour of PeriodicWave ctor: not passing in any array makes it into a sine wave. r=baku
https://hg.mozilla.org/integration/autoland/rev/2ce1d3526399
Ajust tests to reflect the alignment to the spec. r=padenot
Comment 11•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c6119be43135
https://hg.mozilla.org/mozilla-central/rev/2ce1d3526399
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
| Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(padenot)
You need to log in
before you can comment on or make changes to this bug.
Description
•