[SVN] r4503

Allan Odgaard throw-away-1 at macromates.com
Tue Jul 25 01:44:36 UTC 2006


• the users preferred browser is read from LaunchServices and only the preferred browser is tested for the requested URL (if running)

This is mainly because WebKit.app (which is really Safari using the nightly WebKit build) has an executable name of Safari but an AppleScript port name of WebKit — so previously if WebKit was running this script would “tell app "Safari"” causing Safari to load (ticket B37FCC1C)

A better solution might be to skip Safari if the preferred browser is WebKit so that this script is also useful for web developers who test pages in different browsers and open/reload in running browsers.

Changed:
U   trunk/Support/lib/browser.rb



More information about the textmate-dev mailing list