Commit 92ffa7f8 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Functional Tests: Migration to PDF.js in recent Firefox clears preference to...

Functional Tests: Migration to PDF.js in recent Firefox clears preference to save automatically PDF files to the disk.
parent 4d018ddb
......@@ -241,6 +241,11 @@ user_pref("browser.download.folderList", 2);
user_pref("browser.download.manager.showWhenStarting", false);
user_pref("browser.download.dir", "%s");
user_pref("browser.helperApps.neverAsk.saveToDisk", "application/pdf");
// Otherwise clear previously defined PDF-related extensions
// => browser/extensions/pdfjs/content/PdfJs.jsm:_migrate()
user_pref("pdfjs.disabled", true);
// Not really necessary (just FTR)
user_pref("pdfjs.migrationVersion", 42);
""" % (self.host, self.port,
os.path.join(getConfiguration().instancehome, 'var'))
......
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