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

Issue 330423005: Fix failure handling in mock4js to throw instead of calling an undefined function. (Closed)

Created:
6 years, 6 months ago by Peter Lundblad
Modified:
6 years, 5 months ago
CC:
chromium-reviews, dmazzoni
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Project:
chromium
Visibility:
Public.

Description

Fix failure handling in mock4js to throw instead of calling an undefined function. This makes the expectation failures appear in the log instead of a useless stack trace about an undefined fail method. R=jochen@chromium.org BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280056

Patch Set 1 #

Patch Set 2 : Remove addition of final newline. #

Patch Set 3 : rebase #

Patch Set 4 : Rebase on top of CRLF -> LF conversion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/third_party/mock4js/README.chromium View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/third_party/mock4js/mock4js.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Peter Lundblad
6 years, 6 months ago (2014-06-23 22:51:34 UTC) #1
jochen (gone - plz use gerrit)
have you tried to send this patch upstream?
6 years, 6 months ago (2014-06-24 08:53:17 UTC) #2
Peter Lundblad
jochen@chromium.org writes: > have you tried to send this patch upstream? > I can give ...
6 years, 6 months ago (2014-06-24 19:03:54 UTC) #3
jochen (gone - plz use gerrit)
ok lgtm meanwhile, but it's really preferable to integrate such changes upstream
6 years, 6 months ago (2014-06-25 09:46:09 UTC) #4
Peter Lundblad
The CQ bit was checked by plundblad@chromium.org
6 years, 5 months ago (2014-06-25 18:40:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/plundblad@chromium.org/330423005/40001
6 years, 5 months ago (2014-06-25 18:41:21 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-06-25 19:32:09 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-06-25 19:34:07 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/164938) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/154220) ios_rel_device_ninja ...
6 years, 5 months ago (2014-06-25 19:34:08 UTC) #9
Peter Lundblad
The CQ bit was checked by plundblad@chromium.org
6 years, 5 months ago (2014-06-26 15:02:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/plundblad@chromium.org/330423005/60001
6 years, 5 months ago (2014-06-26 15:03:49 UTC) #11
Peter Lundblad
FWIW, I contacted the author of the library and asked how to submit patches to ...
6 years, 5 months ago (2014-06-26 17:00:25 UTC) #12
commit-bot: I haz the power
6 years, 5 months ago (2014-06-26 18:25:54 UTC) #13
Message was sent while issue was closed.
Change committed as 280056

Powered by Google App Engine
This is Rietveld 408576698