prototype: Fix the test runner for Firefox in Leopard.

This commit is contained in:
Sam Stephenson 2007-10-23 17:41:44 +00:00
parent 4dece6b277
commit 1c5e3fe3fb
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
*SVN*
* Fix the test runner for Firefox in Leopard. [sam]
* Use String#include wherever possible.
* In IE, allow opacity to be set on elements not yet attached to the document. Closes #9904. [Thomas Fuchs, dcpedit, Tobie Langel]

View File

@ -39,7 +39,7 @@ class FirefoxBrowser < Browser
end
def visit(url)
applescript('tell application "Firefox" to Get URL "' + url + '"') if macos?
system("open -a Firefox '#{url}'") if macos?
system("#{@path} #{url}") if windows?
system("firefox #{url}") if linux?
end