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

Unified Diff: LayoutTests/inspector/tracing/console-timeline.html

Issue 1211613002: Timeline: check category presence in list, not string equality (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed tracing-session-id.html Created 5 years, 6 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
« no previous file with comments | « LayoutTests/inspector/tracing-session-id.html ('k') | LayoutTests/inspector/tracing/worker-events.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/tracing/console-timeline.html
diff --git a/LayoutTests/inspector/tracing/console-timeline.html b/LayoutTests/inspector/tracing/console-timeline.html
index e7881fa933d21189e4f6cd8fd6cf06a2dad4f7a4..a30115f1ef1df6d54a836063121a6e480078a5dd 100644
--- a/LayoutTests/inspector/tracing/console-timeline.html
+++ b/LayoutTests/inspector/tracing/console-timeline.html
@@ -254,7 +254,7 @@ function test()
{
thread.events().forEach(function(event)
{
- if (event.category === WebInspector.TracingModel.ConsoleEventCategory)
+ if (event.hasCategory(WebInspector.TracingModel.ConsoleEventCategory))
InspectorTest.addResult(event.name);
else if (event.name === WebInspector.TimelineModel.RecordType.TimeStamp)
InspectorTest.addResult(event.args["data"]["message"]);
« no previous file with comments | « LayoutTests/inspector/tracing-session-id.html ('k') | LayoutTests/inspector/tracing/worker-events.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698