Skip to content

Commit

Permalink
Fix referrer test in Firefox Nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwords committed Jul 30, 2021
1 parent 0baf322 commit 2cc262c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/selenium/pbtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ def firefox_manager(self):
ffp.set_preference('extensions.webextensions.uuids', '{"%s": "%s"}' %
(self.info['extension_id'], self.info['uuid']))

# needed for test_referrer_header()
# https://bugzilla.mozilla.org/show_bug.cgi?id=1720294
ffp.set_preference('network.http.referer.disallowCrossSiteRelaxingDefault', False)

for i in range(5):
try:
opts = FirefoxOptions()
Expand Down

0 comments on commit 2cc262c

Please sign in to comment.