Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: configurable blank page options #1732

Merged
merged 1 commit into from
Feb 17, 2017
Merged

feat: configurable blank page options #1732

merged 1 commit into from
Feb 17, 2017

Conversation

patrickhulce
Copy link
Collaborator

addresses parts of #1730
would be used in conjunction with #1731

usage

{
  passes: [
    {passName: "defaultPass", blankPage: "http://google.com", blankDuration: 10000}
    ...
  ]
  ...
}

@@ -158,7 +159,9 @@ class GatherRunner {
* @return {!Promise}
*/
static beforePass(options, gathererResults) {
const pass = GatherRunner.loadBlank(options.driver);
const blankPage = options.config.blankPage;
Copy link
Contributor

Choose a reason for hiding this comment

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

blankPage -> startPage?

Copy link
Collaborator Author

@patrickhulce patrickhulce Feb 16, 2017

Choose a reason for hiding this comment

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

Since blank is how we referred to this concept before and WPT also uses the 'blank' nomenclature, I'd prefer to stick with it, but open to other ideas to make it clearer what's going on here. Any thoughts?

In fact, now that I think about it the page part doesn't make a lot of sense, blankUrl?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yea, not sure. blankStartPageUrl? haha. We should stick with the existing nomenclature though. I wasn't aware of that part.

@paulirish paulirish merged commit 16e24a1 into master Feb 17, 2017
@paulirish paulirish deleted the blank_config branch February 17, 2017 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants