Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
All other browsers do this:
Line 173 inf108468
sys.audit("webbrowser.open",url) Line 193 inf108468
sys.audit("webbrowser.open",url) Line 258 inf108468
sys.audit("webbrowser.open",url) Line 348 inf108468
sys.audit("webbrowser.open",url) Line 557 inf108468
sys.audit("webbrowser.open",url)
But, notMacOSXOSAScript:
Lines 576 to 593 inf108468
| defopen(self,url,new=0,autoraise=True): | |
| ifself.name=='default': | |
| script='open location "%s"'%url.replace('"','%22')# opens in default browser | |
| else: | |
| script=f''' | |
| tell application "%s" | |
| activate | |
| open location "%s" | |
| end | |
| '''%(self.name,url.replace('"','%22')) | |
| osapipe=os.popen("osascript","w") | |
| ifosapipeisNone: | |
| returnFalse | |
| osapipe.write(script) | |
| rc=osapipe.close() | |
| returnnotrc |
I think that this needs to be fixed.
Found this while looking at#113539