[Webkit-unassigned] [Bug 167759] New: Regression (iOS 10.3 beta): 3rd party apps can crash when custom protocols cause loads to be synchronous cancelled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 2 14:43:28 PST 2017


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

            Bug ID: 167759
           Summary: Regression (iOS 10.3 beta): 3rd party apps can crash
                    when custom protocols cause loads to be synchronous
                    cancelled
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: beidson at apple.com

Regression (iOS 10.3 beta): 3rd party apps can crash when custom protocols cause loads to be synchronous cancelled

When a custom protocol tries to redirect back to a normal protocol (e.g. file://), and they do so synchronously when the NSURLConnection is started, WebKit will crash.

Custom protocols are not supposed to do that synchronously, so WebCore::ResourceHandle doesn't handle it.

Putting the [NSURLConnection start] on a 0-delay fixes this.

I'm also working on a test, but it may not be possible.

-- 
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/20170202/f0e884b4/attachment.html>


More information about the webkit-unassigned mailing list