bpo-44059: Register the SerenityOS Browser in the webbrowser module (GH-25947)

Automerge-Triggered-By: GH:gpshead
This commit is contained in:
Linus Groh 2021-05-06 20:01:12 +01:00 committed by GitHub
parent 55b78ce3c4
commit 329a47f052
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -532,6 +532,10 @@ def register_standard_browsers():
# OS X can use below Unix support (but we prefer using the OS X # OS X can use below Unix support (but we prefer using the OS X
# specific stuff) # specific stuff)
if sys.platform == "serenityos":
# SerenityOS webbrowser, simply called "Browser".
register("Browser", None, BackgroundBrowser("Browser"))
if sys.platform[:3] == "win": if sys.platform[:3] == "win":
# First try to use the default Windows browser # First try to use the default Windows browser
register("windows-default", WindowsDefault) register("windows-default", WindowsDefault)

View file

@ -641,6 +641,7 @@ Andrea Griffini
Duncan Grisby Duncan Grisby
Olivier Grisel Olivier Grisel
Fabian Groffen Fabian Groffen
Linus Groh
Eric Groo Eric Groo
Daniel Andrade Groppe Daniel Andrade Groppe
Dag Gruneau Dag Gruneau

View file

@ -0,0 +1 @@
Register the SerenityOS Browser in the :mod:`webbrowser` module.