Bug 68576

Summary: MiniBrowser fails to launch when double-clicked
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: sfalken, webkit-bug-importer
Priority: P2 Keywords: InRadar, PlatformOnly
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Bug Depends on: 68578    
Bug Blocks:    
Attachments:
Description Flags
Turn MiniBrowser into a stub .exe launcher and a .dll that contains all the real code andersca: review+

Adam Roben (:aroben)
Reported 2011-09-21 15:25:31 PDT
To reproduce: 1. Double-click MiniBrowser.exe It doesn't launch. It complains about not being able to find CFNetwork.dll.
Attachments
Turn MiniBrowser into a stub .exe launcher and a .dll that contains all the real code (17.78 KB, patch)
2012-01-04 11:59 PST, Adam Roben (:aroben)
andersca: review+
Radar WebKit Bug Importer
Comment 1 2011-09-21 15:25:57 PDT
Adam Roben (:aroben)
Comment 2 2011-09-21 15:36:14 PDT
It's possible we'll be able to fix this by delay-loading WebKit.dll and setting up the DLL search path before we make any WebKit API calls.
Adam Roben (:aroben)
Comment 3 2011-09-22 09:54:08 PDT
Looks like delay-loading isn't good enough. We're still loading WebKit.dll immediately on launch, which then pulls in CoreFoundation etc.
Adam Roben (:aroben)
Comment 4 2011-09-22 11:48:37 PDT
Since we're going to need a stub launcher for WinLauncher, too (bug 68578), maybe we'll come up with a way to share the launcher code. We might be able to share code with WebKitLauncherWin, too.
Adam Roben (:aroben)
Comment 5 2012-01-04 11:59:29 PST
Created attachment 121133 [details] Turn MiniBrowser into a stub .exe launcher and a .dll that contains all the real code
Adam Roben (:aroben)
Comment 6 2012-01-05 06:58:32 PST
Note You need to log in before you can comment on or make changes to this bug.