Skip to content

Commit d3fb125

Browse files
committed
Fix path to firefox on OS X
1 parent 83fc018 commit d3fb125

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev/tests/js/JsTestDriver/run_js_tests.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
} else {
3131
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
3232
$browser = 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe';
33+
} elseif (PHP_OS === 'Darwin') {
34+
$browser = '/Applications/Firefox.app/Contents/MacOS/firefox';
3335
} else {
3436
$browser = exec('which firefox');
3537
}

0 commit comments

Comments
 (0)