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

Issue 258523004: Stop passing chrome.test.fail as ErrorCallback (Closed)

Created:
6 years, 8 months ago by hashimoto
Modified:
6 years, 7 months ago
Reviewers:
hirono
CC:
chromium-reviews, extensions-reviews_chromium.org, vandebo (ex-Chrome), Lei Zhang, yoshiki+watch_chromium.org, tommycli, rginda+watch_chromium.org, Greg Billock, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Stop passing chrome.test.fail as ErrorCallback chrome.test.fail cannot be used as ErrorCallback because it throws exception when the number of arguments doesn't match. This wrong use of chrome.test.fail makes the error output useless when something goes wrong. BUG=None TEST=browser_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266271 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267077

Patch Set 1 : #

Messages

Total messages: 11 (0 generated)
hashimoto
Please review. This wrong use of chrome.test.fail results in terminating the test ungracefully with an ...
6 years, 8 months ago (2014-04-24 11:13:33 UTC) #1
hirono
Thank you for doing this. LGTM!
6 years, 8 months ago (2014-04-25 02:30:11 UTC) #2
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 8 months ago (2014-04-25 02:32:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/258523004/20001
6 years, 8 months ago (2014-04-25 02:35:27 UTC) #4
commit-bot: I haz the power
Change committed as 266271
6 years, 8 months ago (2014-04-25 23:02:26 UTC) #5
tapted
A revert of this CL has been created in https://codereview.chromium.org/254943002/ by tapted@chromium.org. The reason for ...
6 years, 8 months ago (2014-04-28 00:34:13 UTC) #6
hirono
On 2014/04/28 00:34:13, tapted wrote: > A revert of this CL has been created in ...
6 years, 8 months ago (2014-04-28 04:03:19 UTC) #7
hashimoto
On 2014/04/28 04:03:19, hirono wrote: > On 2014/04/28 00:34:13, tapted wrote: > > A revert ...
6 years, 7 months ago (2014-04-30 03:58:28 UTC) #8
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 7 months ago (2014-04-30 03:58:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/258523004/20001
6 years, 7 months ago (2014-04-30 04:00:36 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 05:08:41 UTC) #11
Message was sent while issue was closed.
Change committed as 267077

Powered by Google App Engine
This is Rietveld 408576698