[Webkit-unassigned] [Bug 219632] REGRESSION(r261238): WKWebView crashes on launch inside a quicklook preview

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 10 12:05:28 PST 2020


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

--- Comment #4 from sbarex at gmail.com ---
(In reply to Geoffrey Garen from comment #2)
> Seems like something about the quicklook preview setup does not carry the
> entitlement through the audit token.
> 
> I wonder if you can hack most of the code out of your project and turn it
> into a test app demonstrating this problem.

Hi,
I have created a demo code here:
https://github.com/sbarex/QLTest

The quicklook appex handle files with extension .sbarex_test 
The PreviewController create a WKWebView and show a "hello world" message with loadHTMLString (so for this example do not shows the file contents).

The completion handler to show the ql preview is called when the html rendering is complete.

On Big Sur webkit fail immediately and the handle in never called (So the spinning icon rest visibile).

Inside the PreviewController.swift I have inserted but commented the code that use the old WebView. Using this code instead of the wkwebview the preview works.

-- 
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/20201210/b017136f/attachment.htm>


More information about the webkit-unassigned mailing list