Skip to content

Remove nonstandard "vm" field from modern CDP targets#44835

Closed
huntie wants to merge 1 commit into
facebook:mainfrom
huntie:export-D58285587
Closed

Remove nonstandard "vm" field from modern CDP targets#44835
huntie wants to merge 1 commit into
facebook:mainfrom
huntie:export-D58285587

Conversation

@huntie
Copy link
Copy Markdown
Member

@huntie huntie commented Jun 7, 2024

Summary:
As titled. The vm field is not part of the CDP spec and will not be used by the modern debugger frontend or proxy.

This change affects modern CDP targets only (using InspectorPackagerConnection). We aim to enable sharing of more detailed metadata over 1/ a new, dedicated CDP domain, and 2/ namespaced under the existing reactNative field (for the latter, strictly limited to metadata necessary for dev server functionality).

Changelog: [Internal]

(Note: /json endpoint behaviour is unchanged for legacy CDP targets)

Differential Revision: D58285587

@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 labels Jun 7, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Jun 7, 2024

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 20,249,001 +1
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 23,454,709 -4
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: b0c0bb4
Branch: main

Summary:
Pull Request resolved: facebook#44835

As titled. The `vm` field is not part of the CDP spec and will not be used by the modern debugger frontend or proxy.

This change affects modern CDP targets only (using `InspectorPackagerConnection`). We aim to enable sharing of more detailed metadata over 1/ a new, dedicated CDP domain, and 2/ namespaced under the existing `reactNative` field (for the latter, strictly limited to metadata necessary for dev server functionality).

Changelog: [Internal]

(Note: `/json` endpoint behaviour is unchanged for legacy CDP targets)

Reviewed By: robhogan

Differential Revision: D58285587
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@huntie huntie force-pushed the export-D58285587 branch from 3de6bc5 to 5818b2b Compare June 11, 2024 10:39
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 11, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in d72ac96.

@github-actions
Copy link
Copy Markdown

This pull request was successfully merged by @huntie in d72ac96.

When will my fix make it into a release? | How to file a pick request?

@huntie huntie deleted the export-D58285587 branch September 9, 2024 12:03
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.

3 participants