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
# specific stuff)
if sys.platform == "serenityos":
# SerenityOS webbrowser, simply called "Browser".
register("Browser", None, BackgroundBrowser("Browser"))
if sys.platform[:3] == "win":
# First try to use the default Windows browser
register("windows-default", WindowsDefault)