prototype: Fix the test runner for Firefox in Leopard.
This commit is contained in:
parent
4dece6b277
commit
1c5e3fe3fb
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue