Uncaught Exception: Unexpected enum value: CPU
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jul 2019 02:22:30 +0000 (02:22 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jul 2019 02:22:30 +0000 (02:22 +0000)
commit6530de330413d282783a2aa90f7853e012affece
treee86ce35434a0c8ddf8e9f849735781fc23ea9e5c
parent426b33e7eb5e121463ccfdacd532792bbff68536
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`.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Controllers/TimelineManager.js