Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 872c49e7188228d0694e8e9dc6f8929cfcd3cf28
https://github.com/WebKit/WebKit/commit/872c49e7188228d0694e8e9dc6f8929cfcd3cf28
Author: Razvan Caliman <[email protected]>
Date: 2026-01-29 (Thu, 29 Jan 2026)
Changed paths:
M Source/WebInspectorUI/UserInterface/Base/Main.js
Log Message:
-----------
Web Inspector: Cache the LTR/RTL orientation system value on the frontend
https://bugs.webkit.org/show_bug.cgi?id=306356
rdar://169024433
Reviewed by BJ Burg and Devin Rousso.
A check for the value of RTL/LTR text orientation of the Web Inspector page is
done every time when rendering a search result to determine how much context
to show around either side of the matched string.
This patch caches the RTL/LTR value so the request does not have to call
a browser API for every search result.
When the value is changed from Web Inspector Settings, Web Inspector reopens
automatically.
When the value is changed at the system level, the user is prompted to restart
the computer.
* Source/WebInspectorUI/UserInterface/Base/Main.js:
Canonical link: https://commits.webkit.org/306428@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications