WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
patch for landing
(7.98 KB, patch)
2016-08-15 15:46 PDT
,
Saam Barati
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-08-10 14:40:19 PDT
<
rdar://problem/27793469
>
Saam Barati
Comment 2
2016-08-12 19:22:58 PDT
Created
attachment 285996
[details]
patch
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.
Top of Page
Format For Printing
XML
Clone This Bug