[Webkit-unassigned] [Bug 216586] Make Settings generated from Settings.yaml work with Workers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 15 15:50:44 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216586

--- Comment #1 from Sam Weinig <sam at webkit.org> ---
The most straightforward approach would be to move the 'const Ref<Settings>' member from Document to ScriptExecutionContext, and adding a lock around all getting/setting. (I don't think the overhead of the lock should matter, hopefully nothing is checking a setting in any perf sensitive code, but any settings returning Strings will also have to be switched to always copy the string in and out, so it's not so great).

An alternative strategy would be taking a copy of the Settings (or perhaps the subset needed by Workers) when spawning a Worker, and then serializing mutations to the Settings to each currently active Worker as necessary,

-- 
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/20200915/c4a61752/attachment.htm>


More information about the webkit-unassigned mailing list