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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 593123003: DevTools: make console.timeline/timelineEnd work for tracing based Timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 16d466f43f5df85eefdbe34339d163c881b2c546..d5efd2996eefbec428364cabe4e2b475c345a49d 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -786,6 +786,12 @@ String UseCounter::deprecationMessage(Feature feature)
case XHRProgressEventTotalSize:
return "The XMLHttpRequest progress event property 'totalSize' is deprecated. Please use 'total' instead.";
+ case ConsoleTimeline:
+ return "console.timeline is deprecated. Please use the console.time instead.";
alph 2014/09/23 16:02:06 drop 'the'
yurys 2014/09/23 16:13:28 I copied the wording from case ConsoleMarkTimeline
+
+ case ConsoleTimelineEnd:
+ return "console.timelineEnd is deprecated. Please use the console.timeEnd instead.";
alph 2014/09/23 16:02:07 ditto
yurys 2014/09/23 16:13:28 I copied the wording from case ConsoleMarkTimeline
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698