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

Issue 2789883002: setValueCurveAtTime takes sequence<float> for curve (Closed)

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

Description

setValueCurveAtTime takes sequence<float> for curve Instead of a Float32Array, the curve parameter for an AudioParam.setValueCurveAtTime method is now a sequence<float>. This also implies that only finite values for the curve. This change is (mostly) backward compatible since Float32Array is a sequence<float>. Added a test to verify that we throw an error if the curve contains a non-finite value. BUG=708306 TEST=AudioParam/audioparam-exceptional-values.html Review-Url: https://codereview.chromium.org/2789883002 Cr-Commit-Position: refs/heads/master@{#464504} Committed: https://chromium.googlesource.com/chromium/src/+/e78f7c1cc5587c0a09ca68b9519a45b1c3238ece

Patch Set 1 #

Patch Set 2 : Fix windows compile error; use notAFiniteNumber #

Patch Set 3 : Rebaseline #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Use references; fix merge mistake. #

Total comments: 2

Patch Set 7 : Address review comments #

Patch Set 8 : Rebase #

Patch Set 9 : Rebaseline test result #

Patch Set 10 : Rebaseline tests #

Patch Set 11 : Rebaseline #

Patch Set 12 : Remove SharedArrayBuffer test; rebaseline results #

Patch Set 13 : Rebaseline test results #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -64 lines) Patch
M third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/webaudio/dom-exceptions-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html View 1 2 3 4 5 6 1 chunk +7 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-setValueCurve-exceptions-expected.txt View 1 2 3 10 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParam.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParam.cpp View 1 2 3 4 5 6 7 2 chunks +7 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParam.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp View 1 2 3 4 5 6 7 5 chunks +14 lines, -16 lines 0 comments Download

Messages

Total messages: 35 (20 generated)
Raymond Toy
PTAL. The spec issue is finalized
3 years, 8 months ago (2017-04-11 15:04:02 UTC) #4
hongchan
lgtm with nit https://codereview.chromium.org/2789883002/diff/100001/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html File third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html (right): https://codereview.chromium.org/2789883002/diff/100001/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html#newcode109 third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html:109: // Non-finite curve values should signal ...
3 years, 8 months ago (2017-04-11 17:12:24 UTC) #5
Raymond Toy
https://codereview.chromium.org/2789883002/diff/100001/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html File third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html (right): https://codereview.chromium.org/2789883002/diff/100001/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html#newcode109 third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-exceptional-values.html:109: // Non-finite curve values should signal an error On ...
3 years, 8 months ago (2017-04-11 20:11:00 UTC) #6
Raymond Toy
PTAL. This is a minor API change where we use sequence<float> instead of Float32Array now. ...
3 years, 8 months ago (2017-04-11 20:12:33 UTC) #8
tkent
On 2017/04/11 at 20:12:33, rtoy wrote: > PTAL. This is a minor API change where ...
3 years, 8 months ago (2017-04-12 13:46:07 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/2789883002/120001
3 years, 8 months ago (2017-04-12 15:09:40 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/51620) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 8 months ago (2017-04-12 15:13:05 UTC) #14
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/2789883002/140001
3 years, 8 months ago (2017-04-12 15:33:39 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/420723)
3 years, 8 months ago (2017-04-12 17:04:25 UTC) #19
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/2789883002/160001
3 years, 8 months ago (2017-04-12 18:13:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/420885)
3 years, 8 months ago (2017-04-12 19:55:29 UTC) #24
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/2789883002/220001
3 years, 8 months ago (2017-04-13 15:17:42 UTC) #27
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/webaudio/dom-exceptions-expected.txt: While running git apply --index -3 -p1; <stdin>:24: trailing ...
3 years, 8 months ago (2017-04-13 16:47:59 UTC) #29
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/2789883002/240001
3 years, 8 months ago (2017-04-13 17:56:40 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 19:43:33 UTC) #35
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/e78f7c1cc5587c0a09ca68b9519a...

Powered by Google App Engine
This is Rietveld 408576698