summaryrefslogtreecommitdiff
path: root/waterfox/mozilla-1397365-5.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-01-17 12:54:29 +0000
committerB Stack <bgstack15@gmail.com>2019-01-17 12:54:29 +0000
commit27dbc36cc82b176404462d78ebf5dbee9883269f (patch)
tree4d41dc6b1e68b8189170712bc3152ec39dea198d /waterfox/mozilla-1397365-5.patch
parentMerge branch 'palemoon-bump' into 'master' (diff)
parentwaterfox ingest PGO fixes from chinfo (diff)
downloadstackrpms-27dbc36cc82b176404462d78ebf5dbee9883269f.tar.gz
stackrpms-27dbc36cc82b176404462d78ebf5dbee9883269f.tar.bz2
stackrpms-27dbc36cc82b176404462d78ebf5dbee9883269f.zip
Merge branch 'waterfox-bump' into 'master'
waterfox ingest PGO fixes from chinfo See merge request bgstack15/stackrpms!28
Diffstat (limited to 'waterfox/mozilla-1397365-5.patch')
-rw-r--r--waterfox/mozilla-1397365-5.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/waterfox/mozilla-1397365-5.patch b/waterfox/mozilla-1397365-5.patch
new file mode 100644
index 0000000..e361374
--- /dev/null
+++ b/waterfox/mozilla-1397365-5.patch
@@ -0,0 +1,16 @@
+diff -up Waterfox-ff4597172229f8d71940c3885b74b903b7b1821a/build/pgo/profileserver.py.mozilla-1397365 Waterfox-ff4597172229f8d71940c3885b74b903b7b1821a/build/pgo/profileserver.py
+--- Waterfox-ff4597172229f8d71940c3885b74b903b7b1821a/build/pgo/profileserver.py.mozilla-1397365 2019-01-09 13:37:54.237593732 -0200
++++ Waterfox-ff4597172229f8d71940c3885b74b903b7b1821a/build/pgo/profileserver.py 2019-01-09 13:38:59.149417440 -0200
+@@ -67,10 +67,11 @@ if __name__ == '__main__':
+ env['PATH'] = '%s;%s' % (vcdir, env['PATH'])
+ break
+
++ quitterHTML = 'data:text/html,<html><head><script>Quitter.quit();</script></head></html>'
+ # Run Firefox a first time to initialize its profile
+ runner = FirefoxRunner(profile=profile,
+ binary=build.get_binary_path(where="staged-package"),
+- cmdargs=['javascript:Quitter.quit()'],
++ cmdargs=[quitterHTML],
+ env=env)
+ runner.start()
+ runner.wait()
bgstack15