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

Issue 2666703002: Correct confusing error message from OfflineAudioContext.suspend() (Closed)

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

Description

Correct confusing error message from OfflineAudioContext.suspend() This CL is to clamp the frame number and the time in the error message that is displayed when OfflineAudioContext.suspend() is failed because of the invalid suspension time. BUG=678773 TEST= LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic.html Review-Url: https://codereview.chromium.org/2666703002 Cr-Commit-Position: refs/heads/master@{#447367} Committed: https://chromium.googlesource.com/chromium/src/+/48442972273ae0ba3f6f4cadc31dc5988b91e660

Patch Set 1 : Initial commit #

Patch Set 2 : Added layout test #

Total comments: 1

Patch Set 3 : Refined error message #

Total comments: 2

Messages

Total messages: 18 (6 generated)
hongchan
PTAL at the code change. Not sure where to add the new test for CL. ...
3 years, 10 months ago (2017-01-30 20:48:58 UTC) #2
Raymond Toy
On 2017/01/30 20:48:58, hongchan wrote: > PTAL at the code change. > > Not sure ...
3 years, 10 months ago (2017-01-30 21:05:08 UTC) #3
hongchan
I think the PS2 works for us. I have added a task to offlineaudiocontext-suspend-resume-basic.html and ...
3 years, 10 months ago (2017-01-30 21:25:26 UTC) #4
Raymond Toy
https://codereview.chromium.org/2666703002/diff/20001/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt File third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt (right): https://codereview.chromium.org/2666703002/diff/20001/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt#newcode11 third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt:11: PASS Scheduling a suspend after the render completion rejected ...
3 years, 10 months ago (2017-01-30 22:13:07 UTC) #5
hongchan
> PASS Scheduling a suspend after the render completion rejected correctly (with > InvalidStateError: cannot ...
3 years, 10 months ago (2017-01-30 23:50:54 UTC) #6
hongchan
On 2017/01/30 23:50:54, hongchan wrote: > > PASS Scheduling a suspend after the render completion ...
3 years, 10 months ago (2017-01-31 20:29:13 UTC) #7
hongchan
3 years, 10 months ago (2017-01-31 20:38:37 UTC) #8
Raymond Toy
lgtm, but please update TEST=TBD One minor nit that does not block this CL in ...
3 years, 10 months ago (2017-01-31 20:43:43 UTC) #9
hongchan
On 2017/01/31 20:43:43, Raymond Toy wrote: > lgtm, but please update TEST=TBD > > One ...
3 years, 10 months ago (2017-01-31 21:02:49 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/2666703002/40001
3 years, 10 months ago (2017-01-31 21:03:37 UTC) #13
Raymond Toy
https://codereview.chromium.org/2666703002/diff/40001/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt File third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt (right): https://codereview.chromium.org/2666703002/diff/40001/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt#newcode9 third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-basic-expected.txt:9: PASS Scheduling a suspend in the past rejected correctly ...
3 years, 10 months ago (2017-01-31 21:18:05 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 23:48:46 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/48442972273ae0ba3f6f4cadc31d...

Powered by Google App Engine
This is Rietveld 408576698