Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Issue 2712933003: PeriodicWave returns sine wave generator if no coefficients given (Closed)

Created:
3 years, 10 months ago by Raymond Toy
Modified:
3 years, 9 months ago
Reviewers:
hongchan
CC:
chromium-reviews, blink-reviews, haraken, Raymond Toy, hongchan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PeriodicWave returns sine wave generator if no coefficients given If the PeriodWaveOptions option does not specify either real or imag components, the returned PeriodicWave should result in a sine wave when used with an OscillatorNode. The spec was unclear and incorrect in saying that the optional PeriodicWaveOptions dictionary had optional members specified, but actually required at least one to be specified. The spec was updated to make this clear that everything is correctly optional, and specifies what PeriodicWave should do PeriodicWaveOptions is given. Tests updated for this and an additional test to verify that the output is a sine wave. BUG=695513 TEST=constructor/periodicwave.html Review-Url: https://codereview.chromium.org/2712933003 Cr-Commit-Position: refs/heads/master@{#457824} Committed: https://chromium.googlesource.com/chromium/src/+/10c77a53e77e2ae475a00cbddb5da81f0f2965c4

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Refactor and add test #

Total comments: 4

Patch Set 5 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -20 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html View 1 2 3 4 3 chunks +60 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/PeriodicWave.cpp View 2 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
Raymond Toy
PTAL
3 years, 9 months ago (2017-03-16 19:48:23 UTC) #7
hongchan
lgtm with nits https://codereview.chromium.org/2712933003/diff/60001/third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html File third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html (right): https://codereview.chromium.org/2712933003/diff/60001/third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html#newcode320 third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html:320: }) A missing semicolon! https://codereview.chromium.org/2712933003/diff/60001/third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html#newcode328 third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html:328: ...
3 years, 9 months ago (2017-03-16 21:50:21 UTC) #8
Raymond Toy
https://codereview.chromium.org/2712933003/diff/60001/third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html File third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html (right): https://codereview.chromium.org/2712933003/diff/60001/third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html#newcode320 third_party/WebKit/LayoutTests/webaudio/constructor/periodicwave.html:320: }) On 2017/03/16 21:50:21, hongchan wrote: > A missing ...
3 years, 9 months ago (2017-03-16 22:18:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712933003/80001
3 years, 9 months ago (2017-03-17 16:50:10 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 18:31:58 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/10c77a53e77e2ae475a00cbddb5d...

Powered by Google App Engine
This is Rietveld 408576698