Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

fix(mc): Load default sites from a pref that is empty for testing #2743

Merged
merged 1 commit into from
Jun 20, 2017

Conversation

Mardak
Copy link
Member

@Mardak Mardak commented Jun 20, 2017

Fix #2710. r?@k88hudson Use a list of sites stored in the default preferences to initialize the DEFAULT_TOP_SITES array, so testing can set the pref to "" to avoid screenshotting.

@Mardak Mardak requested a review from k88hudson June 20, 2017 04:49
@Mardak Mardak force-pushed the gh2710-defaults branch 2 times, most recently from f84f94e to ee56a35 Compare June 20, 2017 16:53
@mozilla mozilla deleted a comment from coveralls Jun 20, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.252% when pulling ee56a35 on Mardak:gh2710-defaults into 70914b5 on mozilla:master.

Copy link
Contributor

@k88hudson k88hudson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, maybe add that one clarifying comment

@@ -33,6 +33,11 @@ XPCOMUtils.defineLazyModuleGetter(this, "TopSitesFeed",
"resource://activity-stream/lib/TopSitesFeed.jsm");

const PREFS_CONFIG = [
{
name: "default.sites",
title: "Default top sites to fill in behind visited sites",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe as a comma-separated list?

@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.252% when pulling 0d23a69 on Mardak:gh2710-defaults into f99344e on mozilla:master.

@Mardak Mardak merged commit 5e8e570 into mozilla:master Jun 20, 2017
@Mardak Mardak deleted the gh2710-defaults branch June 20, 2017 20:14
@as-pine-proxy
Copy link
Collaborator

Treeherder: 4f227bec7585a7e4487d7da44c5cc7edd2ad5654

@Mardak
Copy link
Member Author

Mardak commented Jun 21, 2017

Woohoo! We have dots on perfherder again! https://mzl.la/2syxIR3

There's a 6% improvement on tp5o, 4% improvement on tsvg_static, and 11% improvement on tart relative to when it last ran on OS X April 24th… ;) (Looks like plenty of progress with quantum flow.)

Also looks like windows10 has replaced windows8 talos runs since May 31st.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants