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

Issue 212793002: Fix attributes types on AnalyserNode as specification of web audio. (Closed)

Created:
6 years, 9 months ago by KhNo
Modified:
6 years, 8 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fix attributes types on AnalyserNode as specification of web audio. According to specification, minDecibels, maxDicibels and smoothingTimeConstant are defined to double. Specification mismatched, internal member valuables already are defined to double as well. Do not need to cast from float to double. http://www.w3.org/TR/webaudio/#AnalyserNode BUG=356636 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170469

Patch Set 1 #

Patch Set 2 : Add basic layoutTest and domexception test for equal values between min and max value. #

Total comments: 9

Patch Set 3 : Bug fix and typo. #

Patch Set 4 : Modify if condition better. #

Total comments: 2

Patch Set 5 : Fix expectedValue #

Patch Set 6 : Remove webkit prefix in testcase #

Total comments: 2

Patch Set 7 : Add compatibility.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -21 lines) Patch
M LayoutTests/webaudio/dom-exceptions.html View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/webaudio/dom-exceptions-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/webaudio/realtimeanalyser-basic.html View 1 2 3 4 5 6 1 chunk +76 lines, -0 lines 0 comments Download
A LayoutTests/webaudio/realtimeanalyser-basic-expected.txt View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AnalyserNode.h View 1 chunk +6 lines, -6 lines 0 comments Download
M Source/modules/webaudio/AnalyserNode.cpp View 1 3 chunks +6 lines, -6 lines 0 comments Download
M Source/modules/webaudio/AnalyserNode.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/webaudio/RealtimeAnalyser.h View 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
KhNo
Please review patch. Thank you. :)
6 years, 9 months ago (2014-03-26 12:27:55 UTC) #1
Raymond Toy
On 2014/03/26 12:27:55, KhNo wrote: > Please review patch. Thank you. :) lgtm. And I ...
6 years, 9 months ago (2014-03-26 17:00:08 UTC) #2
KhNo
On 2014/03/26 17:00:08, Raymond Toy wrote: > On 2014/03/26 12:27:55, KhNo wrote: > > Please ...
6 years, 9 months ago (2014-03-26 17:16:00 UTC) #3
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 9 months ago (2014-03-26 17:17:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/212793002/1
6 years, 9 months ago (2014-03-26 17:17:22 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 17:17:26 UTC) #6
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 9 months ago (2014-03-26 17:17:27 UTC) #7
KhNo
On 2014/03/26 17:17:27, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
6 years, 9 months ago (2014-03-26 17:26:31 UTC) #8
Raymond Toy
On 2014/03/26 17:26:31, KhNo wrote: > On 2014/03/26 17:17:27, I haz the power (commit-bot) wrote: ...
6 years, 9 months ago (2014-03-26 17:49:39 UTC) #9
KhNo
On 2014/03/26 17:49:39, Raymond Toy wrote: > On 2014/03/26 17:26:31, KhNo wrote: > > On ...
6 years, 9 months ago (2014-03-27 00:53:30 UTC) #10
KhNo
> Oh, it would be nice to add a simple test that you get the ...
6 years, 9 months ago (2014-03-27 13:22:00 UTC) #11
Raymond Toy
Thanks for the tests; these look good, but I have a few comments. https://codereview.chromium.org/212793002/diff/40001/LayoutTests/webaudio/dom-exceptions.html File ...
6 years, 9 months ago (2014-03-27 17:33:08 UTC) #12
Raymond Toy
A question about the trybots. Did you manually chose the set of trybots to run? ...
6 years, 9 months ago (2014-03-27 17:34:52 UTC) #13
KhNo
Could you check the patch set #4 ? I got different result from original code. ...
6 years, 9 months ago (2014-03-28 02:25:22 UTC) #14
KhNo
On 2014/03/27 17:34:52, Raymond Toy wrote: > A question about the trybots. Did you manually ...
6 years, 9 months ago (2014-03-28 02:28:09 UTC) #15
Raymond Toy
https://codereview.chromium.org/212793002/diff/40001/LayoutTests/webaudio/dom-exceptions.html File LayoutTests/webaudio/dom-exceptions.html (right): https://codereview.chromium.org/212793002/diff/40001/LayoutTests/webaudio/dom-exceptions.html#newcode77 LayoutTests/webaudio/dom-exceptions.html:77: shouldThrow("node.maxDecibels = -100"); On 2014/03/28 02:25:23, KhNo wrote: > ...
6 years, 9 months ago (2014-03-28 16:10:06 UTC) #16
Raymond Toy
On 2014/03/28 02:25:22, KhNo wrote: > Could you check the patch set #4 ? > ...
6 years, 9 months ago (2014-03-28 16:11:15 UTC) #17
KhNo
> This is what you get when you run the test in chrome stable/beta/canary? That ...
6 years, 9 months ago (2014-03-29 00:35:51 UTC) #18
KhNo
PTAL :) once again.
6 years, 9 months ago (2014-03-29 00:45:42 UTC) #19
Raymond Toy
On 2014/03/29 00:45:42, KhNo wrote: > PTAL :) once again. lgtm with minor comment. Please ...
6 years, 8 months ago (2014-03-31 16:47:37 UTC) #20
Raymond Toy
https://codereview.chromium.org/212793002/diff/140001/LayoutTests/webaudio/realtimeanalyser-basic.html File LayoutTests/webaudio/realtimeanalyser-basic.html (right): https://codereview.chromium.org/212793002/diff/140001/LayoutTests/webaudio/realtimeanalyser-basic.html#newcode5 LayoutTests/webaudio/realtimeanalyser-basic.html:5: <script src="resources/audio-testing.js"></script> Add <script src="resoruces/compatibility.js"></script> so we can still ...
6 years, 8 months ago (2014-03-31 16:47:54 UTC) #21
KhNo
Thank you. I have added compatibility.js https://codereview.chromium.org/212793002/diff/140001/LayoutTests/webaudio/realtimeanalyser-basic.html File LayoutTests/webaudio/realtimeanalyser-basic.html (right): https://codereview.chromium.org/212793002/diff/140001/LayoutTests/webaudio/realtimeanalyser-basic.html#newcode5 LayoutTests/webaudio/realtimeanalyser-basic.html:5: <script src="resources/audio-testing.js"></script> On ...
6 years, 8 months ago (2014-03-31 17:13:18 UTC) #22
KhNo
The CQ bit was checked by keonho07.kim@samsung.com
6 years, 8 months ago (2014-03-31 17:14:43 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keonho07.kim@samsung.com/212793002/160001
6 years, 8 months ago (2014-03-31 17:14:47 UTC) #24
commit-bot: I haz the power
6 years, 8 months ago (2014-03-31 18:24:53 UTC) #25
Message was sent while issue was closed.
Change committed as 170469

Powered by Google App Engine
This is Rietveld 408576698