Skip to content

Conversation

@ebidel
Copy link
Contributor

@ebidel ebidel commented Oct 31, 2017

Fixes #809


If you're seeing other weird errors when launching Chrome, try running the container
with `docker run --cap-add=SYS_ADMIN` when developing locally. Since the Dockerfile
adds a `pptr` user as a non-privileged user, it may not have all the necessary privileges.
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add a reference to dumb-init here - it turned out there's a special treatment for the processes with PID=1, which makes it hard to terminate chrome properly.

Discussed here: #615 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link

@CesarLanderos CesarLanderos left a comment

Choose a reason for hiding this comment

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

This is great!, it took me a couple of days to get to the bottom of this issue a month ago (chrome not running properly on docker) and this is exactly what i did!

<3

@ebidel
Copy link
Contributor Author

ebidel commented Nov 6, 2017

@aslushnikov not sure why travis is unhappy. Looks like there's errors on node utils/doclint/cli.js? That known?

@aslushnikov
Copy link
Contributor

@ebidel should be fixed in a467d35

@joelgriffith
Copy link
Contributor

Might also be a good idea to call out fonts as well. See a lot of issues regarding fonts/unicode characters either not rendering or showing up in a bizarre fashion.

For instance, running:

const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('http://eosrei.github.io/emojione-color-font/full-demo.html');
await page.screenshot({path: 'screenshot.png'});
await browser.close();

On https://try-puppeteer.appspot.com/, results in:
26dbc732-a9b2-47f6-8f12-5ee5bb592cc6

@ebidel
Copy link
Contributor Author

ebidel commented Nov 7, 2017

Thanks. Going to merge this then.

@ebidel ebidel merged commit 9de3449 into puppeteer:master Nov 7, 2017
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.

4 participants