~fitzsim/firefox-javascript-repl

a7ec9132776a6b0049eded996695a97048ae30fa — Thomas Fitzsimmons 8 months ago 8611fa6
Use browse-url-firefox-program for firefox binary

* firefox-javascript-repl.el: Remove architecture column from
compatibility table.  Require browse-url.
(firefox-javascript-repl): Use fully qualified firefox executable
path.
1 files changed, 9 insertions(+), 8 deletions(-)

M firefox-javascript-repl.el
M firefox-javascript-repl.el => firefox-javascript-repl.el +9 -8
@@ 77,13 77,13 @@

;; Compatibility:

;; ╔════════════╦══════════════╦══════════╦══════════════════════╗
;; ║  Test Date ║ Architecture ║ Browser  ║ Version              ║
;; ╠════════════╬══════════════╬══════════╬══════════════════════╣
;; ║ 2023-05-26 ║ ppc64le      ║ Firefox  ║ 102.11.0esr (64-bit) ║
;; ║ 2023-05-26 ║ x86-64       ║ Firefox  ║ 113.0.2 (64-bit)     ║
;; ║ 2023-05-26 ║ x86-64       ║ Abrowser ║ 111.0.1 (64-bit)     ║
;; ╙────────────╨──────────────╨──────────╨──────────────────────╜
;; ╔════════════╦══════════╦══════════════════════╗
;; ║  Test Date ║ Browser  ║ Version              ║
;; ╠════════════╬══════════╬══════════════════════╣
;; ║ 2023-05-26 ║ Firefox  ║ 102.11.0esr (64-bit) ║
;; ║ 2023-05-26 ║ Firefox  ║ 113.0.2 (64-bit)     ║
;; ║ 2023-05-26 ║ Abrowser ║ 111.0.1 (64-bit)     ║
;; ╙────────────╨──────────╨──────────────────────╜

;; Acronyms:



@@ 95,6 95,7 @@
(require 'comint)
(require 'js)
(require 'json)
(require 'browse-url)

(defvar fjrepl--debug nil
  "Non-nil to print debug messages to buffer *fjrepl-debug*.")


@@ 458,7 459,7 @@ localhost (127.0.0.1) TCP port 6000."
           (firefox-process
            (start-process "firefox-javascript-repl"
                           firefox-standard-output-buffer-name
                           "firefox" ; executable binary name
                           (executable-find browse-url-firefox-program)
                           "about:blank"
                           "-profile" profile-directory
                           "-start-debugger-server")))