From 1c5e3fe3fba4c5b27e28ca249b95a5c4e479b8e5 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Tue, 23 Oct 2007 17:41:44 +0000 Subject: [PATCH] prototype: Fix the test runner for Firefox in Leopard. --- CHANGELOG | 2 ++ test/lib/jstest.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 16b5427..2a7b6bc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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] diff --git a/test/lib/jstest.rb b/test/lib/jstest.rb index 65e4189..0a25bff 100644 --- a/test/lib/jstest.rb +++ b/test/lib/jstest.rb @@ -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