[Webkit-unassigned] [Bug 188843] NetworkCache::Storage::lastStableVersion should be a developer-only feature

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 22 09:08:30 PDT 2018


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

Michael Catanzaro <mcatanzaro at igalia.com> changed:

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

--- Comment #3 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Comment on attachment 347792
  --> https://bugs.webkit.org/attachment.cgi?id=347792
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=347792&action=review

> Source/WebKit/Shared/mac/ChildProcessMac.mm:743
> +#if PLATFORM(MAC)
> +bool ChildProcess::isSystemWebKit()
> +{
> +    static bool isSystemWebKit = [] {
> +        return [[webKit2Bundle() bundlePath] hasPrefix:@"/System/"];
> +    }();
> +    return isSystemWebKit;
> +}
> +#endif

You can implement this now for all platforms. On non-Cocoa ports, it's system WebKit #if !ENABLE(DEVELOPER_MODE).

-- 
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/20180822/de364262/attachment-0001.html>


More information about the webkit-unassigned mailing list