[Webkit-unassigned] [Bug 69037] New: ASSERT if WebView's UIDelegate does not implement webView:runOpenPanel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 28 16:00:29 PDT 2011


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

           Summary: ASSERT if WebView's UIDelegate does not implement
                    webView:runOpenPanel
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org


If a WebView's UIDelegate does not implement any of the webView:runOpenPanel delegates
then WebChromeClient will ASSERT(!_chooser) when the unused WebOpenPanelResultListener
deallocated. WebKit expects an action (-cancel, -chooseFile:, or -chooseFiles:) to be called
on the listener before its deallocated.

We can either not create the listener if its not needed, or just default to cancel if no delegate is implemented.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list