RESOLVED FIXED 160750
Web Inspector: Introduce a method to enable code coverage profiler without enabling type profiler
https://bugs.webkit.org/show_bug.cgi?id=160750
Summary Web Inspector: Introduce a method to enable code coverage profiler without en...
Nikita Vasilyev
Reported 2016-08-10 14:39:51 PDT
RuntimeAgent.enableTypeProfiler() currently enables both type profiler AND code coverage profiler (for grayed out unexecuted code). RuntimeAgent.enableTypeProfiler should only enable type profiler. We should introduce a new method to enable code coverage profiler, e.g. RuntimeAgent.enableCodeCoverageProfiler().
Attachments
patch (8.01 KB, patch)
2016-08-12 19:22 PDT, Saam Barati
joepeck: review+
patch for landing (7.98 KB, patch)
2016-08-15 15:46 PDT, Saam Barati
no flags
Radar WebKit Bug Importer
Comment 1 2016-08-10 14:40:19 PDT
Saam Barati
Comment 2 2016-08-12 19:22:58 PDT
Joseph Pecoraro
Comment 3 2016-08-12 19:31:49 PDT
Comment on attachment 285996 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=285996&action=review r=me > Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.cpp:327 > + setControlFlowProfilerEnabledState(true); This should set the state to `false`.
Saam Barati
Comment 4 2016-08-12 22:52:16 PDT
Comment on attachment 285996 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=285996&action=review >> Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.cpp:327 >> + setControlFlowProfilerEnabledState(true); > > This should set the state to `false`. Oops. Thanks for pointing this out.
Saam Barati
Comment 5 2016-08-15 15:46:02 PDT
Created attachment 286104 [details] patch for landing
WebKit Commit Bot
Comment 6 2016-08-15 16:33:38 PDT
Comment on attachment 286104 [details] patch for landing Clearing flags on attachment: 286104 Committed r204489: <http://trac.webkit.org/changeset/204489>
WebKit Commit Bot
Comment 7 2016-08-15 16:33:43 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.