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

Issue 2595393003: Handle should.throw() assertion with no argument properly (Closed)

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

Description

Handle should.throw() assertion with no argument properly Fix a bug spitting '${expected}' in the error message when the no argument is given. Also print out the message associated with the actual error. BUG=676377 TEST=LayoutTests/webaudio/unit-tests/audit.html Committed: https://crrev.com/0cafa0b70e49ee5e694be08f19785c9b79e8e49a Cr-Commit-Position: refs/heads/master@{#440468}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/resources/audit.js View 1 1 chunk +7 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
hongchan
PTAL.
3 years, 12 months ago (2016-12-22 17:38:50 UTC) #2
Raymond Toy
lgtm with nits https://codereview.chromium.org/2595393003/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2595393003/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode273 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:273: if (this._expected === null) { What ...
3 years, 12 months ago (2016-12-22 17:55:00 UTC) #3
hongchan
https://codereview.chromium.org/2595393003/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js File third_party/WebKit/LayoutTests/webaudio/resources/audit.js (right): https://codereview.chromium.org/2595393003/diff/1/third_party/WebKit/LayoutTests/webaudio/resources/audit.js#newcode273 third_party/WebKit/LayoutTests/webaudio/resources/audit.js:273: if (this._expected === null) { On 2016/12/22 17:55:00, Raymond ...
3 years, 12 months ago (2016-12-22 18:10:31 UTC) #4
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/2595393003/20001
3 years, 12 months ago (2016-12-22 18:10:53 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 12 months ago (2016-12-22 19:24:49 UTC) #10
commit-bot: I haz the power
3 years, 12 months ago (2016-12-22 19:30:15 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0cafa0b70e49ee5e694be08f19785c9b79e8e49a
Cr-Commit-Position: refs/heads/master@{#440468}

Powered by Google App Engine
This is Rietveld 408576698