[Webkit-unassigned] [Bug 151659] New: Provide public WKWebView API for _MIMEType

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 30 09:29:31 PST 2015


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

            Bug ID: 151659
           Summary: Provide public WKWebView API for _MIMEType
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iOS
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: stuartmorgan at chromium.org

The MIME type of the current page is only currently available to clients via the response policy callback, but that callback isn't used for cached back/forward navigations, which makes keeping track of the MIME type of the page non-trivial. MIME type is necessary for knowing whether the page contains HTML content, which can affect important UI state (e.g., whether to offer a "find in page" option)

WKWebView already appears to have that information in the form of _MIMEType. There should be public API for accessing it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151130/ffbffbf6/attachment.html>


More information about the webkit-unassigned mailing list