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

handle "Google Chrome quit unexpectedly" #4

Open
devtools-bot opened this issue Aug 29, 2017 · 3 comments
Open

handle "Google Chrome quit unexpectedly" #4

devtools-bot opened this issue Aug 29, 2017 · 3 comments
Assignees

Comments

@devtools-bot
Copy link
Collaborator

From @gwuhaolin on June 15, 2017 2:46

Sometime Chrome quit unexpectedly or has no response, chrome-launcher should handle this error and restart a chrome or emit a event to notify developer.

Copied from original issue: GoogleChrome/lighthouse#2503

@devtools-bot
Copy link
Collaborator Author

From @gwuhaolin on June 30, 2017 6:32

I rewrite chrome-launcher with this feature, see chrome-runner.

@devtools-bot
Copy link
Collaborator Author

From @paulirish on June 30, 2017 17:44

Hi @gwuhaolin! Very sorry for not responding to your issue. I really appreciate you filing a ticket. :)

I read your blog post at gwuhaolin/blog#7 and its really interesting. Very cool.

I've been looking at chrome-runner and like what you did with it. 👍 I'd love to help incorporate your improvements back into chrome-launcher, if you're interested.

I was looking at the source and noticed a few things:

how does all that sound?

@devtools-bot
Copy link
Collaborator Author

From @gwuhaolin on July 1, 2017 9:57

@paulirish It's a pleasure to be appreciated by you.😊

I have taken your advice remove flags --disable-suggestions-ui --disable-speech-api in chrome-runner.

chrome-runner's goal is:

  • just a lib to launch chrome, don't mix with other things like lighthouse-logger and ask in chrome-launcher. The advantage is that others project can reuse it without encumbrance.
  • chrome-runner a is separate project not like chrome-launcher is in lighthouse. The advantage is more convenient management and chase issues.

I made a series of chrome related small and reusable tools:
chrome tools

If possible I would be honored to transfer their ownership to the GoogleChrome community, because there are more people in the community who can improve them.

chrome-runner(required node7+) has the advantage of comparison with chrome-launcher:

  • rewrite with less and simple code in javascript by support typescript
  • provide events emit to hook
  • also support chrome-launcher supported options
  • well unit test and used in products to ensure quality
  • well design API and detail doc

If possible to use chrome-runner to replace chrome-launcher in lighthouse, I would like to submit a merge.

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

No branches or pull requests

2 participants