[Webkit-unassigned] [Bug 32867] New: IWebView::initWithFrame fails if OleInitialize has not been called

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 07:05:13 PST 2009


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

           Summary: IWebView::initWithFrame fails if OleInitialize has not
                    been called
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: NeedsRadar, PlatformOnly
          Severity: Normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com


If a WebKit client calls IWebView::initWithFrame without calling OleInitialize,
initWithFrame will fail. This is because initWithFrame treats failure of
RegisterDragDrop as fatal, and RegisterDragDrop fails if OleInitialize hasn't
been called.

See
<http://trac.webkit.org/browser/trunk/WebKit/win/WebView.cpp?rev=52442#L2373>
for where initWithFrame bails in this case.

We should either call OleInitialize automatically for the client, or just
proceed without drag-and-drop support if RegisterDragDrop fails.

-- 
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