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

Issue 22311011: Improve 'performance.{mark,measure} exception messages. (Closed)

Created:
7 years, 4 months ago by Mike West
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Visibility:
Public.

Description

Improve 'performance.{mark,measure} exception messages. Rather than throwing the generic 'InvalidAccessError' and 'SyntaxError' text, this patch adds information about the reasons behind the throw in order to improve the developer experience. BUG=270033 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155880

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -3 lines) Patch
A LayoutTests/fast/performance/performance-mark-exceptions.html View 1 chunk +39 lines, -0 lines 0 comments Download
A LayoutTests/fast/performance/performance-mark-exceptions-expected.txt View 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/performance/performance-measure-exceptions.html View 1 chunk +33 lines, -0 lines 0 comments Download
A LayoutTests/fast/performance/performance-measure-exceptions-expected.txt View 1 chunk +21 lines, -0 lines 0 comments Download
M Source/core/page/PerformanceUserTiming.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mike West
Hi Erik! #2 of #?. :) -mike
7 years, 4 months ago (2013-08-09 13:51:25 UTC) #1
arv (Not doing code reviews)
LGTM
7 years, 4 months ago (2013-08-09 15:21:50 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/22311011/1
7 years, 4 months ago (2013-08-09 18:03:56 UTC) #3
commit-bot: I haz the power
7 years, 4 months ago (2013-08-09 22:50:44 UTC) #4
Message was sent while issue was closed.
Change committed as 155880

Powered by Google App Engine
This is Rietveld 408576698