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

Issue 2718563004: Convert more ScriptProcessorNode tests to testharness (Closed)

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

Description

Convert more ScriptProcessorNode tests to testharness Manually converted these tests to use testharness and new Audit. Note that resources/scriptprocessornode-testing-audit.js was added to allow converting tests that use runJSNodeTest to use new audit. However, scriptprocessornode-rewrap.html, which also uses runJSNodeTest, wasn't converted to testharness because it's not clear what exactly is supposed to happen and whether converting to testharness and audit will preserve behavior. BUG=688493 TEST=scriptprocessornode.html, scriptprocessornode-downmix8-2channel-input.html, scriptprocessornode-upmix2-8channel-input.html, scriptprocessornode-zero-input-channels.html Review-Url: https://codereview.chromium.org/2718563004 Cr-Commit-Position: refs/heads/master@{#453717} Committed: https://chromium.googlesource.com/chromium/src/+/3278631c5f14a11be76ad06b91e3125343345cc7

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rephrase descriptions to be shorter #

Patch Set 3 : Move checkResult body to test #

Total comments: 3

Patch Set 4 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -296 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode.html View 1 chunk +108 lines, -145 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html View 1 1 chunk +22 lines, -26 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input-expected.txt View 1 chunk +0 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-expected.txt View 1 chunk +0 lines, -22 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input.html View 1 1 chunk +23 lines, -24 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-upmix2-8channel-input-expected.txt View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-zero-input-channels.html View 1 2 3 1 chunk +40 lines, -51 lines 0 comments Download
D third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-zero-input-channels-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
A third_party/WebKit/LayoutTests/webaudio/resources/scriptprocessornode-testing-audit.js View 1 2 3 1 chunk +85 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
Raymond Toy
PTAL
3 years, 10 months ago (2017-02-24 16:25:23 UTC) #3
hongchan
https://codereview.chromium.org/2718563004/diff/1/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html File third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html (right): https://codereview.chromium.org/2718563004/diff/1/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html#newcode25 third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html:25: 'downmixing an 8-channel source connected to a JavaScriptAudioNode with ...
3 years, 10 months ago (2017-02-24 23:12:47 UTC) #4
Raymond Toy
https://codereview.chromium.org/2718563004/diff/1/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html File third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html (right): https://codereview.chromium.org/2718563004/diff/1/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html#newcode25 third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html:25: 'downmixing an 8-channel source connected to a JavaScriptAudioNode with ...
3 years, 10 months ago (2017-02-24 23:18:10 UTC) #5
hongchan
It would be better for us to remove some redundant tests for SPN. https://codereview.chromium.org/2718563004/diff/1/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html File ...
3 years, 10 months ago (2017-02-24 23:42:46 UTC) #6
Raymond Toy
On 2017/02/24 23:42:46, hongchan wrote: > It would be better for us to remove some ...
3 years, 9 months ago (2017-02-27 17:23:40 UTC) #7
Raymond Toy
https://codereview.chromium.org/2718563004/diff/1/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html File third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html (right): https://codereview.chromium.org/2718563004/diff/1/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html#newcode25 third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-downmix8-2channel-input.html:25: 'downmixing an 8-channel source connected to a JavaScriptAudioNode with ...
3 years, 9 months ago (2017-02-27 17:31:22 UTC) #8
hongchan
https://codereview.chromium.org/2718563004/diff/40001/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-zero-input-channels.html File third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-zero-input-channels.html (right): https://codereview.chromium.org/2718563004/diff/40001/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-zero-input-channels.html#newcode49 third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-zero-input-channels.html:49: ; A lonely semicolon. https://codereview.chromium.org/2718563004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/scriptprocessornode-testing-audit.js File third_party/WebKit/LayoutTests/webaudio/resources/scriptprocessornode-testing-audit.js (right): https://codereview.chromium.org/2718563004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/scriptprocessornode-testing-audit.js#newcode1 ...
3 years, 9 months ago (2017-02-27 18:16:12 UTC) #9
Raymond Toy
https://codereview.chromium.org/2718563004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/scriptprocessornode-testing-audit.js File third_party/WebKit/LayoutTests/webaudio/resources/scriptprocessornode-testing-audit.js (right): https://codereview.chromium.org/2718563004/diff/40001/third_party/WebKit/LayoutTests/webaudio/resources/scriptprocessornode-testing-audit.js#newcode1 third_party/WebKit/LayoutTests/webaudio/resources/scriptprocessornode-testing-audit.js:1: // For the current implementation of JavaScriptAudioNode, when it ...
3 years, 9 months ago (2017-02-27 19:07:34 UTC) #10
hongchan
lgtm
3 years, 9 months ago (2017-02-28 17:43:57 UTC) #11
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/2718563004/60001
3 years, 9 months ago (2017-02-28 19:28:33 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 22:06:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3278631c5f14a11be76ad06b91e3...

Powered by Google App Engine
This is Rietveld 408576698