Closed
Bug 870167
Opened 12 years ago
Closed 12 years ago
Create a mini test framework for Web Audio
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(2 files)
49.12 KB,
patch
|
Details | Diff | Splinter Review | |
72.05 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
This is long overdue. My goals are to stop repeating the same code over and over again, make it easier to add new tests, and make it very easy to run most of our tests work with OfflineAudioContext when I finish implementing that. As a bonus, this might open up a path for us to run these tests stand-alone in Chrome, but I don't wanna hold this up on that for now.
Assignee | ||
Comment 1•12 years ago
|
||
This should be easier to review.
Attachment #747208 -
Flags: review?(roc)
Assignee | ||
Comment 2•12 years ago
|
||
The patch itself.
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to :Ehsan Akhgari (needinfo? me!) from comment #3)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/202d4048a8b8
Ah, wrong bug. Too many tabs open. :(
Comment on attachment 747209 [details] [diff] [review]
Patch (v1)
Review of attachment 747209 [details] [diff] [review]:
-----------------------------------------------------------------
This is really nice!
r+ with or without that change.
::: content/media/webaudio/test/webaudio.js
@@ +74,5 @@
> + * everything needed in order to set up the Web Audio graph.
> + * In async mode, it takes a callback which should be called
> + * with an argument set to the node to be inspected when the
> + * callee is ready to proceed with the test. In sync mode, it
> + * returns the node to be inspected.
I think it would be a bit cleaner to have createGraph and createGraphAsync and call the former if it exists, otherwise the latter. Right now you're overloading createGraph with two different kinds of things.
Attachment #747209 -
Flags: review+
Assignee | ||
Comment 6•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #747208 -
Flags: review?(roc)
Comment 7•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Assignee | ||
Comment 8•12 years ago
|
||
Mass moving Web Audio bugs to the Web Audio component. Filter on duckityduck.
Component: Video/Audio → Web Audio
You need to log in
before you can comment on or make changes to this bug.
Description
•