Commit 9757969e authored by intrigeri's avatar intrigeri
Browse files

Display the Stop/Reload button in Tor Browser: our test suite currently...

Display the Stop/Reload button in Tor Browser: our test suite currently depends on it (refs: #15023)

I could not find another reliable way to tell whether a page has loaded. I've
added a note on #11592 to revert this commit and find a better way, whenever we
work on this (fragile) part of our test suite.
parent 1c2c85fc
......@@ -212,6 +212,10 @@ apply_extension_prefs_hacks() {
# Remove TBB's Tor Launcher settings since we don't enable it in
# our Tor Browser.
sed -i '/extensions\.torlauncher\./d' defaults/preferences/000-tor-browser.js
# Display the Stop/Reload button: our test suite currently depends on it
perl -pi -E \
's/^(pref\("browser.uiCustomization.state",.*\\"loop-button\\")/$1,\\"stop-reload-button\\"/' \
defaults/preferences/000-tor-browser.js
touch --date="@${tbb_timestamp}" defaults/preferences/000-tor-browser.js
rm "${tbb_install}/browser/omni.ja"
7z a -mtc=off -tzip "${tbb_install}/browser/omni.ja" *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment