Title: [208561] trunk/Source/WebInspectorUI
Revision
208561
Author
[email protected]
Date
2016-11-10 13:31:01 -0800 (Thu, 10 Nov 2016)

Log Message

Web Inspector: Call RuntimeAgent.disableControlFlowProfiler when Code Coverage Profiler is turned off
https://bugs.webkit.org/show_bug.cgi?id=163407
<rdar://problem/28764230>

Reviewed by Joseph Pecoraro.

Turning Code Coverage off by clicking [C] icon now disables its backend by calling RuntimeAgent.disableControlFlowProfiler().

* UserInterface/Views/SourceCodeTextEditor.js:
(WebInspector.SourceCodeTextEditor.prototype.set _basicBlockAnnotatorEnabled):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (208560 => 208561)


--- trunk/Source/WebInspectorUI/ChangeLog	2016-11-10 21:19:52 UTC (rev 208560)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-11-10 21:31:01 UTC (rev 208561)
@@ -1,3 +1,16 @@
+2016-11-10  Nikita Vasilyev  <[email protected]>
+
+        Web Inspector: Call RuntimeAgent.disableControlFlowProfiler when Code Coverage Profiler is turned off
+        https://bugs.webkit.org/show_bug.cgi?id=163407
+        <rdar://problem/28764230>
+
+        Reviewed by Joseph Pecoraro.
+
+        Turning Code Coverage off by clicking [C] icon now disables its backend by calling RuntimeAgent.disableControlFlowProfiler().
+
+        * UserInterface/Views/SourceCodeTextEditor.js:
+        (WebInspector.SourceCodeTextEditor.prototype.set _basicBlockAnnotatorEnabled):
+
 2016-11-10  Aaron Chu  <[email protected]>
 
         Web Inspector: AXI: clarify button roles (e.g. toggle or popup button)

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js (208560 => 208561)


--- trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js	2016-11-10 21:19:52 UTC (rev 208560)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js	2016-11-10 21:31:01 UTC (rev 208561)
@@ -1909,6 +1909,7 @@
             if (!this._controlFlowScrollHandler)
                 this._enableScrollEventsForControlFlowAnnotator();
         } else {
+            RuntimeAgent.disableControlFlowProfiler();
             this._basicBlockAnnotator.clear();
 
             if (this._controlFlowScrollHandler)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to