[Webkit-unassigned] [Bug 174816] [GTK][WPE] Need a "pretty" URI property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 25 05:45:50 PDT 2017


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

Michael Catanzaro <mcatanzaro at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at igalia.com

--- Comment #1 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Also, ephy_uri_decode() currently contains a mutex, because there's no convenient location to store the ICU UIDNA context so it needs to be created inside the helper function. That's not good as it entails an unnecessary locking cost. It's also overkill, because the function is probably only ever used from the UI thread, but we don't want helper functions modifying global state like that unless they are threadsafe as that'd be quite a footgun. So we can't do better in Epiphany.

We can do better for WebKit. The UIDNA context should become a private member of WebKitWebView, so it would be created once on startup and no mutex would be needed at all.

-- 
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/20170725/c2395807/attachment.html>


More information about the webkit-unassigned mailing list