[Webkit-unassigned] [Bug 270513] New: Move User Agent Quirks to a Config File
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 5 03:23:47 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=270513
Bug ID: 270513
Summary: Move User Agent Quirks to a Config File
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dennis.camera+webkit at riiengineering.ch
CC: bugs-noreply at webkitgtk.org
Instead of managing a list of domains requiring User Agent quirks hard-coded in C++, I think it would be better to move the list of domains requiring quirks to a config file.
Websites can change quickly while updating the hard-coded list requires a bug report, somebody write a patch, merge the patch, have the commit be included in a release, distros picking up the release, users installing the update.
This process can take days to weeks or possibly even longer which IMO is bad user experience.
If instead the list was in a config file, distros or even users could include new domains much quicker or also remove them after they fixed their sites.
I would suggest a plain text file, one domain per line (possibly allow /regular expressions/, ignore lines starting with [#;]).
This would make it easy also for system administrators to deploy new domains using a shell script when they need to.
What do you think?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240305/c842d405/attachment-0001.htm>
More information about the webkit-unassigned
mailing list