Title: [247249] trunk/Source/WebInspectorUI
Revision
247249
Author
[email protected]
Date
2019-07-08 19:22:30 -0700 (Mon, 08 Jul 2019)

Log Message

Uncaught Exception: Unexpected enum value: CPU
https://bugs.webkit.org/show_bug.cgi?id=199564

Reviewed by Joseph Pecoraro.

* UserInterface/Controllers/TimelineManager.js:
(WI.TimelineManager.prototype._updateAutoCaptureInstruments):
Filter the list of auto-capture instruments based on what's actually supported, instead of
directly using the saved list from the `WI.Setting`.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (247248 => 247249)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-07-09 02:19:26 UTC (rev 247248)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-07-09 02:22:30 UTC (rev 247249)
@@ -1,5 +1,17 @@
 2019-07-08  Devin Rousso  <[email protected]>
 
+        Uncaught Exception: Unexpected enum value: CPU
+        https://bugs.webkit.org/show_bug.cgi?id=199564
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Controllers/TimelineManager.js:
+        (WI.TimelineManager.prototype._updateAutoCaptureInstruments):
+        Filter the list of auto-capture instruments based on what's actually supported, instead of
+        directly using the saved list from the `WI.Setting`.
+
+2019-07-08  Devin Rousso  <[email protected]>
+
         Enabling the Layers tab hides the paint flashing button
         https://bugs.webkit.org/show_bug.cgi?id=199549
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js (247248 => 247249)


--- trunk/Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js	2019-07-09 02:19:26 UTC (rev 247248)
+++ trunk/Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js	2019-07-09 02:22:30 UTC (rev 247249)
@@ -1206,7 +1206,7 @@
 
     _updateAutoCaptureInstruments(targets)
     {
-        let enabledTimelineTypes = this._enabledTimelineTypesSetting.value;
+        let enabledTimelineTypes = this.enabledTimelineTypes;
 
         for (let target of targets) {
             if (!target.TimelineAgent)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to