Bug 1242066 - mozscreenshots: Fix snippets to be static for screenshots. r=bgrins
--- a/browser/tools/mozscreenshots/mozscreenshots/extension/TestRunner.jsm
+++ b/browser/tools/mozscreenshots/mozscreenshots/extension/TestRunner.jsm
@@ -70,17 +70,18 @@ this.TestRunner = {
log.info(sets.length + " sets:", setNames);
this.combos = new LazyProduct(sets);
log.info(this.combos.length + " combinations");
this.currentComboIndex = this.completedCombos = 0;
this._lastCombo = null;
// Setup some prefs
- Services.prefs.setCharPref("browser.aboutHomeSnippets.updateUrl", "data:");
+ Services.prefs.setCharPref("browser.aboutHomeSnippets.updateUrl",
+ "data:text/html;charset=utf-8,Generated by mozscreenshots");
Services.prefs.setCharPref("extensions.ui.lastCategory", "addons://list/extension");
// Don't let the caret blink since it causes false positives for image diffs
Services.prefs.setIntPref("ui.caretBlinkTime", -1);
return Task.spawn(function* doStart() {
for (let i = 0; i < this.combos.length;
i++){
this.currentComboIndex = i;