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

Issue 2676343003: Convert OfflineAudioContext Audit tests to testharness (Closed)

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

Description

Convert OfflineAudioContext Audit tests to testharness Used the script for f in `grep -l Audit *.html` do # Replace js-test with testharness and add testharnessreport.js sed -i 's;\(.*\)\(<script.*\)js-test.js\(.*\);\1\2testharness.js\3\ \1\2testharnessreport.js\3 ;' $f # Remove old js-test methods that no longer exist. sed -i '/^[ ]*\(description(.*)\|finishJSTest()\);[ ]*$/d' $f # Remove jsTestIsAsync stuff sed -i '/^[ ]*window.jsTestIsAsync *= *true;[ ]*$/d' $f # Remove expected results file. base=`basename $f .html` if [ -f $base-expected.txt ]; then git rm $base-expected.txt fi done Still needed to convert manually some uses of testPassed/testFailed and some old js-test functions. BUG=689076 TEST=offlineaudiocontext-promise-basic.html, offlineaudiocontext-suspend-resume-basic.html Review-Url: https://codereview.chromium.org/2676343003 Cr-Commit-Position: refs/heads/master@{#450472} Committed: https://chromium.googlesource.com/chromium/src/+/8aca6ce1196fca0dc0cca083b24be9b483f0dc3d

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address review comments. #

Total comments: 3

Patch Set 3 : Address review comments. #

Messages

Total messages: 12 (5 generated)
Raymond Toy
PTAL
3 years, 10 months ago (2017-02-07 17:01:39 UTC) #2
hongchan
https://codereview.chromium.org/2676343003/diff/1/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html File third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html (right): https://codereview.chromium.org/2676343003/diff/1/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html#newcode12 third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html:12: // description("Test OfflineAudioContext.startRendering Promise") Remove this line. https://codereview.chromium.org/2676343003/diff/1/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html#newcode56 third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html:56: ...
3 years, 10 months ago (2017-02-07 18:26:15 UTC) #3
Raymond Toy
https://codereview.chromium.org/2676343003/diff/1/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html File third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html (right): https://codereview.chromium.org/2676343003/diff/1/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html#newcode12 third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-promise-basic.html:12: // description("Test OfflineAudioContext.startRendering Promise") On 2017/02/07 18:26:15, hongchan wrote: ...
3 years, 10 months ago (2017-02-14 16:27:57 UTC) #4
hongchan
lgtm with nits https://codereview.chromium.org/2676343003/diff/20001/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html File third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html (right): https://codereview.chromium.org/2676343003/diff/20001/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html#newcode76 third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html:76: .notThrow(); Is this the result from ...
3 years, 10 months ago (2017-02-14 18:07:26 UTC) #5
Raymond Toy
https://codereview.chromium.org/2676343003/diff/20001/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html File third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html (right): https://codereview.chromium.org/2676343003/diff/20001/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html#newcode76 third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html:76: .notThrow(); On 2017/02/14 18:07:26, hongchan wrote: > Is this ...
3 years, 10 months ago (2017-02-14 18:43:14 UTC) #6
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/2676343003/40001
3 years, 10 months ago (2017-02-14 19:57:16 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 21:09:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8aca6ce1196fca0dc0cca083b24b...

Powered by Google App Engine
This is Rietveld 408576698