Skip to content

Conversation

@rubennorte
Copy link
Contributor

Summary: Changelog: [General][Added] Add support for the second parameter of console.table to specify a list of columns to print in the table.

Differential Revision: D67803665

Summary:

Changelog: [internal]

Added basic tests for the current implementation of the `console.table` polyfill (not the CDP implementation).

Differential Revision: D67791579
Summary: Changelog: [General][Fixed] Modified `console.table` to avoid mutating the received argument.

Differential Revision: D67791795
Summary:
Changelog: [General][Changed] Improved formatting of values logged via `console.table` (including Markdown format).

This provides several improvements over the format of tables logged via `console.table`:
* Markdown format for easy integration in existing documents.
* Increased alignment with the spec and Chrome/Firefox implementations:
  * Added index columns.
  * Logged all available columns.
  * Format for all types of values (including objects, functions, etc.).

Differential Revision: D67794858
Summary: Changelog: [General][Added] Add support for the second parameter of `console.table` to specify a list of columns to print in the table.

Differential Revision: D67803665
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Jan 10, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67803665

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 10, 2025
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fd0894b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants