ports/www/firefox/files/patch-build-pgo-profileserver.py
Florian Smeets ba05efc063 - update firefox to 21.0
- update firefox-esr and thunderbird to 17.0.6
- WEBRTC now supports PULSEAUDIO
- make linux-firefox work with plugins again (e.g. quakelive)

Security:		4a1ca8a4-bd82-11e2-b7a0-d43d7e0c7c02
In collaboration with:	Jan Beich <jbeich@tormail.org>
2013-05-16 02:00:38 +00:00

18 lines
826 B
Python

--- build/pgo/profileserver.py.orig 2011-02-24 21:49:47.000000000 +0100
+++ build/pgo/profileserver.py 2011-02-24 21:50:30.000000000 +0100
@@ -43,13 +43,13 @@ if __name__ == '__main__':
t.setDaemon(True) # don't hang on exit
t.start()
- automation.setServerInfo("localhost", PORT)
+ automation.setServerInfo("127.0.0.1", PORT)
automation.initializeProfile(PROFILE_DIRECTORY)
browserEnv = automation.environment()
browserEnv["XPCOM_DEBUG_BREAK"] = "warn"
browserEnv["MOZ_JAR_LOG_FILE"] = MOZ_JAR_LOG_FILE
- url = "http://localhost:%d/index.html" % PORT
+ url = "http://127.0.0.1:%d/index.html" % PORT
appPath = os.path.join(SCRIPT_DIR, automation.DEFAULT_APP)
status = automation.runApp(url, browserEnv, appPath, PROFILE_DIRECTORY, {},
debuggerInfo=debuggerInfo,