[Webkit-unassigned] [Bug 208122] New: Output bfcache log messages to DevTools' console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 24 00:43:28 PST 2020


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

            Bug ID: 208122
           Summary: Output bfcache log messages to DevTools' console
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: History
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vkhomyackov at gmail.com

The function canCacheFrame in PageCache.cpp outputs explaining messages in PCLOG in the case when a page cannot be saved to bfcache, e.g. at line https://github.com/WebKit/webkit/blob/89c28d471fae35f1788a0f857067896a10af8974/Source/WebCore/history/PageCache.cpp#L124

        PCLOG("   -Frame is HTTPS, and cache control prohibits storing");
        logPageCacheFailureDiagnosticMessage(diagnosticLoggingClient, DiagnosticLoggingKeys::httpsNoStoreKey());

Actual results:

Messages are probably written to some log file. It is still unknown where to find this log.

Expected results:

I'd like to know, where to find this log file (point me to the documentation, please). Moreover, as a frontend developer, I'd like to see the same messages in DevTools' console. This would have following benefits:

- this way of reporting various errors and warnings is already familiar to developers
- more developers will be aware of bfcache
- developing and supporting bfcache-friendly pages will be much easier

-- 
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/20200224/ad2a865b/attachment.htm>


More information about the webkit-unassigned mailing list