Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 51c7591a14137e0426162a388d52fa77bcf08ed9
      
https://github.com/WebKit/WebKit/commit/51c7591a14137e0426162a388d52fa77bcf08ed9
  Author: Devin Rousso <[email protected]>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Controllers/ConsoleManager.js
    M Source/WebInspectorUI/UserInterface/Models/LoggingChannel.js
    M Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js

  Log Message:
  -----------
  Web Inspector: Media Logging setting does not persist across page loads
https://bugs.webkit.org/show_bug.cgi?id=294908
<rdar://problem/154766890>

Reviewed by Qianlang Chen.

* Source/WebInspectorUI/UserInterface/Models/LoggingChannel.js:
(WI.LoggingChannel.prototype.set level): Added.
* Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js:
(WI.SettingsTabContentView.prototype._createConsoleSettingsView):
Modify the actual model object when changing instead of just invoking 
`Console.setLoggingChannelLevel`.

* Source/WebInspectorUI/UserInterface/Controllers/ConsoleManager.js:
(WI.ConsoleManager.prototype.initializeTarget):
Invoke `Console.setLoggingChannelLevel` for each new `WI.Target` based on the 
current saved value.

Canonical link: https://commits.webkit.org/315758@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to