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

Issue 945023002: Refactoring layout tests for AudioContext.suspend() and resume() (Closed)

Created:
5 years, 10 months ago by hongchan
Modified:
5 years, 10 months ago
Reviewers:
Raymond Toy
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

This patch includes a fix and refactoring on several layout tests for promise from AudioContext.suspend() and .resume(). |Audit| task runner handles the sequential execution of asynchrous test tasks. BUG=460504 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190694

Patch Set 1 #

Total comments: 19

Patch Set 2 : Removed offlinecontext-promise.html for anoter CL #

Total comments: 1

Patch Set 3 : Fixed to check 'event' object, not global context. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -248 lines) Patch
M LayoutTests/webaudio/audiocontext-close.html View 1 2 1 chunk +172 lines, -140 lines 1 comment Download
M LayoutTests/webaudio/audiocontext-close-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/webaudio/audiocontext-suspend-resume.html View 1 1 chunk +117 lines, -105 lines 0 comments Download
M LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (2 generated)
hongchan
PTAL. https://codereview.chromium.org/945023002/diff/1/LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt File LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt (right): https://codereview.chromium.org/945023002/diff/1/LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt#newcode10 LayoutTests/webaudio/audiocontext-suspend-resume-expected.txt:10: PASS p2 = context.resume() did not throw exception. ...
5 years, 10 months ago (2015-02-20 21:21:28 UTC) #2
Raymond Toy
https://codereview.chromium.org/945023002/diff/1/LayoutTests/webaudio/audiocontext-close.html File LayoutTests/webaudio/audiocontext-close.html (right): https://codereview.chromium.org/945023002/diff/1/LayoutTests/webaudio/audiocontext-close.html#newcode8 LayoutTests/webaudio/audiocontext-close.html:8: </head> Unnecessary indentation change? https://codereview.chromium.org/945023002/diff/1/LayoutTests/webaudio/audiocontext-close.html#newcode26 LayoutTests/webaudio/audiocontext-close.html:26: // Task 1: ...
5 years, 10 months ago (2015-02-20 21:35:14 UTC) #3
hongchan
For offlinecontext-promise.html, I will file another CL. I think the test also needs a bit ...
5 years, 10 months ago (2015-02-20 22:20:09 UTC) #4
hongchan
Sorry, I missed one change in audiocontext-suspend-resume.html. Will do it in the next patch. https://codereview.chromium.org/945023002/diff/20001/LayoutTests/webaudio/audiocontext-close.html ...
5 years, 10 months ago (2015-02-20 22:23:04 UTC) #5
hongchan
Sorry for the spamming. Fixed to check 'event' object from Promise argument, not the global ...
5 years, 10 months ago (2015-02-20 22:55:38 UTC) #6
Raymond Toy
lgtm with nits https://codereview.chromium.org/945023002/diff/40001/LayoutTests/webaudio/audiocontext-close.html File LayoutTests/webaudio/audiocontext-close.html (right): https://codereview.chromium.org/945023002/diff/40001/LayoutTests/webaudio/audiocontext-close.html#newcode152 LayoutTests/webaudio/audiocontext-close.html:152: shouldBeEqualToString("event.target.state", "closed"); Does this actually work? ...
5 years, 10 months ago (2015-02-23 17:26:43 UTC) #7
hongchan
On 2015/02/23 at 17:26:43, rtoy wrote: > lgtm with nits > > https://codereview.chromium.org/945023002/diff/40001/LayoutTests/webaudio/audiocontext-close.html > File ...
5 years, 10 months ago (2015-02-23 17:38:05 UTC) #8
Raymond Toy
On 2015/02/23 17:38:05, hoch wrote: > On 2015/02/23 at 17:26:43, rtoy wrote: > > lgtm ...
5 years, 10 months ago (2015-02-23 17:50:12 UTC) #9
hongchan
On 2015/02/23 at 17:50:12, rtoy wrote: > On 2015/02/23 17:38:05, hoch wrote: > > On ...
5 years, 10 months ago (2015-02-23 17:52:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/945023002/40001
5 years, 10 months ago (2015-02-23 21:13:27 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 22:45:04 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190694

Powered by Google App Engine
This is Rietveld 408576698