[Patch #981794] Add support for Firefox/Firebird
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index f8b41e5..4750fe2 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -277,14 +277,15 @@
 
     # X browsers have more in the way of options
     if os.environ.get("DISPLAY"):
-        _tryorder = ["galeon", "skipstone", "mozilla", "netscape",
+        _tryorder = ["galeon", "skipstone",
+                     "mozilla-firefox", "mozilla-firebird", "mozilla", "netscape",
                      "kfm", "grail"] + _tryorder
 
         # First, the Netscape series
-        if _iscommand("mozilla"):
-            register("mozilla", None, Netscape("mozilla"))
-        if _iscommand("netscape"):
-            register("netscape", None, Netscape("netscape"))
+        for browser in ("mozilla-firefox", "mozilla-firebird",
+                        "mozilla", "netscape"):
+            if _iscommand(browser):
+                register(browser, None, Netscape(browser))
 
         # Next, Mosaic -- old but still in use.
         if _iscommand("mosaic"):