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

Issue 389913003: Make error messages about private scripts more descriptive (Closed)

Created:
6 years, 5 months ago by haraken
Modified:
6 years, 5 months ago
CC:
abarth-chromium, arv+blink, blink-reviews, blink-reviews-bindings_chromium.org
Project:
blink
Visibility:
Public.

Description

Make error messages about private scripts more descriptive Instead of just crashing with RELEASE_ASSERT(), we should print more descriptive error messages to help debug private scripts. BUG=341031 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178046

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -8 lines) Patch
M Source/bindings/core/v8/PrivateScriptRunner.cpp View 1 5 chunks +33 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
haraken
PTAL
6 years, 5 months ago (2014-07-14 05:56:06 UTC) #1
abarth-chromium
LGTM
6 years, 5 months ago (2014-07-14 06:11:41 UTC) #2
abarth-chromium
Consider using FATAL from Assertions.h isntead.
6 years, 5 months ago (2014-07-14 06:12:51 UTC) #3
abarth-chromium
Not sure if FATAL works in release. There's got to be something better to use ...
6 years, 5 months ago (2014-07-14 06:14:02 UTC) #4
haraken
On 2014/07/14 06:14:02, abarth wrote: > Not sure if FATAL works in release. There's got ...
6 years, 5 months ago (2014-07-14 10:21:56 UTC) #5
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 5 months ago (2014-07-14 10:22:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/389913003/20001
6 years, 5 months ago (2014-07-14 10:22:16 UTC) #7
commit-bot: I haz the power
Change committed as 178046
6 years, 5 months ago (2014-07-14 11:32:20 UTC) #8
arv (Not doing code reviews)
LGTM
6 years, 5 months ago (2014-07-14 14:50:57 UTC) #9
Justin Novosad
A revert of this CL has been created in https://codereview.chromium.org/394493003/ by junov@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-14 15:51:11 UTC) #10
Justin Novosad
6 years, 5 months ago (2014-07-14 16:08:19 UTC) #11
Message was sent while issue was closed.
On 2014/07/14 15:51:11, junov wrote:
> A revert of this CL has been created in
> https://codereview.chromium.org/394493003/ by mailto:junov@chromium.org.
> 
> The reason for reverting is: Speculative revert for telemetry unit tests
failing
> on mac.  Failing tests are tests that deliberately execute scripts that crash
> the tab. This CL is in the regression range (178046:178054) and seems highly
> related.

Revert was aborted.  This CL is not to blame.

Powered by Google App Engine
This is Rietveld 408576698