| Index: LayoutTests/inspector/tracing/worker-js-profile.html
|
| diff --git a/LayoutTests/inspector/tracing/worker-js-profile.html b/LayoutTests/inspector/tracing/worker-js-profile.html
|
| index 222e07e3a418ac26dde9dac9ae6511b7b813896a..18972405d1ab196e012b2b7341d403baea206f26 100644
|
| --- a/LayoutTests/inspector/tracing/worker-js-profile.html
|
| +++ b/LayoutTests/inspector/tracing/worker-js-profile.html
|
| @@ -56,9 +56,8 @@ function test()
|
| {
|
| var mainThread = { name: "Main Thread", events: InspectorTest.tracingTimelineModel()._mainThreadEvents };
|
| processThread(new Set(["startSecondWorker", "worker2.onmessage"]), mainThread);
|
| - // FIXME: enable the check for workers.
|
| - // var workers = InspectorTest.tracingTimelineModel()._virtualThreads.filter(function(thread) { return thread.name === "WebCore: Worker"});
|
| - // workers.forEach(processThread.bind(null, new Set(["onmessage"])));
|
| + var workers = InspectorTest.tracingTimelineModel()._virtualThreads.filter(function(thread) { return thread.isWorker(); });
|
| + workers.forEach(processThread.bind(null, new Set(["onmessage"])));
|
| InspectorTest.completeTest();
|
| }
|
|
|
|
|