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

Unified Diff: LayoutTests/inspector/tracing/worker-events.html

Issue 552323002: DevTools: log worker thread ids on the main thread when Timeline recording is enabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
« no previous file with comments | « LayoutTests/FlakyTests ('k') | LayoutTests/inspector/tracing/worker-events-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/tracing/worker-events.html
diff --git a/LayoutTests/inspector/tracing/worker-events.html b/LayoutTests/inspector/tracing/worker-events.html
index 921fc01c6ef48320797d0cb3c8da70097c76bef9..72901a27b20d3ca12db201455b74c3d4b060add6 100644
--- a/LayoutTests/inspector/tracing/worker-events.html
+++ b/LayoutTests/inspector/tracing/worker-events.html
@@ -51,11 +51,11 @@ function test()
function processEvent(event)
{
- if (event.category !== WebInspector.TracingModel.DevToolsMetadataEventCategory || event.name !== WebInspector.TracingModel.DevToolsMetadataEvent.TracingStartedInWorker)
+ if (event.category !== WebInspector.TracingModel.DevToolsMetadataEventCategory || event.name !== WebInspector.TracingModel.DevToolsMetadataEvent.TracingSessionIdForWorker)
return;
++workerMetadataEventCount;
- InspectorTest.assertEquals(InspectorTest.tracingModel.sessionId(), event.args["sessionId"]);
+ InspectorTest.assertEquals(InspectorTest.tracingModel.sessionId(), event.args["data"]["sessionId"]);
InspectorTest.addResult("Got DevTools worker metadata event(" + workerMetadataEventCount + "): " + event.name);
}
« no previous file with comments | « LayoutTests/FlakyTests ('k') | LayoutTests/inspector/tracing/worker-events-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698