Skip to content

Conversation

@aslushnikov
Copy link
Contributor

This patch starts dispatching JSHandle instances as console arguments.
In doing so, we no longer do hops to the page to serialize page arguments, which
removes races between events.

BREAKING CHANGE: this changes the API of the ConsoleMessage.

Fixes #324.

This patch starts dispatching JSHandle instances as console arguments.

BREAKING CHANGE: this changes the API of the ConsoleMessage.

Fixes puppeteer#324.

#### consoleMessage.args
- <[Array]<[string]>>
- <[Array]<[JSHandle]>>
Copy link
Contributor

Choose a reason for hiding this comment

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

FWIW, this link is somehow broken here and in some other places.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vsemozhetbyt thanks, fixed in 3214bb7

@aslushnikov aslushnikov merged commit e6af6e1 into puppeteer:master Oct 10, 2017
@aslushnikov aslushnikov deleted the console-order branch October 10, 2017 00:18
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.

3 participants