]> granicus.if.org Git - python/commitdiff
Issue #24452: Make webbrowser support Chrome on Mac OS X (backport to 2.7)
authorGuido van Rossum <guido@python.org>
Thu, 13 Oct 2016 20:29:55 +0000 (13:29 -0700)
committerGuido van Rossum <guido@python.org>
Thu, 13 Oct 2016 20:29:55 +0000 (13:29 -0700)
Lib/webbrowser.py
Misc/NEWS

index d3272a0a48ea172f89b6c9a8656b43e06108a4a5..23891796e33b3c6eb0f93bb6eb599d43ef732959 100755 (executable)
@@ -642,6 +642,7 @@ if sys.platform == 'darwin':
     # (but we prefer using the OS X specific stuff)
     register("safari", None, MacOSXOSAScript('safari'), -1)
     register("firefox", None, MacOSXOSAScript('firefox'), -1)
+    register("chrome", None, MacOSXOSAScript('chrome'), -1)
     register("MacOSX", None, MacOSXOSAScript('default'), -1)
 
 
index c68e5f294456d26d619969a9579af8c2167a9b09..d0cc7a6c2a112f604d265af05962b2b480f76ceb 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -55,6 +55,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #24452: Make webbrowser support Chrome on Mac OS X.
+
 - Issue #26293: Fixed writing ZIP files that starts not from the start of the
   file.  Offsets in ZIP file now are relative to the start of the archive in
   conforming to the specification.